[Seaside] state of the aubergine
Nevin Pratt
nevin@smalltalkpro.com
Mon, 22 Apr 2002 22:44:12 -0600
Avi Bryant wrote:
>On Mon, 22 Apr 2002, Nevin Pratt wrote:
>
>>Assuming a <img src="@path/foo.jpg"> example, where the docRoot of the
>>seaside app is set to: "http://www.test.com/", it looks like it is
>>trying to bind to a 'foo' instance variable, because it results in a
>>walkback with message <Could not find value for key "foo">.
>>
>
>Aha. So what's going on here is that each IAElement subclass is being
>asked whether they want that tag. Now, IAImage grabs <img> tags
>and IARepeat grabs anything with a / in the id. What must be happening
>is that IARepeat is being asked first. We need to find some better
>way of ordering this (for example, matches on tag take precedence over
>matches on attributes) so these sorts of things don't happen.
>
>_______________________________________________
>
Yes, I remember seeing the IARepeat thing in the debugger.
Nevin