On Fri, 14 Jan 2005 18:01:25 -0200, Flávio Maldonado
[EMAIL PROTECTED] wrote:
Hello...
When I use this tags above, the Button works well, but the Link doesn't
work.
html:form action=/user
html:submit property=actionbean:message
key=button.new//html:submit
html:link
You can do the same thing WITHOUT the parameter values in the
struts-config.xml and the following code:
html:form action=/user
html:submit property=new.methodbean:message
key=button.new//html:submit
html:link page=/user.do?new.method=''New/html:link
/html:form
if you what the method to be
Hello...
When I use this tags above, the Button works well, but the Link doesn't
work.
html:form action=/user
html:submit property=actionbean:message
key=button.new//html:submit
html:link page=/user.do?action='button.new'New/html:link
/html:form
At the first moment, both are putting the
From: Flávio Maldonado [EMAIL PROTECTED]
html:link page=/user.do?action='button.new'New/html:link
/html:form
LDA follows the parameter value back to the property name, and uses the
property name to pick a method. So instead of 'button.new' here, you need
whatever text mapped to in the
4 matches
Mail list logo