cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Gallardo Rivera <agalla...@agsoftware.dnsalias.com>
Subject Re: Changing parameters of request inside Action
Date Mon, 07 Oct 2002 03:10:06 GMT
Thanks. I will try in another way:

1-generate a random key - I will generate at the request time from the XSP.
2-Create a timestamp - Like above.
3-Validate a code numer based on the category of the selected product - 
Validate in an action.

Thanks.

El Domingo, 06 de Octubre de 2002 20:59, Ryan Agler escribió:
> I am not sure how to alter request parameters, but I do know you can
> set/change request attributes.  So, If you had an action with a
> statement like request.setAttribute("myAtt","10"), and then you could
> call request.getAttribute("myAtt") from subsequent actions or xsp.
>
> -----Original Message-----
> From: Antonio Gallardo Rivera [mailto:agallardo@agsoftware.dnsalias.com]
>
> Sent: Sunday, October 06, 2002 8:48 PM
> To: cocoon-users@xml.apache.org
> Subject: Changing paramaters of request inside Action
>
> Is posible to change parameters request inside an Action?
>
> I need to set some parameters before insert into the database.
>
> For example:
> 1-generate a random key
> 2-Create a timestamp
> 3-Validate a code numer based on the category of the selected product
> after
> the user select a product and write a number.
>
> Thanks in advance, :)
>
> Antonio Gallardo
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message