2010/3/29 A. Lotfi majidna...@yahoo.com
I tried all the browsers but still small, plz take a look here :
http://osp105.mit.edu:8084/Struts2Tiles/welcomeLink.action
Did check the source of your page in browser? It's a mess, duplicated
body and so on. Check your tiles, only main page (the
Thanks Zoran for sharing your approach, greatly appreciated, I'm
thinking about implementing a similar interceptor, and maybe replace the
i18n one so work is done implicitly with only a change in struts.xml and
the new interceptor.
Em 29-03-2010 02:58, Zoran Avtarovski escreveu:
Hi Guys,
We
Hi,
This is a classic requirement.
I have this table, in a JSP, that I have created with the table html tag and
that i have filled using the s:iterator.
This s:iterator tag iterates over an ArrayList defined in my action.
There are too many lines and I need to add some pagination functionality
Display tag, works like a charm:
http://displaytag.sourceforge.net/1.2/tut_basic.html
Works with lists and handles pagination, data export, I recommend it!
Em 29-03-2010 11:07, Celinio Fernandes escreveu:
Hi,
This is a classic requirement.
I have this table, in a JSP, that I have created with
Hi,
We use a simple and empty s:url includeParam=get/ tag to loop back
to the current action/url.
The only thing you have to look for are those unsafe urls: we don't
have any unsafe urls in our application, thanks to an extensive POST
then GET approach. Whenever some action is done in the
i prefer pagination to be db based so there is a minimum amount of data
retrieved and held in memory. i.e. only retrieve what you will display. don't
retrieve 200 records in memory and page through them.
adam
Date: Mon, 29 Mar 2010 03:07:25 -0700
Great remarks Denis, thanks!
Didn't know about includeParams=get... already changed things to use
that, works great! Simple and elegant solution, I too think urls like
url/delete?id=# should be best avoided.
Using your approach (that is, closer to http specs, no deletes using GET
method),
Hi Lenard
Taking view source from your page i see width attribute is missing for your
table. Set the width attribute to 100% that will fix your issue.
Pasted is your view source with width attribute. This could help you.
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
Thanks. I already read about it but does it work well with Struts 2 ?
--- On Mon, 3/29/10, Alex Rodriguez Lopez alo...@flordeutopia.pt wrote:
From: Alex Rodriguez Lopez alo...@flordeutopia.pt
Subject: Re: Pagination with Struts 2.1.8 ?
To: user@struts.apache.org
Date: Monday, March 29, 2010,
Em 29-03-2010 15:09, Celinio Fernandes escreveu:
Thanks. I already read about it but does it work well with Struts 2 ?
Yes, I'm using it with S2. Include it in JSPs like this
%@ taglib uri=http://displaytag.sf.net; prefix=display %
then, for example for a listing of users:
display:table
Hi Rakesh,
Did you get your answer to this question?
If not, are your export classes in your displayTag.properties file set. If
you don't want anything special you would need:
export.excel.class=org.displaytag.export.excel.DefaultHssfExportView
I put the width attribute to 100%
but look how it looks now :
http://osp105.mit.edu:8084/Struts2Tiles/welcomeLink.action
--- On Mon, 3/29/10, sandeep kotha sandeep4u.ko...@gmail.com wrote:
From: sandeep kotha sandeep4u.ko...@gmail.com
Subject: Re: struts2 + Tiles, whypages shrink in top
it occupies entire screen right how do you want your screen to look like ?
can you send me a screen shot it may help better
On 29 March 2010 23:24, A. Lotfi majidna...@yahoo.com wrote:
I put the width attribute to 100%
but look how it looks now :
yes I want the page to occupy the whole screen.
thanks
On Mon, 3/29/10, sandeep kotha sandeep4u.ko...@gmail.com wrote:
From: sandeep kotha sandeep4u.ko...@gmail.com
Subject: Re: struts2 + Tiles, whypages shrink in top center ?
To: Struts Users Mailing List user@struts.apache.org
Date:
Struts 2.1.8
I had one page in the application I'm working on which was really
really slow... it was taking 4-5 seconds to render the jsp page.
It's a very simple page, just a list of 10 to 15 items that are
iterated over and each one gets a form with one hidden field and a
button.
It appears
2010/3/29 A. Lotfi majidna...@yahoo.com:
I put the width attribute to 100%
but look how it looks now :
http://osp105.mit.edu:8084/Struts2Tiles/welcomeLink.action
It took the whole page width, as you wanted but you still mixing body
elements as Sandeep Kotha showed you. Maybe you should start
We use display tag extensively and it ties into S2 really well.
We¹ve set it up to use DB based pagination so you only load the items you
need and it ties into S2 i18n properties.
We also use jqGrid which is based on jQuery and works really well where you
want ajax based tables.
Z.
Thanks. I
Hi,
I use Babel Fish, which is a freeware and written in Java.
It is available here :
http://www.softpedia.com/get/Others/Home-Education/Babel-Fish.shtml
It's pretty cool.
--- On Fri, 3/26/10, CRANFORD, CHRIS chris.cranf...@setech.com wrote:
From: CRANFORD, CHRIS chris.cranf...@setech.com
18 matches
Mail list logo