FYI :
Compose page is the page that iam trying to validate, thats the reason i
have written there.
compose.jsp
--------------------

<%@ taglib uri="/tags/struts-html"  prefix="html" %>

<html:html>
<body>
<br>
<h1>COMPOSE PAGE</h1>
<br>
<html:form action = "/some" method= "post" onsubmit="return
validateInfoForm(this);">
   Name :&nbsp; <html:text property="fname" /><BR>
   Password :  &nbsp; <html:password property="password" /><BR>
   Email : &nbsp; <html:text property="email"  /><BR>
<html:submit/>

<!-- Begin Validator Javascript Function-->
<html:javascript formName="InfoForm"/>
<!-- End of Validator Javascript Function-->

</html:form>
</body>
</html:html>



On 7/28/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote:

Rauf Khan ha scritto:
>        <action   path="/some"    name="InfoForm"
> type="InformationAction"      scope="request"     validate="true"
> input="/jsp/compose.jsp">
>            <forward name="next" path="resultpage"/>
>        </action>

The problem is in the "input" attribute: you have to put either
"composepage" (the name of the definition, I am not sure if it works) or
a JSP page inclusing the "composepage" definition, via the <tiles:insert
definition="composepage"> tag.
"/jsp/composepage.jsp" seems to be the body, not the complete page, am I
right?

HTH
Antonio


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


Reply via email to