Dimitrios Christodoulakis wrote:
I tried adding one more column like this, hoping the entry property
will be available to the DeleteEntry action via the mini-form.
<display:column>
<s:form action="DeleteEntry">
<s:property value="entry"/>
<s:hidden name="id" value="%{goalToAchieve.id}" />
<s:submit value="Remove"/>
</s:form>
</display:column>
What's that <s:property.../> supposed to be doing?
It's not a form field; there's no entry reference being passed back.
Even if it *was* a form field it's still not passing a *reference*
back--forms *only* submit strings. Always. If you want an actual *entry*
object there either needs to be some type conversion, database
retrieval, etc.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org