[Seaside] [FIX] liverUpdate JavaScript problem

Avi Bryant avi.bryant at gmail.com
Fri Jan 7 19:04:22 CET 2005


On Fri, 7 Jan 2005 12:59:28 -0500, Pennell, David <DPennell at quallaby.com> wrote:
> > That's a lot more than I expected too.  The intent was to go from the
> > first open tag with an id to the last close tag for the same element.
> > I think the problem is in the ".*?id" - it should be something like
> > [^>]*?id so that it can't cross tags.
> 
> Yes - I tried that version and it works, but ends up being more
> restrictive in that it will stop at the first close tag that matches the
> one with the id.

Hm - why?  Shouldn't it be greedy and go until the last one?  What am I missing?

Avi


More information about the Seaside mailing list