I'm quite new to struts and try to use struts-layout
(http://struts.application-servers.com/).
Now, I've made a form :
<layout:form align="center" action="/myaction.do" reqCode="create">
and inside the form a number of buttons :
<layout:formActions>
<layout:submit mode="N,N,D" reqCode="create">Ny</layout:submit>
<layout:submit mode="N,D,N" reqCode="edit">Edit</layout:submit>
</layout:formActions>
this works fine !
BUT inside the form is a list of items with a link back to the same page + a
key-parameter
<layout:collectionItem title="Action" param="pid"
url="/acme/myaction.do?reqCode=edit&pid=">Edit
</layout:collectionItem>
this works too, but i get a new instance of my form-bean and loose all my
data,
How can my collectionItem perform an action just like the submit-button ?
regards
//H�kan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]