Re: Twitter Bootstrap examples working on Seaside 3.1 squeak?

Tobias Pape <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
> On 14.03.2018, at 00:58, gettimothy <[email protected]> wrote:
> 
> Interesting...
> 
> The Examples "Work" but only after the debugger is entered and you hit "proceed".
> 
> Error is:
> 
> 
> MessageNotUnderstood: TBSBadgeExample class>>methodNamed:
> 

Looks like a non-portable message to me.

This should work
either 
	TBSBootStrapExample class>>methodNamed: aString 
		^ self  compiledMethodAt: aString
or
	TBSBootStrapExample class>>methodNamed: aString 
		^ self  >> aString


>  
> 
> 
> Where TBSFoo (in this case TBSBadgeExample) is a subclass of TBSBNootStrapExample
> 
> hmm...ok..was able to get rid of the DNS by adding two class methods to TBSBootstrapExample
> 
> 
> TBSBootStrapExample>>methodNamed: aString  "just a comment in the empty method"
> 
> 
> and
> 
> 
> TBSBootStrapExample>>sourceCode ^'foo';

Here, make an extension method in CompiledMethod (5.1) or CompiledCode (Trunk)

CompiledMethod>>sourceCode
	^ self getSource

Best regards
	-Tobias
> 
> Of course, the source code for each example is "foo" ...which may not work in all cases, but its a start.
> 
> I will keep digging.
> 
> 
> 
> 
> 
> _______________________________________________
> seaside mailing list
> [email protected]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.