You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ceena Bose <ce...@yahoo.co.uk> on 2006/06/15 01:52:22 UTC

pls help

hi,
   
  pls help me solve the following.
   
  1)paging using struts
  2) need to open a popup window within another pop up window.
   
  regards
  ceena

 Send instant messages to your online friends http://in.messenger.yahoo.com 

 Stay connected with your friends even when away from PC.  Link: http://in.mobile.yahoo.com/new/messenger/  

Re: pls help

Posted by Jorge Martín Cuervo <jo...@defactops.com>.
El jue, 15 de 06 de 2006 a las 01:52, Ceena Bose escribió:

> hi,
>    
>   pls help me solve the following.
>    
>   1)paging using struts

you can use displaytag 
http://displaytag.sourceforge.net/11/


in your action:

List data = new ArrayList();
data.add("1");
data.add("2");
data.add("3");
data.add("4");
request.setAttribute("data", data);


in your jsp:

<display:table name="data" />


check displaytag site to use more options like pagination

>   2) need to open a popup window within another pop up window.

you have to use javascript "window" object
http://docs.sun.com/source/816-6408-10/window.htm#1202731

>    
>   regards
>   ceena
> 
>  Send instant messages to your online friends http://in.messenger.yahoo.com
> 
>  Stay connected with your friends even when away from PC.  Link: http://in.mobile.yahoo.com/new/messenger/  

-- 
;-)
____________________________________
Jorge Martin Cuervo
Analista Programador

Outsourcing Emarketplace
deFacto Powered by Standards

email <jo...@defactops.com>
voz +34 985 129 820
voz +34 660 026 384
____________________________________