Have a look here: http://jakarta.apache.org/tapestry/UsersGuide/hivemind.html .

> Ok let's see. I have an @AjaxForm. I'd like to do something like this:
> 
> <form jwcid="@tacos:AjaxForm"
>           delegate="bean:someBean" ... />
> 
> Now, bean:some is not on the page JWC. You're saying I can access a bean 
> definition directly from Hivemind without:
> 
> 1) Declaring a bean in the ".page" file.
> 2) Declaring a bean in the java class.
> 3) Sharing an instantiated bean in an ASO
> 
> ?
> 
> This may seem like laziness. But the problem is that I have to use the 
> same delegate for 30+ forms in my app. Adding
> 'delegate="xxx"' *and* bean definitions for every one of them is wasteful.
> 
> -- 
> Ing. Leonardo Quijano Vincenzi
> DTQ Software
> 
> 
> Jesse Kuhnert wrote:
> > But that's my point. You don't need to define them in JWC / 
> Page files. The
> > fact that it's allowed at all seems like just a convenience. If I were
> > designing for future abilities I would put the defs in my 
> hivemind config.
> >
> >   
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to