You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by marc <wd...@wilson.dk> on 2005/07/07 16:16:27 UTC

Using the common validator with velocity and tiles

Im using the jakarta common validator in my struts project combined with 
velocity and tiles.

But have a little problem.

I have maked a form, this form is being call from a action. In the 
action I put two arrays in the request. The arrays I use to populate 
some fields in the form.
Here comes my problem: If I put something wrong in a field that is being 
validated, im being pointed back to the form(for cause), but now the 
fields that I populated har emty. And thats because the two arrays are 
not in me request, for cause. It works if I put the arrays in my 
session, but I dont what it in me session.

If I used JSP I could just make the two arrays in the JSP, but now im 
using velocity.

Anybody have a good, nice and simply solution to this??


Regards

//Marc


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