Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Request path issue while using <display> tag.

 
shiva ram kumar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
while clicking on the edit it is has to be
/MCD/jsp/searchcompany.do?method=editCompany&companyId=101;
but it showing me /jsp/editcompany.do?method=editCompany&companyId=101;

when click on the pagenation it works fine.
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" href="/jsp/editcompany.do?method=editCompany&companyId" autolink="true" paramId="companyId" headerClass="sortable"/>>
</display:table>
 
shiva ram kumar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
href="/jsp/editcompany.do?method=editCompany&companyId"

instead of keeping href i changed it to url="/jsp/editcompany.do?method=editCompany&companyId"


its working now....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic