[
https://issues.apache.org/jira/browse/WW-4634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15295569#comment-15295569
]
ASF GitHub Bot commented on WW-4634:
------------------------------------
GitHub user victorsosa opened a pull request:
https://github.com/apache/struts/pull/96
WW-4634
Cherry-pick PR for support-2-3
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/victorsosa/struts support-2-3
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/struts/pull/96.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #96
----
commit 73ccb56cd8b1adf6625fe25e611fd0d365a69c1b
Author: victorsosa <[email protected]>
Date: 2016-05-17T13:00:33Z
WW-4634
----
> Centre alignment doesn't seem to work in Velocity tags
> ------------------------------------------------------
>
> Key: WW-4634
> URL: https://issues.apache.org/jira/browse/WW-4634
> Project: Struts 2
> Issue Type: Bug
> Components: Other
> Affects Versions: 2.5
> Reporter: Jon Juaristi
> Priority: Minor
> Fix For: 2.5.1
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)