I put it in "validate" method because this parameters must be readed when the
form is submited. And when the form is submited the validate method is
called.

 

Igor Vlasov wrote:
> 
> Hello 
> 
> In my form i have common parameters like <s:textfield
> name="searchData.nights" maxlength="2" size="2" />
> 
> and some "dynamic" parameters - inputs added throw Javascript Code.
> 
> For common parameters i have ParametersInterceptor. It puts values in
> "searchData" object properties.
> Then i want to add array of "dynamic" properties to my "searchData"
> object. I use a "request" object and my bussiness method
> "collectDypaParams". I call method "collectDypaParams" in "execute"
> method.
> 
> But, there is a problem !!!
> 
> When any validation error occures, the "execute" method do not called and
> therefore "collectDypaParams" do not called.
> 
> In postback form the "dynamic" paremeters values are not show!!!
> 
> Question.
> 
> Where to call "collectDypaParams"?
> 
> May be in "prepare" method ?
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Dynamic-form-parameters-and-validation-workflow-interceptor--tf4624997.html#a13228174
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to