File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing JSP Expression in Query Strings in DisplayTag

 
sapna dhamone
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic