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