Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4056

requiredPosition can't work! show HTTP Status 500

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.12, 2.3.14
    • Fix Version/s: 2.3.15
    • Component/s: Plugin - Tags
    • Environment:

      struts2.12 and struts2.14 ,other no test.
      JDK1.6
      Tomcat6

    • Flags:
      Important

      Description

      when use requiredPosition in textfield Tag。will throw HTTP Status 500 Erro,like:
      Unable to find setter method for attribute: requiredPosition

      source:

      <s:form action="Reg.action" method="post" name="form" id="form" >
      <s:textfield name="name" id="name" label="username" requiredLabel="true" requiredPosition="left" ></s:textfield>
      <s:submit value="Login" ></s:submit>
      </s:form>

        Attachments

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              inthink inthink
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: