[Seaside] Twitter Bootstrap examples working on Seaside 3.1 squeak?
Tobias Pape
Das.Linux at gmx.de
Wed Mar 14 00:27:09 UTC 2018
> On 14.03.2018, at 00:58, gettimothy <gettimothy at zoho.com> 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
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the seaside
mailing list