struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjay Choudhary <java...@yahoo.com>
Subject In Titles FormAction is not called.
Date Wed, 24 Apr 2002 21:26:34 GMT
Hi guys,

I am problem with calling the FormAction when I submit
my form. 

When I run my application it works fine but on submit
it doesnot call the formAction class. 

Any help is appreciated.

I have the following configuration in my tilesconfig
file

<definition name="fda.masterPage"
path="/layouts/classicLayout.jsp">
<put name="title"  value="Funds Disbursement
Allocation" />
	  <put name="header" value="/header1.jsp" />
	  <put name="menu"   value="fda.menu.bar" />
	  <put name="footer" value="/footer.jsp" />
	  <put name="body"   value="/layouts/body.jsp" />
  </definition>
  
  <definition name="fda.menu.bar"
path="/layouts/vboxLayout.jsp">
	<putList name="list" >
	   <add value="fda.menu.links" />
	</putList>
  </definition>

  <definition name="fda.menu.root"
path="/layouts/submenu.jsp"  >
  </definition>


  <!-- FDA maintainence menu definition -->

  <definition name="fda.menu.links"
extends="fda.menu.root">
	<put name="title" value="FDA Maintainence" />
	<putList name="items" >	
	    <add value="Create New FDA" />
	</putList>
	<putList name="links" >
	    <add value="/fdadetail.jsp" />             
	</putList>

         .
         .
         .

  </definition>

  <definition name="fda.neweditPage" 
extends="fda.masterPage">
	  <put name="title"  value="FDA" />
	  <put name="body"   value="fda.newedit.body" />
  </definition>                           

  <definition name="fda.newedit.body" 
path="/layouts/columnsLayout.jsp">
	  <put name="numCols" value="1" />
	  <putList name="list0" >
		<add value="/bodyTabs1.jsp"/>
		<add value="/delegateIds.jsp"/>
	  </putList>
  </definition>                 


In my JSP I have fdadetail.jsp with following lines

<%@ taglib uri="/WEB-INF/tiles.tld" prefix="tiles" %>

<tiles:insert definition="fda.neweditPage"
flush="true" />


In delegateIds.jsp 

I have 
...
..
..

<html:form
action="/delegatordelegatename.do?action=save">
....
...
..
<TD align="center"><INPUT type="submit"
name="test"/></TD>
</html:form>
..
..

struts-config.xml
<form-beans>
	<form-bean name="FDAForm"
type="org.kp.struts.form.action.beans.FDAForm"/>      
  </form-beans>

<action   path="/delegatordelegatename" 
type="org.kp.struts.form.action.FDAAction"
               name="FDAForm"
               input="/fdadetail.jsp"
              scope="session">
    </action>  

Thanks,
Sanjay


         

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

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


Mime
View raw message