
|
If you were logged in you would be able to see more operations.
|
|
|
AppFuse
Created: 08/Mar/08 10:30 PM
Updated: 03/May/08 11:56 AM
|
|
| Component/s: |
Web - Struts
|
| Affects Version/s: |
2.0.1
|
| Fix Version/s: |
2.0.2
|
|
|
When using Struts2 with css_xhtml - the struts textfield tag generates bad HTML when selecting labelposition="left". This is due to template/css_xhtml/controlheader.ftl, around line 11 which declares an open div tag for label position 'top' but no span tag for left positioning.
This is the code missing the else
<#if parameters.labelposition?default("top") == 'top'>
<div <#rt/>
</#if>
|
|
Description
|
When using Struts2 with css_xhtml - the struts textfield tag generates bad HTML when selecting labelposition="left". This is due to template/css_xhtml/controlheader.ftl, around line 11 which declares an open div tag for label position 'top' but no span tag for left positioning.
This is the code missing the else
<#if parameters.labelposition?default("top") == 'top'>
<div <#rt/>
</#if>
|
Show » |
|