This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSP and the fly likes JSP pages list view and grid view Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "JSP pages list view and grid view" Watch "JSP pages list view and grid view" New topic
Author

JSP pages list view and grid view

Gihan Pandigamage
Ranch Hand

Joined: Aug 23, 2009
Posts: 60
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

Joined: Mar 10, 2012
Posts: 171

Is List View is a Tree ?


Lisp is God!
Gihan Pandigamage
Ranch Hand

Joined: Aug 23, 2009
Posts: 60
No it's just like a data table. you can see a sample here
example
Arun Giridhar
Ranch Hand

Joined: Mar 10, 2012
Posts: 171

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.
 
Have you checked out Aspose?
 
subject: JSP pages list view and grid view
 
It's not a secret anymore!