struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Hornbøll Hansen (JIRA) <j...@apache.org>
Subject [jira] Created: (WW-1954) <s:submit type="button"><s:param name="label"> has no effect
Date Tue, 29 May 2007 09:16:38 GMT
<s:submit type="button"><s:param name="label"> has no effect
------------------------------------------------------------

                 Key: WW-1954
                 URL: https://issues.apache.org/struts/browse/WW-1954
             Project: Struts 2
          Issue Type: Bug
         Environment: Apache Tomcat 5.5, Java 1.6, Windows XP
            Reporter: Jan Hornbøll Hansen
            Priority: Minor


Have following form on a webpage:
<s:form action="searchCustomer" method="get">
<s:textfield name="customer.name"><s:param name="label"><fmt:message key="searchcustomer.label.name"/></s:param></s:textfield>
<s:textfield name="customer.citizenRegistrationNumber"><s:param name="label"><fmt:message
key="searchcustomer.label.citizenregistrationnumber"/></s:param></s:textfield>
<s:textfield name="customer.address.streetName"><s:param name="label"><fmt:message
key="searchcustomer.label.streetname"/></s:param></s:textfield>
<s:textfield name="customer.address.streetNumber"><s:param name="label"><fmt:message
key="searchcustomer.label.streetnumber"/></s:param></s:textfield>
<s:textfield name="customer.address.postalCode"><s:param name="label"><fmt:message
key="searchcustomer.label.postalcode"/></s:param></s:textfield>
<s:submit type="button" value="%{'submit'}"><s:param name="label"><fmt:message
key="searchcustomer.label.search"/></s:param></s:submit>
</s:form>

When button is rendered text on button says "submit" instead of value of search.customer.label.search.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message