Re: Translation Properties

2010-03-29 Thread Celinio Fernandes
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 wrote: From: CRANFORD, CHRIS Subject: Translation Properties To: "Struts Users Mai

Re: Pagination with Struts 2.1.8 ?

2010-03-29 Thread Zoran Avtarovski
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.

Re: struts2 + Tiles, whypages shrink in top center ?

2010-03-29 Thread Lukasz Lenart
2010/3/29 A. Lotfi : > 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 with some HTML t

S2 in interator really slow

2010-03-29 Thread Greg Lindholm
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 it'

Re: struts2 + Tiles, whypages shrink in top center ?

2010-03-29 Thread A. Lotfi
yes I want the page to occupy the whole screen.   thanks On Mon, 3/29/10, sandeep kotha wrote: From: sandeep kotha Subject: Re: struts2 + Tiles, whypages shrink in top center ? To: "Struts Users Mailing List" Date: Monday, March 29, 2010, 2:01 PM it occupies entire screen right how do you

Re: struts2 + Tiles, whypages shrink in top center ?

2010-03-29 Thread sandeep kotha
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 wrote: > I put the width attribute to 100% > > but look how it looks now : > http://osp105.mit.edu:8084/Struts2Tiles/welcomeLink.action >

Re: struts2 + Tiles, whypages shrink in top center ?

2010-03-29 Thread A. Lotfi
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 wrote: From: sandeep kotha Subject: Re: struts2 + Tiles, whypages shrink in top center ? To: "Struts Users Mailing List" , lukasz.len

Re: struts 2 display tag export problem

2010-03-29 Thread GTCulbreth
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 export.pdf.class=org.displaytag.export.DefaultPdf

Re: Pagination with Struts 2.1.8 ?

2010-03-29 Thread Alex Rodriguez Lopez
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:

Re: Pagination with Struts 2.1.8 ?

2010-03-29 Thread Celinio Fernandes
Thanks. I already read about it but does it work well with Struts 2 ? --- On Mon, 3/29/10, Alex Rodriguez Lopez wrote: From: Alex Rodriguez Lopez Subject: Re: Pagination with Struts 2.1.8 ? To: user@struts.apache.org Date: Monday, March 29, 2010, 4:32 AM Display tag, works like a charm: ht

Re: struts2 + Tiles, whypages shrink in top center ?

2010-03-29 Thread sandeep kotha
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. http://www.w3.org/TR/html4/loose.dtd";> Welco

Re: [Struts 2.1.8.1] Internationalization: how to remain in the current page ?

2010-03-29 Thread Alex Rodriguez Lopez
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), h

RE: Pagination with Struts 2.1.8 ?

2010-03-29 Thread adam pinder
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

Re: [Struts 2.1.8.1] Internationalization: how to remain in the current page ?

2010-03-29 Thread Denis Cabasson
Hi, We use a simple and empty 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 application (through

Re: Pagination with Struts 2.1.8 ?

2010-03-29 Thread Alex Rodriguez Lopez
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

Pagination with Struts 2.1.8 ?

2010-03-29 Thread Celinio Fernandes
Hi, This is a classic requirement. I have this table, in a JSP, that I have created with the html tag and that i have filled using the . This tag iterates over an ArrayList defined in my action. There are too many lines and I need to add some pagination functionality to it. What solutions are o

Re: [Struts 2.1.8.1] Internationalization: how to remain in the current page ?

2010-03-29 Thread Alex Rodriguez Lopez
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