aspose file tools*
The moose likes Struts and the fly likes row id to display tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "row id to display tag" Watch "row id to display tag" New topic
Author

row id to display tag

divya kundapur
Ranch Hand

Joined: Aug 21, 2007
Posts: 110
can i pass row id to display table ?


SCJP - 5.0
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

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.


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
divya kundapur
Ranch Hand

Joined: Aug 21, 2007
Posts: 110
i m using display:table can i set rowid using display:setProperty
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

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

Joined: Aug 21, 2007
Posts: 110
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

Joined: Feb 19, 2008
Posts: 2902
    
    1

Good and I hope this code is for testing purpose, because using scriptlet in JSP is considered as bad practice.
 
 
subject: row id to display tag