Sibutu (http://code.google.com/p/sibutu/) portlet theme diff file
-----------------------------------------------------------------
Key: WW-3293
URL: https://issues.apache.org/struts/browse/WW-3293
Project: Struts 2
Issue Type: New Feature
Components: "New" API, Plugin - Portlet
Affects Versions: 2.1.0
Environment: struts 2.1.0 struts2-portlet2-plugin
struts2-dojo-plugin-2.1.0 sibutu portal/portlet container
Reporter: Vladimir Limansky
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="%{'20%'}" />
<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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.