Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.1.0
-
None
-
None
-
struts 2.1.0 struts2-portlet2-plugin struts2-dojo-plugin-2.1.0 sibutu portal/portlet container
-
Patch, Important
Description
Guys,
In this issue I will attach *.diff file with all files changed to support portlet theme
All struts GUI compinents were changed (s:xxx). So vast majority of changes are related to <s:form> and it's components
Also new parameters support was added NOT changing struts.tld file
1. headerWrapper (none|default|'<td><tr>') - none='', default='<td class="portlet-table-body">'
The element wrapper will be defined as follows:
wrapper = headerWrapper;
if (wrapper == null)
wrapper = defaultHeaderWrapper;
if (wrapper == null)
wrapper = default;
2. footerWrapper (none|default|'</td></tr>') - none='', default='</td>'
3. colspan
4. rowspan
5. labelcolspan (there's no such parameter as 'labelrowspan', labelrowspan = rowspan)
6. labelwidth (could be defined in pixels and percents)
7. labelalign
8. 'labelseparator' and 'labelStyle'
9. width
Parameters could be used as follows:
<s:select
name="${paramName}" >
<s:param name="labelseparator">
</s:param>
<s:param name="labelwidth" value="%
<s:param name="width" value="%{'20%'}
" />
</s:select>
Also some changes to struts-dojo plugin were done (I'll submit *.diff file for dojo later)
Any questions are appreciated.
Attachments
Attachments
Issue Links
- duplicates
-
WW-3287 Portlet theme(s)
-
- Closed
-