Hi,
 
i have two forms nested in the following way :
 
<html:form action="album.do">
<html:hidden property="action" value="deletePhotoList" />
<html:hidden property="forward" value='<%= actionForward %>' />
<html:hidden property="id" value='<%= album.getAlbumId() %>' />
<logic:iterate id="photo" name="album" property="photoList">
....
....
....
        <html:form action="movePhotoUp.do">
        <html:hidden property="action" value="movePhoto"/>
        <html:hidden property="direction" value="up"/>
        <html:hidden property="position" value='<%= ""+((Photo)photo).getPosition() %>'/>
        <html:image src="images/up.bmp" alt="Bild nach oben verschieben"/>
        </html:form>
....
....
</logic:iterate>
</html:form>
 
If I now press the inner Button the outer action "album.do"  with the property action "deletePhotoList" is called instead of "movePhotoUp.do".
I have mapped album.do and movePhotoUp.do to the same formclass.
 
Can anybody help me ?
 
Thanx,
 
Marc

Reply via email to