[Seaside] Re: I reported an error in error list - it was incorrectly classified as 'ignored'

Lukas Renggli renggli at gmail.com
Sat Feb 12 19:01:51 UTC 2011


One thing is certain in the presented code example: It cannot work
because of duplicated IDs.

Lukas

On 12 February 2011 19:48, Fritz Schenk <intrader.intrader at gmail.com> wrote:
> Thank you Bob and Avi,
>
> Indeed an earlier version of the code had the '#' in '#external_links a'. I
> messed it up while trying various things.
> The code
> <code>
> renderContentOn: html
>        1 to: 5 do: [ :x |
>                (html div)
>                        id: 'external_links';
>                        with: [
>                                                (html anchor)
>                                                        callback: [ x inspect ];
>                                                        with: x ] ].
>        1 to: 5 do: [ :x |
>                (html div)
>                        id: '\"external_links\"';
>                        with: 'just some content' ].
>        (html button)
>                onClick:
>                   ((html jQuery expression: '#external_links a') onClick: 'return
> confirm("You are going to visit: "+ this.href)');
>                with: 'Attach Click'
> </code>
> does not work on account of something wrong with the handling of quotes. When I
> click on one of the link, the Inspector pops up immediately - the confirm
> should trigger first.
>
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



-- 
Lukas Renggli
www.lukas-renggli.ch


More information about the seaside mailing list