You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Reinhold Gruber <R....@deltavista.com> on 2011/09/20 16:14:03 UTC

PageLink page-Parameter

Hi, 
 
I would found it rather usefull if if the page Parameter of PageLink
would also accept a page-class or an injected and configured page
instance (so that the activation context could be calculated from
onPassivate()). 
 
Regards,
Reinhold

Re: PageLink page-Parameter

Posted by trsvax <tr...@gmail.com>.
FYI: Since link creation runs off the page names

@InjectPage
private Page page1

@InjectPage
private Page page2

really refer to the same object. Because of this onPassivate returns the
same values for page1 and page2. So I think without some internal changes
you can't really implement what is described above. I'm not sure that's
really a problem because you can just just the context parm instead.

--
View this message in context: http://tapestry.1045711.n5.nabble.com/PageLink-page-Parameter-tp4822711p4830269.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org