On Thu, 24 May 2001, Deadman, Hal wrote:
It looks like this was broken in a recent update. The ButtonTag.java needs a
doAfterBody() method in order to set the text instance variable to the body
content. That will make it work like the SubmitTag.java. You should submit
this as a bug on
just set the property attribute on the struts submit
tag.
scott.
--- Neil Blue [EMAIL PROTECTED] wrote:
Hello,
I am planning a struts app and I would like to know
please if there is a
way to set the text of a submit button, based on a
key from the
ApplicationResources.properties file.
-Original Message-
From: Peter Alfors [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 9:39 AM
To: [EMAIL PROTECTED]
Subject: Re: dynamic button names
It looks as though the ButtonTag and SubmitTag do not allow you to do
this.
Therefore, you have a few other options.
1
Title: RE: dynamic button names
I'm not able to get this to work since I upgraded to b2.
The following shows a button with the text Click (I assume Click is the HTML default). All the other internationalized strings are working fine. Any ideas?
html:button property=retrieve
bean:message
4 matches
Mail list logo