We are currently investigating using both Struts and Tiles.

The struts-config is as follows:

     <form-bean name="portfolioNameSearch" 
type="org.apache.struts.validator.DynaValidatorForm">
      <form-property name="nametype" type="java.lang.String"/>
      <form-property name="surname" type="java.lang.String"/>
      <form-property name="firstname" type="java.lang.String"/>
      <form-property name="dob" type="java.lang.String"/>
      <form-property name="postcode" type="java.lang.String"/>
    </form-bean>
    <action path="/portfolio/namesearch"
            type="au.com.zurich.adviser.portfolio.action.NameSearch"
            name="portfolioNameSearch"
            scope="session"
            input="nameSearch">

      <forward name="success" path="nameSearch"/>
    </action>

where nameSearch is a tiles definition

If we call the URL host/app/portfolio/namesearch.do the form (generated by tiles) is 
validated initially (which we don't want).
If we were to use JSP instead of tiles this can be avoided by initially calling the 
jsp directly.

It is possible to use host/app/portfolio/namesearch.do without validating initially.

Any thoughts, thanx in advance..Paul


------------------------------------------------------------------------This email is 
intended for the named recipient only. The informationcontained in this message may be 
confidential, or commerciallysensitive. If you are not the intended recipient you must 
not reproduceor distribute any part of the email, disclose its contents to any 
otherparty, or take any action in reliance on it. If you have received thisemail in 
error, please contact the sender immediately.  Please deletethis message from your 
computer.------------------------------------------------------------------------

Reply via email to