Re: Intenationalization questions

2008-04-20 Thread Jeromy Evans
Pranav wrote: Thanks for the reply. So, for a scalability, you suggest that I should change TextProvider implementation to load a resource bundle for each customer. I don't exactly know how to tell it to load a customer specific resource bundle. I mean which methods to override for doing this.

Re: Struts 2 AJAX editable grid

2008-04-20 Thread Jeromy Evans
I use YUI. Have a look at Satyam's demo of the editable datagrid to see if it's suitable: http://www.satyam.com.ar/yui/DataGrid.html It supports client-side and server-side pagination and sorting: http://developer.yahoo.com/yui/datatable/ tom tom wrote: Thanks I will have a look, Lot of grids

Re: Clearing form value

2008-04-20 Thread Nils-Helge Garli Hegvik
By "redirect" I mean using the redirect action result type. Nils-H On Mon, Apr 21, 2008 at 6:40 AM, aum strut <[EMAIL PROTECTED]> wrote: > Nils can u just describe a bit wat u mean here by redirect > its quite possible that i am taking redirect in some other way.. > > aum > > > > > On 4/21/08,

Re: Struts 2 AJAX editable grid

2008-04-20 Thread tom tom
Thanks I will have a look, Lot of grids got the limitation to have combo boxes in the Grid, If any such Grid someone knows that will be great, we are looking for a such a grid with Sorting and Pagination features. Has anyone enhanced the ftl to share with us. Thanks --- Jeromy Evans <[EMAIL P

Re: Intenationalization questions

2008-04-20 Thread Pranav
Thanks for the reply. So, for a scalability, you suggest that I should change TextProvider implementation to load a resource bundle for each customer. I don't exactly know how to tell it to load a customer specific resource bundle. I mean which methods to override for doing this. And also how to

Re: Clearing form value

2008-04-20 Thread aum strut
Nils can u just describe a bit wat u mean here by redirect its quite possible that i am taking redirect in some other way.. aum On 4/21/08, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: > > I don't see why that should prevent you from doing a redirect? > > Nils-H > > On Mon, Apr 21, 2008 at

Re: Clearing form value

2008-04-20 Thread Nils-Helge Garli Hegvik
I don't see why that should prevent you from doing a redirect? Nils-H On Mon, Apr 21, 2008 at 5:44 AM, aum strut <[EMAIL PROTECTED]> wrote: > Nils > > though i have achieved this using javascript > my problem was that i can not redirect as i have to enter multipal records > at a given time > >

Re: Can these two co exists

2008-04-20 Thread Chris Pratt
Ok, sorry to be off topic, but does it strike anyone else as ironic that a a conversation entitled "Can these two coexist" was written by TOM & JERomY? (*Chris*) On Sun, Apr 20, 2008 at 9:19 PM, Jeromy Evans <[EMAIL PROTECTED]> wrote: > tom tom wrote: > > > Hi, > > > > We have portlet based ajax

Re: Can these two co exists

2008-04-20 Thread Jeromy Evans
tom tom wrote: Hi, We have portlet based ajax application written using struts 2.0.6, With the introduction of the struts 2.0.11 we can see lot of bugs have been resolved. We would like to start the next project using struts 2.0.11, both application will co exist in the same tomcat server. Wil

Re: Intenationalization questions

2008-04-20 Thread Jeromy Evans
Pranav wrote: Hi, Now my questions are: 1) If I do the above, do I always have to use the getText way of looking up the messages? If I use the key attribute of the UI tags, will the overridden getText methods be still called? Yes. The Struts2 tags with a key attribute and the s:text tag ca

Re: Clearing form value

2008-04-20 Thread aum strut
Nils though i have achieved this using javascript my problem was that i can not redirect as i have to enter multipal records at a given time On 4/20/08, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: > > Considering you're processing the form and displaying the form using > the same action w

Intenationalization questions

2008-04-20 Thread Pranav
Hi, I am new to struts 2 and trying to figure out a problem that I am having w.r.t. I18n. My application is supposed to serve multiple clients per hosted instance of the application and the requirement is to somehow support the requirement of display of client specific text for the same message

Re: [S2] IE 7 - Secure and non-secure pop up message when using https

2008-04-20 Thread Jeromy Evans
Simon Sew wrote: Hi, I have pinpoint the problem to this remote div.. The code as below. I tried change the iframe.js but to no avail. I tried using 1) https:// 2) https://about:blank 3) javascript:false 4) "blank" I have even tried 2.0.11 which is the latest one. The bug still there. Is the

Re: [S2] IE 7 - Secure and non-secure pop up message when using https

2008-04-20 Thread Simon Sew
Hi, I have pinpoint the problem to this remote div.. The code as below. I tried change the iframe.js but to no avail. I tried using 1) https:// 2) https://about:blank 3) javascript:false 4) "blank" I have even tried 2.0.11 which is the latest one. The bug still there. Is there a 2.1 version ou

Re: Struts 2 AJAX editable grid

2008-04-20 Thread Jeromy Evans
tom tom wrote: Hi, What exactly the benefits of moving from struts 2.0.6 to 2.0.11. Mainly important bugfixes and security fixes. There are few new features. 2.0.x -> 2.1 provides better ajax tags and new plugins. As far as the Ajax support is concerned, we do have a requirement to have

Re: [S2] IE 7 - Secure and non-secure pop up message when using https

2008-04-20 Thread Jeromy Evans
Simon Sew wrote: Hi Jeromy, The solutions provided doesn't work for me. I still have the pop up message. One more thing. I found out that struts2 dojo have some missing files. I used fidler to check : /struts/dojo/src/i18n/calendar/nls/en-us/gregorian.js /struts/dojo/src/i18n/calend

Re: [S2] IE 7 - Secure and non-secure pop up message when using https

2008-04-20 Thread Simon Sew
Hi Jeromy, The solutions provided doesn't work for me. I still have the pop up message. One more thing. I found out that struts2 dojo have some missing files. I used fidler to check : /struts/dojo/src/i18n/calendar/nls/en-us/gregorian.js /struts/dojo/src/i18n/calendar/nls/en/gregorian

Can these two co exists

2008-04-20 Thread tom tom
Hi, We have portlet based ajax application written using struts 2.0.6, With the introduction of the struts 2.0.11 we can see lot of bugs have been resolved. We would like to start the next project using struts 2.0.11, both application will co exist in the same tomcat server. Will there be any cl

Help linking two autocompleters

2008-04-20 Thread Márcio Gurgel
Hi all, Here I'm with another problem.. I know that I've been sent lots os questions, but before I aways give a check at documentation and showcase. I hope you can give me a hand. -- I want to link two autocompleters. My action is setting the correct secound list. The problem is that it's never re

Locale Field in Struts URL's

2008-04-20 Thread yogi1313
Hi all , We are using struts to build a Global website which will be localized in over 30 languages. One of our requirement for SEO is to not have any locale field in the URL's . In standard approach when we localize a site we have a locale field in the URL which is then used to identify the corr

Struts 2 AJAX editable grid

2008-04-20 Thread tom tom
Hi, What exactly the benefits of moving from struts 2.0.6 to 2.0.11. As far as the Ajax support is concerned, we do have a requirement to have a editable grid, Is this facilitated within struts 2? What is the best way to achieve it. Thanks

Re: Problem with internationalization in addActionError

2008-04-20 Thread stan77
Hi Volker, my Action class implements ServletRequestAware. When I check the locale with request.getParameter("request_locale"), I get 'en' as result. The both *.properties files are in the same classpath. If the logon is invalid I put the actionError and return LOGIN and go back to Logon.jsp.

Re: Clearing form value

2008-04-20 Thread Nils-Helge Garli Hegvik
Considering you're processing the form and displaying the form using the same action within the same request, I would say this is expected behavior. I would consider doing a redirect after the post instead. Nils-H On Sat, Apr 19, 2008 at 12:06 PM, aum strut <[EMAIL PROTECTED]> wrote: > i am not u

Re: Scope Interceptor

2008-04-20 Thread Kibo
Hi Jeromy I understand it now. It help me the most. Thanks You very much. Here I find an practise for scope interceptor. Maybe it can need somebody. http://d.hatena.ne.jp/nikkei225f/20080111/1200022384 Tomas Jurman Czech Republic - Tomas Jurman Czech Republic -- View this message in c

Re: Problem with internationalization in addActionError

2008-04-20 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, you should try to find out, what the acutal locale is and if there is a suitable properties-file. Next, try to find out, if your properties-file is found in the right position. (Package etc.) and if it is accessible. Maybe you hav

Problem with internationalization in addActionError

2008-04-20 Thread stan77
Hello, I'm new to struts 2. I have the following problem with internationalization in my Action classes. there are two properties files package.properties and package_en.properties wich works correctly in most cases. In my Logon action i would like to add an Action error like this: addActionEr

Re: from Action to PageContext: how's it done?

2008-04-20 Thread Adam Hardy
Dave Newton on 20/04/08 02:24, wrote: --- Adam Hardy <[EMAIL PROTECTED]> wrote: What you're saying is clear except one thing - in JSTL I can access the action. And in JSTL, I'm not calling request.getAttribute() - I'm _not_ doing this: ${requestScope['myObject']} I'm just doing this: ${myObj

Theme extensino does not work for me.

2008-04-20 Thread Alex Shneyderman
I am extending my new theme from simple (I actually started with xhtml but now it is a totally different beast). Somehow, theme.properties file gets ignored. If my theme contains the tag it gets rendered correctly however if I use the one that is provided with simple and the one I extend the tag is

Re: s2 in tomcats shared lib/

2008-04-20 Thread Marc Ende
Okay, that's not a problem. The webapps belong together and will be built together in one run. All of them have the same version of struts. Thanks for your help. Gabriel Belingueres schrieb: Well it depends if you are ALWAYS developing using the same library versions or not. Be aware that St

Re: Scope Interceptor

2008-04-20 Thread Jeromy Evans
Kibo wrote: Hi konference I read the article there: http://struts.apache.org/2.0.9/docs/scope-interceptor.html and a want use scope interceptor, but it not work my. I dont know exactly, that i good understand it. I want save into session model: Employee. Hi Tomas, You are close to getti