Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP pages list view and grid view

 
Gihan Pandigamage
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,
I'm looking for an example code for jsp list view and grid view. I have created list view and grid view within the same jsp page. now I need to show list view when the user selects list view button and grid view when the user selects grid view button. Help me to figure out this.
cheers ....:)
 
Arun Giridhar
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is List View is a Tree ?
 
Gihan Pandigamage
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No it's just like a data table. you can see a sample here
example
 
Arun Giridhar
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gihan Pandigamage wrote:No it's just like a data table. you can see a sample here
example


Thank You.

This doesn't come under Jsp :)
As far as i know i can use Javascript , based on onclick() gives different Action with respect to element (div ) .Based on the URI do business Logic and and display in same JSP page.

or you may use Ajax and JSON .

The Later sounds fine.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic