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

Improve <s:form> labelposition attribute

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.16
    • Fix Version/s: 2.3.20
    • Component/s: Plugin - Tags
    • Labels:
    • Flags:
      Patch

      Description

      Currently labelposition attribute is useless for <s:form> tag. This patch will propagate <s:form> labelposition to form elements in xhtml/css_xhtml themes. So if you want to define labelposition for all form elements there is no need to set it on each and every element of this form. The labelposition attribute value in concrete form element will take precedence over form labelposition value.

        Attachments

        1. form_labelposition.patch
          15 kB
          Aleksandr Mashchenko

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              aleksandr-m Aleksandr Mashchenko
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: