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

Centre alignment doesn't seem to work in Velocity tags

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5.1
    • Component/s: Other
    • Labels:
      None

      Description

      When using a tag in a Velocity template, for instance #stextfield("label=Foo" "align=center") with the default xhtml theme, inputs are prepended with just <td> instead of <td align="center"> (as it happens in 2.3.x) in the generated HTML. A form where you want to centre some of the inputs simply doesn't render as intended.

      I'm using Velocity 1.7 and Velocity Tools 2.0, if that helps.

        Attachments

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              jontxu Jon Juaristi
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: