• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

<display tag> sending multiple parameters

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have the same problem have you found any solution to it Shiva???
 
Let's get him boys! We'll make him read this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic