struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Mashchenko (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (WW-4183) xhtml theme field errors are always centered
Date Sat, 30 Apr 2016 21:06:12 GMT

     [ https://issues.apache.org/jira/browse/WW-4183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aleksandr Mashchenko resolved WW-4183.
--------------------------------------
    Resolution: Fixed

https://github.com/apache/struts/commit/af0f3cf1d1ba589ae7654ef9408d8f35c342b333

> xhtml theme field errors are always centered
> --------------------------------------------
>
>                 Key: WW-4183
>                 URL: https://issues.apache.org/jira/browse/WW-4183
>             Project: Struts 2
>          Issue Type: Improvement
>    Affects Versions: 2.3.15.1
>            Reporter: Jasper Rosenberg
>            Priority: Minor
>             Fix For: 2.5
>
>
> In xhtml/controlheader-core.ftl, the td that holds the error message is hard coded to
align="center".  That often looks pretty bad, particularly if labelposition is top, since
that is left aligned.
> In a perfect world, I'd like to just remove the align="center", and let people use CSS
to decide the position of the error (maybe copying over the "wwerr" style from the css_xhtml
theme to be consistent and make it easier to match).
> If that is too big a regression change, an alternative is to enhance errorPosition to
also support: "top-left", "top-center", "bottom-left", "bottom-center"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message