List Info

Thread: Updated: (WW-2038) Extra carriage returns in simple theme templates




Updated: (WW-2038) Extra carriage returns in simple theme templates
country flaguser name
United States
2007-07-22 23:50:05
     [ https://issues.apache.org/struts/browse/WW-2038?page=com.at
lassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James Holmes updated WW-2038:
-----------------------------

    Fix Version/s:     (was: Future)
                   2.1.0
                   2.0.10

> Extra carriage returns in simple theme templates
> ------------------------------------------------
>
>                 Key: WW-2038
>                 URL: https
://issues.apache.org/struts/browse/WW-2038
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>    Affects Versions: 2.0.8
>            Reporter: Marc-André Thibodeau
>            Assignee: James Holmes
>             Fix For: 2.0.10, 2.1.0
>
>
> Extra end-of-line characters are present at the end of
most freemarker templates in the simple struts 2 theme. 
This may cause tight table layouts to break on IE when for
example a <s:textfield> tag is used inside a
<td> element since the extra end-of-line character
inserted prevents from having the </td> directly
following the <input /> element.  In such cases, IE is
known for adding extra space, possibly messing layout.  The
simple theme's purpose being to add absolutely nothing more
than the associated html elements themselves, then this a
bug.
> The solution would simply be to remove the trailing
end-of-line character at the end of freemarker templates in
simple theme.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue
online.


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )