aspose file tools*
The moose likes Other Open Source Projects and the fly likes Passing JSP Expression in Query Strings in DisplayTag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Passing JSP Expression in Query Strings in DisplayTag" Watch "Passing JSP Expression in Query Strings in DisplayTag" New topic
Author

Passing JSP Expression in Query Strings in DisplayTag

sapna dhamone
Greenhorn

Joined: Apr 17, 2008
Posts: 5
Hi All,

I am facing a typical problem.i need information on this display tag usage

currently i am using display tag in this way.

<display:table name="sessionScope.LIST" pagesize="50" class="simple" id="cgList">
<bean:define id="selValue" name="showCgLtForm" property="selPos">
<display:column style="{width: 80px;}" property="label" title="key"
sortable="true" headerClass="sortable" href="cgConfig.do?
action=display&position=<bean:write name='selValue'>"

paramId="label"/>
</bean:define>
<display:column style="{width: 450px;}" property="value" title="value" />
</display:table>

when i am trying to retrieve the query string "position" .i get only the
this value as "<bean:write name" rather than selValue.

the other option i tried:
href="cgConfig.do?action=display&position=<%=selValue %>>"

even this is displaying null value.

Does the bean define tag doesnt work in conjuction with display:column?

any suggestions and help would be thankful!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passing JSP Expression in Query Strings in DisplayTag