On 9/22/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> what do you mean inspect? the attribute modifier itself can perform the
> attribute replacement/i18n, why should this be any different then regular
> ams - excpet that this one is stateless/singleton. statelesness is a
> property of the behavior.
>
> the reason requiredvalidator.instance() is gone is that required validator
> itself is gone, there is nothing stopping you from sharing behaviors that
> are meant to be stateless across component instances.

Huh? We are talking about different things here. If you read back a
couple of posts you'll see Juergen say:

> What if the Message markup filter (which is only executed when the
> markup is loaded) were able to add a stateless attributemodifier to
> the component tag and that AM gets automatically attached to the
> component at render time.

I was talking about how a behavior would automatically get attached to
components. In order to achieve that, I think the render process
should somewhere inspect the tags and recognize there are behaviors to
be attached. Note the 'I *think*' part, as I was asking Juergen
whether that was what he had in mind.

Eelco

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to