Re: Validation "Mask": unicode characters

2009-04-01 Thread Mohan Radhakrishnan
Since Struts 2 supports J2SE 5.0 all the validation( in-built ) etc. will inherently use J2SE 5.0's support for i18n. How is this done ? Thanks, Mohan -- View this message in context: http://www.nabble.com/Validation-%22Mask%22%3A-unicode-characters-tp14206855p22841840.html Sent from the Struts

Re: ExecuteAndWaitInterceptor not working (2.1.6)

2009-04-01 Thread Musachy Barroso
I think we should throw an exception, but that would break backward compatibility. It will still create a page but the implementation is a little bit different. musachy On Wed, Apr 1, 2009 at 9:31 PM, wrote: > > > > >  Thanks --? I think Struts 2.0.x had an earlier version of the interceptor >

Re: ExecuteAndWaitInterceptor not working (2.1.6)

2009-04-01 Thread musomesa
Thanks --? I think Struts 2.0.x had an earlier version of the interceptor that would create a wait page dynamically.? No problem as long as it is the expected behavior. That being the case, perhaps we should change the documentation at http://struts.apache.org/2.x/docs/execute-and-wait-int

Re: Action an overused term?

2009-04-01 Thread musomesa
Maybe we should start calling them struts2 beans or something. It might also lessen the frequency of people thinking they are functionally the same as Struts 1 actions. Chris -Original Message- From: Musachy Barroso To: Struts Users Mailing List Sent: Wed, 1 Apr 2009 4:40 pm

Re: ActionMapper doesn't add Parameter

2009-04-01 Thread joea88
You need to add to your struts.xml. Stephan Schröder wrote: > > the objectiv is to be able to have url like ".../public/123.mp3" so this > customized ActionMapper was written. > > public class MyActionMapper extends DefaultActionMapper { > >static ActionMapper fallback = new DefaultA

Re: WW-1960 converting all parameters to string array

2009-04-01 Thread Musachy Barroso
You might want to search the @dev mailing list archives, I remember this was mentioned. musachy On Wed, Apr 1, 2009 at 4:40 PM, Saqib Chaudhary wrote: > Recently I upgraded to struts 2.1 GA from 2.0. Noticed that param tag used > in action tag is no longer passing non array non string objects to

RE: WW-1960 converting all parameters to string array

2009-04-01 Thread Martin Gainty
you may have found a bug on a untested cornercase.. pls see followup comments in JIRA thanks > > Recently I upgraded to struts 2.1 GA from 2.0. Noticed that param tag used > in action tag is no longer passing non array non string objects to the > action being called, actually throwing an excepti

WW-1960 converting all parameters to string array

2009-04-01 Thread Saqib Chaudhary
Recently I upgraded to struts 2.1 GA from 2.0. Noticed that param tag used in action tag is no longer passing non array non string objects to the action being called, actually throwing an exception Change is under https://issues.apache.org/struts/browse/WW-1960 ActionComponent class has the follo

Float conversion: requires comma as floating point symbol.

2009-04-01 Thread boraldo
I have a float field on my form. When I type 1.1 (point as floating point symbol) it shows conversion error java.lang.NoSuchMethodException: setPrice([Ljava.lang.String;) But I do have a method public void setPrice(Float price) { this.price = price; } If I type 1,1 (comma as f

Re: OT - No Joke - Ted's Going Emeritus

2009-04-01 Thread Antonio Petrelli
Good Luck Ted! 2009/4/1 Ted Husted : > I've been working with a local (to me) firm that > specializes in providing system integration services to non-profits. > The work here is mainly .NET Err... is it a contradiction? :-D > And ... thanks for all the fish :) Is it another way to tell us that

Error when starting sun java App Server com.opensymphony.xwork2.inject.DependencyException: Security manager in use, could not access constructor: com.opensymphony.xwork2.ObjectFactory(com.opensymphon

2009-04-01 Thread srinivasch
WEB0100: Loading web module [budsystem] in virtual server [server] at [/budsystem] Starting Servlet Engine: Sun-Java-System/Application-Server Parsing configuration file [struts-default.xml] Parsing configuration file [struts-plugin.xml] Unable to locate configuration files of the name struts.xml,

Re: NPE in Visitor Validation migrating from 2.0.14 to 2.1.6

2009-04-01 Thread Musachy Barroso
This was fixed in xwork trunk(yesterday). I can't find the ticket now :) musachy On Wed, Apr 1, 2009 at 2:00 PM, Derrick Koes wrote: > If I attempt to use an empty message node in my visitor validator > configuration, I get a NullPointerException from > TextParseUtil.translateVariables (line 155

NPE in Visitor Validation migrating from 2.0.14 to 2.1.6

2009-04-01 Thread Derrick Koes
If I attempt to use an empty message node in my visitor validator configuration, I get a NullPointerException from TextParseUtil.translateVariables (line 155) because "expression" (the default message if message key is null) is null. I can sort of work around the issue by adding a default messa

Re: using inject with Convention Plugin

2009-04-01 Thread dusty
GUICE usage is strictly forbidden. Adam Ruggles wrote: > > If you're using spring, why don't you use spring to inject your property? > > > > Kumar Mettu wrote: >> >> Musachy, >> >>   This works great as long as default Struts Object Factory is used but >> get the exception the following

Re: ExecuteAndWaitInterceptor not working (2.1.6)

2009-04-01 Thread Musachy Barroso
Sorry I hadn't looked at this in detail. As Dale said, you need to define a "wait" result. Struts should not be trying to create it if it isn't there, it should throw an exception instead. musachy On Wed, Apr 1, 2009 at 11:30 AM, wrote: > >  Will do. > Chris > > > > > > > > -Original Messag

OT - No Joke - Ted's Going Emeritus

2009-04-01 Thread Ted Husted
Those of you long-in-the-tooth will have noticed that I've been inactive in the Apache Struts project for some time now, and I've requested a change of my Struts PMC status to emeritus. Although others have now taken my place, I'd like to mention that serving on the PMC has been both a pleasure an

Re: Action an overused term?

2009-04-01 Thread Musachy Barroso
And that is why I love Groovy's "import something as somethingelse" :) musachy On Wed, Apr 1, 2009 at 11:35 AM, wrote: > We are at the point where in many cases we will want an action to > 1. implement Action (for configuration by convention purposes) and also > 2. use the @Action annotation >

Action an overused term?

2009-04-01 Thread musomesa
We are at the point where in many cases we will want an action to 1. implement Action (for configuration by convention purposes) and also 2. use the @Action annotation So we are faced with either using fully qualified names for one of the 'Action's or taking the route of extending ActionSupport

Re: ExecuteAndWaitInterceptor not working (2.1.6)

2009-04-01 Thread musomesa
Will do. Chris -Original Message- From: Musachy Barroso To: Struts Users Mailing List Sent: Tue, 31 Mar 2009 11:09 am Subject: Re: ExecuteAndWaitInterceptor not working (2.1.6) Add the full stack trace and as much information as possible. thanks musachy On Tue, Mar

How do I execute this action servlet on startup?

2009-04-01 Thread laredotornado
Hi, I'm using Struts 1.3 on WebLogic 9.2.2. I have this defined in my struts-config.xml file: This servlet takes no parameters. How do I get this to run upon application startup? Thanks, - Dave -- View this message in context: http://www.nabble.com/How-do-I-execute-this-

Re: possible memory leak

2009-04-01 Thread Musachy Barroso
A new version of FreeMarker is used with 2.1.x, can you downgrade it to the version you had before and see if the problem is still there? thanks musachy On Wed, Apr 1, 2009 at 7:03 AM, Bogdan Serban wrote: > Hi, > > I have upgraded from 2.0.9 to 2.1.2 and after some tests i saw that > the jvm in

Freemarker ServletUrlRenderer.renderFormUrl NPE moving from 2.0.14 to 2.1.16

2009-04-01 Thread Derrick Koes
Martin, I don't think I understand your question. I have a freemarker template. There is no jsp involved. The problem is in rendering the struts form tag (in freemarker this is @s.form). If I use this, then I get the NPE and nothing renders. <@s.form method="POST" name="newuser" theme="simple"

Re: post-redirect-get in Firefox

2009-04-01 Thread Adam Hardy
Found out how to reproduce it. If I try over and over to submit a form, it fails several times and is repeatedly redisplayed with an error message. In my case "primary key is duplicate" because I keep forgetting to update it manually when I mess around like this in dev. Since the primary key

possible memory leak

2009-04-01 Thread Bogdan Serban
Hi, I have upgraded from 2.0.9 to 2.1.2 and after some tests i saw that the jvm increased memory usage from 16-19% to 85%. I've made a heap dump and i saw that i have a lot of freemarker objects into memory, it seems that beans are cached and never released, i had the same settings for the 2.0.9 b

The requested list key 'menuList' could not be resolved as a collection/array/map/

2009-04-01 Thread Junhua gao
who can please help me? select can not work. jsp file action file private ListmenuList= new ArrayList(); public void setMenuList(List menuList) { this.menuList = menuList; } public List getMenuList() { return this.

Re: Visible form validation missing after upgrade from 2.0.11 to 2.1.6

2009-04-01 Thread Henrik Brautaset Aronsen
On 31-03-09 16:15, Henrik Brautaset Aronsen wrote: I've done some more digging: I can see the error messages by using [1], but why aren't they automatically attached to the like they were in Struts 2.0.x? I managed to solve my problem. I believe it's a bug, and I've created it as WW-3069