how is your dispatcher contributed?

if it only works on the first request and not on the 
second request your dispatcher is probably  not 
contributed to the right location.

you can also use the ComponentEventLinkEncoder service
to determine whether you have a page render or component
event request.

g,
kris







Jux <j...@hot.ee> 
12.02.2010 10:21
Bitte antworten an
"Tapestry users" <users@tapestry.apache.org>


An
users@tapestry.apache.org
Kopie

Thema
Re: Post parameters get removed from Request object








In my .tml I have a <t:form> element and inside that I have a custom
component that just writes html:
<input value="1265966234264" id="requestCode" name="requestCode"
type="hidden">
That component is not binded with any value object (web form object).

The Dispatcher has a method:
dispatch(Request request, Response response)
and inside that I just ask that parameter:
String value = request.getParameter("requestCode")

Sometimes i get the value is null, sometimes I get the expected result.




kristian.marinkovic wrote:
> 
> hi,
> 
> can you post some code?
> how is your dispatcher contributed?
> 
> 
> g,
> kris
> 
> 
> Jux <j...@hot.ee> 
> 12.02.2010 09:58
> Bitte antworten an
> "Tapestry users" <users@tapestry.apache.org>
> 
> 
> An
> users@tapestry.apache.org
> Kopie
> 
> Thema
> Post parameters get removed from Request object
> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Post-parameters-get-removed-from-Request-object-tp27560511p27560759.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