[
https://issues.apache.org/struts/browse/WW-2105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41841
]
James Holmes commented on WW-2105:
----------------------------------
Here is the pertinent portion of the JSP:
<s:actionmessage/>
<s:url id="tableUrl" action="ageGroup" namespace="/admin"/>
<display:table id="row" name="ageGroups" requestURI="${tableUrl}"
defaultsort="2" class="listing">
<display:setProperty name="basic.empty.showtable" value="true"/>
<display:setProperty name="basic.msg.empty_list_row" value="<tr
class=\"empty\"><td colspan=\"{0}\">No age groups exist.</td></tr>"/>
<display:column property="id" title="Id" sortable="true"
headerClass="sortable"/>
<display:column property="name" title="Name" sortable="true"
headerClass="sortable"/>
<s:url id="updateUrl" action="ageGroupViewUpdate" namespace="/admin">
<s:param name="ageGroup.id" value="#attr.row.id"/>
</s:url>
<s:url id="deleteUrl" action="ageGroupDelete" namespace="/admin">
<s:param name="ageGroup.id" value="#attr.row.id"/>
</s:url>
<display:column><s:a href="%{updateUrl}">Update</s:a> | <s:a
href="%{deleteUrl}" onclick="return confirm('Delete %{#attr.row.name} age
group?')">Delete</s:a></display:column>
</display:table><br>
<s:fielderror/>
<s:form action="ageGroupAdd" namespace="/admin" method="post" theme="simple">
<table>
<tr>
<td align="right">*Name:</td>
<td><s:textfield name="ageGroup.name" size="40"
maxlength="50"/></td>
</tr>
<tr>
<td align="right"></td>
<td><s:submit value="Add"/></td>
</tr>
</table>
</s:form>
> Handle redirectAction result type in a portlet
> ----------------------------------------------
>
> Key: WW-2105
> URL: https://issues.apache.org/struts/browse/WW-2105
> Project: Struts 2
> Issue Type: Bug
> Components: Portlet Integration
> Reporter: Nils-Helge Garli
> Assignee: Nils-Helge Garli
> Fix For: 2.1.0
>
>
> To ease migration of existing web application that use the redirect action
> result type, this result type should point to PortletResult when running in a
> portlet environment.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.