Richard Sayre wrote:
The validate method comes from com.opensymphony.xwork2.Validateable
and is implemented by com.opensymphony.xwork2.ActionSupport.
The API description from each is :
void validate()Performs validation.
void validate() A default implementation that validates nothing.
Subc
On Thu, Jan 22, 2009 at 11:12 AM, Dave Newton wrote:
> Richard Sayre wrote:
>>
>> First I wrote a method called validate. At this point I found out
>> that I was overriding the ActionSupport method. When I tried to find
>> more information on this method I couldn't. When I search for XWork
>> o
Richard Sayre wrote:
First I wrote a method called validate. At this point I found out
that I was overriding the ActionSupport method. When I tried to find
more information on this method I couldn't. When I search for XWork
or Struts 2 validation I always get the XML or Annotated validation.
T
Here is a solution I came up with so far. I wrote an action to
validate. This calls my validateData() method.
I Used the JSON plug in to return the fieldsErrors collection to dojo.
Here is some javascript:
Please note when looking at this that I have modified the original
template that displa
Martin Gainty wrote:
Richard-
this is the AJAX doctype declaration from src/main/resources/struts-ajax.xml
http://struts.apache.org/dtds/struts-2.0.dtd";>
If you reference the URL you will see 4 distinct elements
Each element contains their own attribute list e.g.
Did you have a question?
ecipient. Sender does
not necessarily endorse content contained within this transmission.
> Date: Thu, 22 Jan 2009 07:45:13 -0330
> Subject: AJAX Valiadation in 2.0.x
> From: richardsa...@gmail.com
> To: user@struts.apache.org
>
> I am following this article to get Ajax val
I am following this article to get Ajax validation working.
http://www.javaworld.com/javaworld/jw-10-2008/jw-10-struts2validation.html?page=1
I was wondering if it is nessessary to use the XML for validation with
Ajax? I was hoping to use some validation on the server side action
to do this. Is
7 matches
Mail list logo