Struts and Tiles
"Paul Caruana" <[email protected]> Thu, 21 Nov 2002 14:46:33 +1100
| Newsgroups | gmane.comp.web.mvc.devel |
|---|---|
| Message-ID | <OF1616050C.69BEA4F4-ONCA256C78.00122F13__16929.8871689991$1037851383@zurich.com> |
----=_NextPart_ST_14_46_37_Thursday_November_21_2002_32644
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
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
To unsubscribe from this group, send an email to:
[email protected]
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
----=_NextPart_ST_14_46_37_Thursday_November_21_2002_32644
Content-Type: text/plain;
name="Disclaimer.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="Disclaimer.txt"
------------------------------------------------------------------------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.------------------------------------------------------------------------
----=_NextPart_ST_14_46_37_Thursday_November_21_2002_32644--