[Seaside] Problem with WAScriptTag content escaping, when nested
into a WAScriptTag
Steve Aldred
aldreds at velocitynet.com.au
Wed Oct 15 23:19:13 UTC 2008
Balázs Kósi wrote:
> Hi!
>
> If you try this example:
>
> renderContentOn: html
>
> html div
> id: 'x';
> with: 'foo'.
> html script: (
> html element
> id: 'x';
> update: [ :r | html script: 'alert(1)' ]
Haven't you given two different entities (div & element) the same id?
Ids must be unique or browsers do weird things.
cheers
Steve
More information about the seaside
mailing list