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

requiredPosition can't work! show HTTP Status 500

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.12, 2.3.14
    • 2.3.15
    • Plugin - Tags
    • struts2.12 and struts2.14 ,other no test.
      JDK1.6
      Tomcat6

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: