Thiago H. de Paula Figueiredo wrote:
> 
> They're not mutually exclusive. They are just different ways to receive  
> parameters. Which one to use is all about the URLs.
> 
> Suppose the page that will receive the request is named "process":
> 
> www.example.com/process/parameter1/parameter2/parameter3: use onActivate
> www.example.com/process?parameter1=1&parameter2=2: use
> Request.getParameter
> www.example.com/process/parameter1/parameter2?parameter3=3: use both!  
> onActivate to get parameters 1 and 2 and Request.getParameter to get  
> parameter 3.
> 
> 

Thiago, 

I know this thread is old, but I had a related question.  If I submit a form
to a response page, what method can be used in the response page to redirect
to a URL like your "use both!" example?  i.e. How can I append
"?parameter3=3&parameter4=4..." to the end of the context when redirecting
after POST?

The idea is to keep the Tapestry onPassivate URL context for real objects,
but allow optional, unordered parameters to be defined in a GET-style
parameter list.  Is this possible in Tapestry?  Thanks!
-- 
View this message in context: 
http://www.nabble.com/-T5--Handle-post-from-external-application-tp21008825p25531337.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to