struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hond4 <ho...@gazeta.pl>
Subject Initialize new Form from action
Date Tue, 08 Mar 2005 10:30:14 GMT
Hallo list members,

i'm looking for solution how to create new form in one action for 
another. Here is small example:

         <action
         	path="/Edit"
         	type="..."
         	name="inFormA"
         	validate="false"
         	scope="session">
         	<forward name="view" path="/View.do" redirect="false"> 
   	       	<forward name="edit" path="/edit.jsp" />
         </action>

	<action
         	path="/View"
         	name="idFormB"
         	type="..."
         	validate="false">
           	<forward name="view1" path="/view1.jsp"/>
         	<forward name="view2" path="/view2.jsp"/>
         </action>

i would like to prepare "inFormB" in action "/Edit.do" for action 
"/View.do", based on values in "inFormB". Is it possible with struts?
I've tried to create new inFormB object, but it's not working ;(

Best regards & thnx for help,
H0nd4



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message