Hi,

  I have copied the following <action-mappings> & <tiles-definitions> for
ur kind reference.

1)
<action-mappings>
           <!-- Default "Welcome" action -->
          <action  path="/Welcome1"   forward="welcomepage"/>

    <action  path="/inbox"   forward="inboxpage"/>
    <action  path="/compose"   forward="composepage"/>

       <action   path="/some"    name="InfoForm"
type="InformationAction"      scope="request"     validate="true"
input="/jsp/compose.jsp">
           <forward name="next" path="resultpage"/>
       </action>
   </action-mappings>
2)

<tiles-definitions>

   <definition name=".mainLayout" path="/templates/main_layout.jsp">
       <put name="title" value="Testing Page 1 Title"/>
       <put name="header" value="/jsp/header.jsp"/>
       <put  name="menubar" value="/jsp/menubar.jsp"/>
       <put name="newsupdates" value="/jsp/newsupdates.jsp"/>
       <put name="body"  value="/jsp/body.jsp"/>
       <put name="footer"  value="/jsp/footer.jsp"/>
   </definition>

  <definition name="welcomepage" extends=".mainLayout">
       <put name="title" value="This is Welcome Page"/>
   </definition>

  <definition name="inboxpage" extends=".mainLayout">
       <put name="title" value="This is Inbox Page"/>
       <put name="body" value="/jsp/inbox.jsp"/>
   </definition>

  <definition name="composepage" extends=".mainLayout">
       <put name="title" value="This is Compose Page"/>
       <put name="body" value="/jsp/compose.jsp"/>
   </definition>

   <definition name="resultpage" extends=".mainLayout">
       <put name="title" value="This is Result Page"/>
       <put name="body"  value="/jsp/result.jsp"/>
   </definition>

  </tiles-definitions>

Regards
Rauf Khan

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

Rauf Khan ha scritto:
> For *body* i have a registration form, for which iam validating using
> validator frame. For which the code is given below. When i enter only
> numbers in the password field it works fine & the *resultpage* will be
> displayed & ALSO the page will be in the tiles(body) only. Suppose if i
> enter characters in the password field its not displaying msg "please
> enter
> only numbers"  (ComposeForm.password.valid) & ALSO the *resultpage *is
> coming out of the tiles & displays as a single page.

If I understood you well, if the value of the password is correct, it
will display the correct page (with header, footer, etc.). When it is
wrong it will display only the body part.
But to tell you a solution, please post your action mapping (with
forwards) and all Tiles definitions involved (if any).

Ciao
Antonio

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


Reply via email to