here is the template page:
<%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %>

<template:insert template='/TicketTemplate.jsp'>
  <template:put name='title' content='Home' direct='true'/>
  <template:put name='mainMenu' content='/editRedistration.do'/>
  <template:put name='content' content='/test/testDone.jsp'/>
</template:insert>

here the structs-config.xml
   <!-- Registration form bean -->
   <form-bean      name="registrationForm"
        type="org.kev.view.form.user.RegistrationForm"/>

<!-- Save user registration -->
   <action   path="/editRegistration"
      type="org.kev.view.user.EditRegistrationAction"
      name="registrationForm"
      scope="session"
      input="/admin/UserEdit.jsp"
      validate="true">
     <forward name="success"                  path="/input.jsp"/>
</action>
I would like to be call the SaveRegistrationAction class before displaying the 
="/admin/UserEdit.jsp page.  Can this be done?  Or am I missing somthing?

I can not get any template page to call any action class.  I can only get the 
templates to work with a jsp or html file.

Is there a work around to get this to work if it can not be done?

Kevin Scott


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

Reply via email to