You can do the same thing WITHOUT the parameter values in the
struts-config.xml and the following code:
New
if you what the method to be "new(ActionMapping mapping, ActionForm
form, HttpServletRequest request, HttpServletResponse response) and
you use the following class (with logging changes)
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.
>
>
> key="button.new"/>
> New
Try the following code below
<%
String message =
org.apache.struts.taglib.TagUtils.
From: "Flávio Maldonado" <[EMAIL PROTECTED]>
> New
>
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 [usually] ApplicationResources.properties
file. Maybe...
button.n
Hello...
When I use this tags above, the Button works well, but the Link doesn't
work.
New
At the first moment, both are putting the "button.new" into the action
variable.
When I press the button, works well. But I need that the link do the same
function of the button but I receive this err
4 matches
Mail list logo