Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3861756
By: coldjava
Here is my display Table. In the below displayTable, I added id attribute
thinking
that i will be able to access it with a <c:out value="${corpResult_rowNum}"
/> . For some reason, it always comes out Null. Have any one of you seen this
situation. Am I missing anything? Thanks in advance. -:)
Sheetal
<display:table name="sessionScope.searchBean.searchResults"
defaultorder="ascending"
requestURI="/jsp/proj/search/SearchResults.faces" id="corpResult"
class="searchtable"
pagesize="100">
<display:column title="rowNumber">
<c:out value="${corpResult_rowNum}" />
</display:column>
<display:column title="<input type='checkbox' name='selectall'
onClick='SetAllCheckBoxes(searchResultsForm, selectall);'/>" sortable="false"
headerClass="sortable" >
<input type="checkbox" name="searchResultId"
value="<c:out
value='${searchBean.searchResults['<c:out
value='${corpResult_rowNum}'/>'].searchResultId}' />" />
</display:column>
<display:column property="groupName" title="GroupName" headerClass="sortable"
sortable="true" />
<display:column property="financialPeriod"
title="Financial Period"
headerClass="sortable" sortable="true" />
<display:column
property="country.countryName" title="Country"
headerClass="sortable" sortable="true" />
<c:if
test='${sessionScope.searchBean.sectorRendered ==
"true"}'>
<display:column
property="marketSector.marketSectorName"
title="Market Sector" sortable="true" />
</c:if>
<c:if
test='${sessionScope.searchBean.code1Rendered ==
"true"}'>
<display:column
property="ratingCode1.ratingCode" title="<%=(String)
session.getAttribute("ratingName1")%>" sortProperty="ratingCode1.ratingCodeId"
sortable="true" />
</c:if>
<c:if
test='${sessionScope.searchBean.code2Rendered ==
"true"}'>
<display:column property="ratingCode2.ratingCode"
title="<%=(String) session.getAttribute("ratingName2")%>"
sortProperty="ratingCode2.ratingCodeId" sortable="true" />
</c:if>
<c:if
test='${sessionScope.searchBean.financialCriteria1Rendered
== "true"}'>
<display:column property="financialCriteriaValue1.value"
title="${sessionScope.searchBean.criteriaDesc1}" sortable="true" />
</c:if>
<c:if
test='${sessionScope.searchBean.financialCriteria2Rendered
== "true"}'>
<display:column property="financialCriteriaValue2.value"
title="${sessionScope.searchBean.criteriaDesc2}" sortable="true" />
</c:if>
</display:table>
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=249317
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user