Re: Tiles2.2.1, Struts2.1.8.1, Spring2.5.6 === UnresolvingLocaleDefinitionsFactory.java:102 ???

2010-01-29 Thread Antonio Petrelli
2010/1/28 Emi Lu em...@encs.concordia.ca: I think both struts2 Tiles2' official websites should highlight this in a very prominent position! It's only a matter of Struts, Tiles is totally independent to Struts. Antonio - To

Re: Struts 2 Weblogic and NTLM

2010-01-29 Thread Sunil Netra
There must be extra white space. Try trim: response.setHeader(WWW-Authenticate, NTLM + new sun.misc.BASE64Encoder().encodeBuffer(msg1).trim()); -- View this message in context: http://old.nabble.com/Struts-2-Weblogic-and-NTLM-tp16032835p27369873.html Sent from the Struts - User mailing list

Re: Modifying action mapping per device type

2010-01-29 Thread Marcus Bond
, e-mail: user-h...@struts.apache.org __ NOD32 4817 (20100129) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com - To unsubscribe, e-mail: user-unsubscr

Boolean Type Conversion

2010-01-29 Thread RogerV
Hi I have a collection of objects, each one contains a boolean flag, and I'm displaying these via a JSP as a list via an interator. Struts is converting the boolean fields into the strings true and false, I'd like to be able to 1) display them as Y and N 2) convert back to true and false when

Re: Modifying action mapping per device type

2010-01-29 Thread Greg Lindholm
For additional commands, e-mail: user-h...@struts.apache.org __ NOD32 4817 (20100129) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com - To unsubscribe, e-mail

Re: Modifying action mapping per device type

2010-01-29 Thread Marcus Bond
- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org __ NOD32 4817 (20100129) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com

Re: I18nInterceptor / request_locale not working as expected

2010-01-29 Thread Bhaarat Sharma
Hi stephan, I see you solved your issue regarding resource bundle. I am having a problem where intermittently the resource bundles get lost and instead of seeing values on the browser...we start seeing actual properties like: my.label.name. using the execute method for your code below...is

Re: Any way to load resources in java.util.ResourceBundle

2010-01-29 Thread Bhaarat Sharma
no help on this one? On Wed, Jan 27, 2010 at 12:43 PM, Bhaarat Sharma bhaara...@gmail.comwrote: We have seen situations where sometimes the global resource bundles are lost intermittently for some sessions. We are in a clustered/shared environment where multiple apps are deployed onto a

Re: Modifying action mapping per device type

2010-01-29 Thread Gabriel Belingueres
For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org __ NOD32 4817 (20100129

Redirect List Parameter

2010-01-29 Thread Timothy Orme
Hello All, I have a typical scenario: 1. User is presented a list of orders, and can select some of them to complete. A list of order numbers is sent to the next action. (ViewOrders.action) 2. Struts action completes the order by iterating through the list of passed order

Re: Modifying action mapping per device type

2010-01-29 Thread Marcus Bond
- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org __ NOD32 4817 (20100129) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com

Re: Redirect List Parameter

2010-01-29 Thread Eric Rich
Timothy, If I understand you correctly you want to redirect and pass values. I have done this by encoding my url with proper html syntax. action name=CompleteOrders class=test.CompleteOrdersAction result name=success type=redirectAction

Re: Redirect List Parameter

2010-01-29 Thread Eric Rich
Sorry the line result should be like this: result name=success type=redirectAction stest/CompleteConfirmation.action?orderNumbers=${ordernumber1}amp;orderNumbers=${ordernumber2}amp;orderNumbers=${ordernumber3}amp;orderNumbers=${ordernumber4}/result Eric Rich Data System Administrator

Re: Redirect List Parameter

2010-01-29 Thread Timothy Orme
Right, this is similar to what I want, but it would have to be dynamically generated, as I don't know the size of the list. For instance, in this case, the user would have selected 4 orders, but in the next case could select 10. The problem isnt passing parameters, it's passing a parameter

Re: Redirect List Parameter

2010-01-29 Thread Greg Lindholm
If you are using a result type of redirectAction you don't explicitly code the url just give it the action name and let the result construct the correct url. To pass parameters with a redirectAction you do it like this: result name=success type=redirectAction param

Re: Redirect List Parameter

2010-01-29 Thread Timothy Orme
Yeah, I think my best option here is to just convert my list of ints to a comma separated list. It seems though, that since the request object can handle lists, that there should be a way to add list parameters in struts. Right now the function to add a parameter in ServletRedirectResult

Re: Different results with spring

2010-01-29 Thread Wes Wannemacher
What you are doing should work the way you expect... I use the Spring integration all the time :) A few simple questions, do you have the spring-plugin installed? Do you have the Spring ContextLoaderListener setup in the web.xml? Do you have any non-default configuration settings in any of

Re: Boolean Type Conversion

2010-01-29 Thread Wes Wannemacher
I don't know if I'd go too far creating a TypeConverter... Can you just do something like this - s:if test=%{your.boolean.property}Y/s:ifs:elseN/s:else Really, you could probably create a .tag file out of it and reuse it easier than creating a Type Converter. -Wes On Fri, Jan 29, 2010 at 7:48

Re: Different results with spring

2010-01-29 Thread Miguel
Hi, Thanks for answering!! I'll post my relevant configurations. I'm using spring 2.5.6 and struts 2.1.8.1. I have the spring plugin in the struts.conf, and my actions are correctly autowired by name. I also have an include in struts.conf where the relevant action is called. The thing here is I

redirectAction not working

2010-01-29 Thread Robby Atchison
Hello, I have the following configuration in a Struts.xml file. The paramsPrepareParamsStack is the default interceptor stack. AccountAction does not implement any interfaces. Both BankcardAction and ECheckAction implement Preparable and ModelDriven. action name=account