You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by sales <sa...@digiatlas.net> on 2005/03/01 11:56:35 UTC

Re: getVisit() throws NullPointerException

> Why accessing visit in initialization phase at all? I tried to pass an argument
> from one page to another by (mis-)using the visit object. So the baseline
> question would be: Is there a more appropriate approach to pass arguments?
> 


Why not just call a method on the page from the other and set it that way?

dd


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


Re: getVisit() throws NullPointerException

Posted by Jens <wo...@gmx.de>.
sales <sales1 <at> digiatlas.net> writes:

> 
> > [...] So the baseline
> > question would be: Is there a more appropriate approach to pass arguments?
> > 
> 
> Why not just call a method on the page from the other and set it that way?
> 

That does the trick, thanks!
Jens



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