Just wanted to make sure my email reached the full users' list. I
still havent been able to make any progress on this. Has anyone got
the DWRValidator working in Struts 2.1?

On 4/24/09, j alex <strutstwou...@gmail.com> wrote:
> Martin,
>
> I want DWRServlet to handle only the Action validations, not Action
> execution. I'm invoking the validator.doPost() when user tabs off a field
> in
> order to validate the entered data.
>
> I couldn't find the example you are referring to in
> http://struts.apache.org/2.1.6/docs/tutorials.html . Could you please tell
> me a specific link ?
>
> Thanks
> s2user
>
>
>
> On Fri, Apr 24, 2009 at 7:50 PM, Martin Gainty <mgai...@hotmail.com> wrote:
>
>>  who handles the action execution DWRServlet or
>> StrutsPrepareAndExecuteFilter?
>>
>> If you want to use DWRServlet to handle action execution you are better
>> off
>> just using StrutsPrepareFilter to prepare the request as in this example
>>
>>
>> http://struts.apache.org/2.1.6/struts2-core/apidocs/org/apache/struts2/dispatcher/ng/filter/StrutsPrepareFilter.html
>>
>> web.xml entry
>>     <filter>
>>         <filter-name>struts-prepare</filter-name>
>>
>> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter</filter-class>
>>         <init-param>
>>             <param-name>actionPackages</param-name>
>>             <param-value>org.apache.struts2.showcase.person</param-value>
>>         </init-param>
>>     </filter>
>>
>> There is a very good example of StrutsPrepareFilter functionality working
>> in combination with DWRServlet in struts2-showcase tutorial located at
>>
>>
>>
>

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

Reply via email to