philippe.marschall at gmail.com
Sat Jan 26 20:53:34 UTC 2008
Fixed in Seaside-Core-lr.44. Geez that was fast, thanks Lukas.
2008/1/26, Philippe Marschall <philippe.marschall at gmail.com>:
> 2008/1/26, Gerhard Obermann <obi068 at gmail.com>:
> > without doing a callback.
> > I tried the following code:
> Right, we need the same hacks that we currently have for <script> in
> the body in the head as well.
> Issue created:
> Seaside-Tests-pmm.21 has a test for this bug:
> assert: [ :html |
> add: 'true & false' ]
> gives: '<title></title><script
> > this
> > The only solution i found up to now, is to override the encodeOn: method in
> > WAScriptElement
> > encodeOn: aDocument
> > aDocument openTag: self tag attributes: attributes closed: self isClosed.
> > self isClosed ifTrue: [ ^ self ].
> > self childrenDo: [ :each | aDocument nextPutAll: each].
> > aDocument closeTag: self tag
> If this functionality is critical for you and you can't put the script
> in an external file then this quick hack should work. Note however
> that your page is unlikely to validate against XHTML. You can change
> your doctype to HTML if validation is important to you.
> > btw: i am using seaside 2.9
> > cheers Gerhard
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the seaside