philippe.marschall at gmail.com
Sat Jan 26 19:27:16 UTC 2008
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.
Seaside-Tests-pmm.21 has a test for this bug:
assert: [ :html |
add: 'true & false' ]
> The only solution i found up to now, is to override the encodeOn: method in
> 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
More information about the seaside