Hi,
 

 
in Wicket 8.x an Ajax response prepares all components beforehand and only then 
renders all components afterwards.
 

 
Simplest fix would be overwriting #onRender() and let it call rendered() on 
your fake input instead.
 

 
I'd suggest to skip that unnecessary input altogether - just let your 
#isTokenValid() query the request parameter directly:
 

 
 getRequest().getRequestParameters().getParameterValue(tokenId).toString()
 

 
Much simpler IMHO
 

 
Have fun
 
Sven
 

 
 

 
 
 
 
 
>  
> On 13.05.2019 at 09:26,  <Ravi>  wrote:
>  
>  
>  Hi Sven, sure thing, here it is. Thanks! Ravi secure-form-example1.zip -- 
> Sent from: 
> http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html 
> --------------------------------------------------------------------- To 
> unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional 
> commands, e-mail: users-h...@wicket.apache.org 
>  
     

Reply via email to