You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jon Juaristi <jo...@gmail.com> on 2016/05/13 14:27:18 UTC
"align=center" doesn't seem to work in Struts 2.5 Velocity tags
Hi all,
I changed dependencies from 2.3 to 2.5 in my build file and everything
seems to work. Except, weirdly enough, in form tags like #stextfield
(equivalent to <s:textfield> [1]) when I try to align the inputs to
the centre they don't. But they actually do when using 2.3.x.
Basically, inputs are prepended with just <td> in the former and <td
align="center"> in the latter. I don't know if it's a problem with
Velocity (1.7 version), Velocity Tools (2.0 version) or Struts, and
it's bugging me out.
I guess a workaround might be using the simple theme for now, because
the parts of the form that use it are obviously arranged the same.
It's not a major issue, just that apparently the pages don't generate
as they should, for some strange reason. I don't know of other
alternatives, if there is any.
[1] https://struts.apache.org/docs/velocity-tags.html
Thanks in advance.
--
Jon Juaristi.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: "align=center" doesn't seem to work in Struts 2.5 Velocity tags
Posted by Jon Juaristi <jo...@gmail.com>.
On 14 May 2016 at 17:28, Lukasz Lenart <lu...@apache.org> wrote:
> Please register an issue in JIRA https://issues.apache.org/jira/browse/WW/
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
Hi Lukasz,
thanks for the response. I've added the issue here:
https://issues.apache.org/jira/browse/WW-4634
Regards.
--
Jon Juaristi.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: "align=center" doesn't seem to work in Struts 2.5 Velocity tags
Posted by Lukasz Lenart <lu...@apache.org>.
2016-05-13 16:27 GMT+02:00 Jon Juaristi <jo...@gmail.com>:
> Hi all,
>
> I changed dependencies from 2.3 to 2.5 in my build file and everything
> seems to work. Except, weirdly enough, in form tags like #stextfield
> (equivalent to <s:textfield> [1]) when I try to align the inputs to
> the centre they don't. But they actually do when using 2.3.x.
>
> Basically, inputs are prepended with just <td> in the former and <td
> align="center"> in the latter. I don't know if it's a problem with
> Velocity (1.7 version), Velocity Tools (2.0 version) or Struts, and
> it's bugging me out.
>
> I guess a workaround might be using the simple theme for now, because
> the parts of the form that use it are obviously arranged the same.
> It's not a major issue, just that apparently the pages don't generate
> as they should, for some strange reason. I don't know of other
> alternatives, if there is any.
>
> [1] https://struts.apache.org/docs/velocity-tags.html
Please register an issue in JIRA https://issues.apache.org/jira/browse/WW/
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org