• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

Passing JSP Expression in Query Strings in DisplayTag

 
Greenhorn
Posts: 5
  • 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!
 
Your buns are mine! But you can have this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!