This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

row id to display tag

 
divya kundapur
Ranch Hand
Posts: 110
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can i pass row id to display table ?
 
Sagar Rohankar
Ranch Hand
Posts: 2905
1
Java Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please make sure whether it is display tag or table. I suspect display tag provide a param name and param value attributes. Please confirm from display tag site.
 
divya kundapur
Ranch Hand
Posts: 110
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i m using display:table can i set rowid using display:setProperty
 
Sagar Rohankar
Ranch Hand
Posts: 2905
1
Java Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can't help you in that regard, never used display tag, and as I already said, you've to consult display tag tlds/docs.
 
divya kundapur
Ranch Hand
Posts: 110
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In case it helps anybody in future i have my code below which worked, i wanted a row id to be in this pattern ROW_NUMtrID

so theres a arraylist which gives me the row count and the other Test_id is a property from the bean which is used to populate display table

include the dyndecorator in your display:table decorator attribute ... decorator="dyndecorator"

 
Sagar Rohankar
Ranch Hand
Posts: 2905
1
Java Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good and I hope this code is for testing purpose, because using scriptlet in JSP is considered as bad practice.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic