posted 13 years ago
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.