Attribut id does'nt work in tag <s:form>
----------------------------------------

                 Key: WW-2420
                 URL: https://issues.apache.org/struts/browse/WW-2420
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Portlet
    Affects Versions: 2.1.1
         Environment: Tomcat  - Liferay 4.5.3
            Reporter: Cédric Torcq


This form works 
<s:form action="saveApplication" method="post" validate="false">
    <li style="display: none">
        <s:hidden key="application.id"/>
    </li>
    <s:textfield key="application.name" required="false" maxlength="255" 
cssClass="text medium"/>
    <s:textfield key="application.description" required="false" maxlength="255" 
cssClass="text medium"/>

<s:submit value="Submit the form"/>
</s:form>

But not this one :
<s:form id="applicationForm" action="saveApplication" method="post" 
validate="false">
    <li style="display: none">
        <s:hidden key="application.id"/>
    </li>
    <s:textfield key="application.name" required="false" maxlength="255" 
cssClass="text medium"/>
    <s:textfield key="application.description" required="false" maxlength="255" 
cssClass="text medium"/>

<s:submit value="Submit the form"/>
</s:form>

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

Reply via email to