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.

-Igor


On 9/22/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
either the component or I prefer to say the render process.

Juergen

On 9/22/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> So components would inspect their component tags to see whether there
> are static behaviors to attach?
>
> Eelco
>
>
> On 9/22/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> > I think you can still bind a component to it. What I mean with
> > stateless AM is when you create (new) the AM only once and you are
> > able to reuse it as often as you want. E.g. we used to have some
> > RequiredValidator.getInstance() before we refactored it.
> >
> > Juergen
> >
> > On 9/22/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > > I think behaviours/attribute modifiers could be stateless or reused
> > > as long as it doesn't do something or depends in this method:
> > >
> > > IBehaviour    void bind(Component component);
> > >
> > > johan
> > >
> > >
> > >
> > >
> > >  On 9/22/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > > > On 9/22/06, Juergen Donnerstag < [EMAIL PROTECTED]> wrote:
> > > > > 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. That would mean basically no overhead at
> > > > > runtime.
> > > > > Because the very same AM gets re-used for all compent tags with
> > > > > wicket:message attribute it must be stateless.
> > > >
> > > > That sounds awesome. As general functionality too... attaching
> > > > statelss AMs. This is not something that exists today right? Or did I
> > > > miss something (again)?
> > > >
> > > > 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
> > > >
> > >
> > >
> > > -------------------------------------------------------------------------
> > > 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
> > >
> > >
> > >
> >
> > -------------------------------------------------------------------------
> > 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
> >
>
> -------------------------------------------------------------------------
> 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
>

-------------------------------------------------------------------------
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

-------------------------------------------------------------------------
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