struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Rodriguez Lopez <alo...@flordeutopia.pt>
Subject Re: Master-details JSP with Validation xml
Date Wed, 13 Oct 2010 09:51:58 GMT
Why is the params-prepare-params not in the default stack / behavior 
already? I think one of the first things S2 gets really useful at is the 
params / prepare stuff and a LOT of people keeps asking the same 
question, and getting the same answer "use the params-prepare-params 
stack". Any reasons this shouldn't be already the default?

Regards,

Alex

Dave Newton, 12-10-2010 18:32:
> It does if you use the prepare params prepare stack.
>
> On Tuesday, October 12, 2010, cellterry<cellterry@gmail.com>  wrote:
>>
>> At Preparable timing it does not have the customer data (customer=null) so
>> that I cannot retrieve warehouse information by customer ID.
>>
>> Terry.
>>
>>
>> Dave Newton-6 wrote:
>>>
>>> Ugh, implementing Prepareable seems more palatable to me than throwing
>>> the same logic into somethingnthat returns the inputnresult name.
>>>
>>> Dave
>>>
>>> On Tuesday, October 12, 2010, cellterry<cellterry@gmail.com>  wrote:
>>>>
>>>> Thank you.
>>>>
>>>> This helps to solve the problem,, Li Ying.
>>>>
>>>> Terry.
>>>>
>>>>
>>>> Li Ying-2 wrote:
>>>>>
>>>>> Hi cellterry:
>>>>>
>>>>> I think your problem is very general.
>>>>>
>>>>> What you need is a chance to reload some data, when the
>>>>> validation get failed and the page is displayed again.
>>>>>
>>>>> I think this document can help you:
>>>>> http://struts.apache.org/2.2.1/docs/inputconfig-annotation.html
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/Master-details-JSP-with-Validation-xml-tp29940574p29942596.html
>>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
>>>
>>
>> --
>> View this message in context: http://old.nabble.com/-Solved--Master-details-JSP-with-Validation-xml-tp29940574p29945347.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>

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


Mime
View raw message