Richard-
this is the AJAX doctype declaration from src/main/resources/struts-ajax.xml
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
If you reference the URL you will see 4 distinct elements
<!ELEMENT struts (package|include|bean|constant)*>
Each element contains their own attribute list e.g.
<!ELEMENT result-type (param*)>
<!ATTLIST result-type
name CDATA #REQUIRED
class CDATA #REQUIRED
default (true|false) "false">
Did you have a question?
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and Sender does not
endorse distribution to any party other than intended recipient. 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: [email protected]
> To: [email protected]
>
> 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 it possible?
>
>
> Thanks
>
> Rich
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
_________________________________________________________________
Windows Liveā¢: E-mail. Chat. Share. Get more ways to connect.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_allup_explore_012009