File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes <display tag> sending multiple parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "<display tag> sending multiple parameters" Watch "<display tag> sending multiple parameters" New topic

<display tag> sending multiple parameters

shiva ram kumar

Joined: Dec 16, 2009
Posts: 12

i want to send multiple parameter using <display >
here is the code

<display:table id="myList" name="sessionScope.myList" requestURI="/jsp/" pagesize="5" class="dataTable">
<display:column property="companyName" title="Company Name" sortable="true"/>
<display:column property="companyCode" title="Company Code" sortable="true"/>
<display:column property="editImage" title="Edit" paramProperty="companyId" url="/jsp/" autolink="true" paramId="companyId" headerClass="sortable"/>
<display:column property="addImage" title="Add Branch" url="/jsp/" paramId="companyId,companyName" paramProperty="companyName" autolink="true" headerClass="sortable"/>

here im getting only half page. not the complete page.
when im changing paramProperty="companyName" whole page is getting rendered.
but when i add paramProperty="companyId,companyName" getting only half page

i tried this one also in url="/jsp/${myList.companyId}&companyName="${companyName}"
here it is working but the things is im getting the frist row vaues of the table.

thanks in advance.

Sunil Sunny
Ranch Hand

Joined: Oct 18, 2011
Posts: 41
I have the same problem have you found any solution to it Shiva???
I agree. Here's the link:
subject: <display tag> sending multiple parameters
It's not a secret anymore!