Expand and collapse is done with _javascript_ and CSS. You could put displaytag in a DIV that is expanded and collapsed via _javascript_.

Getting more data without refreshing the page is done with AJAX techniques. You don't need displaytag for that either.

Keep it simple first. Get the expand collapse stuff working with _javascript_ and CSS first in a plain old HTML file. Once that works, move the _javascript_ and CSS into their own .js and .css files. ... Then get the AJAX stuff working without the expand/collapse stuff. ... Then put it together.

You might want to look at RICO: http://openrico.org

,chris 

On Mar 7, 2006, at 7:04 AM, Neelima Madhavaram wrote:

Hi,

My requirement is to display nested search results using expand/collapse button.

My intial jsp will display top level orders with (+) button attached to each order. If that button is clicked, it should
get order details from database and display it as nested table.
This should happen with out refreshing whole page.

I was searching through forums, many users have asked this question but I couldn't find answer.
Can anybody tell me whether expand/collpase can be implemented using display tag or not?

Thanks
Neelima


Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.

Reply via email to