Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<display tag> sending multiple parameters

 
shiva ram kumar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..

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

<display:table id="myList" name="sessionScope.myList" requestURI="/jsp/searchcompany.do?method=searchCompany" 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/searchcompany.do?method=searchCompany&companyId" autolink="true" paramId="companyId" headerClass="sortable"/>
<display:column property="addImage" title="Add Branch" url="/jsp/addbranch.do?method=populate" paramId="companyId,companyName" paramProperty="companyName" autolink="true" headerClass="sortable"/>
</display:table>

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/addbranch.do?method=populate&companyId=${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
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the same problem have you found any solution to it Shiva???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic