Re: S2.1.x declarative validation and primitive types: is this a bug?

2007-12-06 Thread Giovanni Azua
Hi Jeromy, Many thanks for your thoughtful feedback on this issue. Jeromy Evans wrote: Personally, I never expose primitives as properties of an action because null values are always legal over this interface. In the special case of Boolean which can easily accidentally cause an NPE, I alway

Re: S2.1.x declarative validation and primitive types: is this a bug?

2007-12-05 Thread Jeromy Evans
Giovanni Azua wrote: Personally, I never expose primitives as properties of an action because null values are always legal over this interface. In the special case of Boolean which can easily accidentally cause an NPE, I always make the getter return false if the value is null.. This validatio

Re: S2.1.x declarative validation and primitive types: is this a bug?

2007-12-05 Thread Giovanni Azua
Hi Jeromy, Jeromy Evans wrote: 2nd, the parameters interceptor is called and sets properties of your action. It cannot set primitives to null, so it does not write to these properties. 3rd, the validation interceptors are executed. They cals the getters of your action instance and observe th

Re: S2.1.x declarative validation and primitive types: is this a bug?

2007-12-05 Thread Jeromy Evans
Giovanni Azua wrote: hi, I provided declarative XML validation for a form where the action would expose primitive type properties. The problem is that a primitive type property left blank in the form would never be caught as not provided by the "required" validation. The property would inste

S2.1.x declarative validation and primitive types: is this a bug?

2007-12-05 Thread Giovanni Azua
hi, I provided declarative XML validation for a form where the action would expose primitive type properties. The problem is that a primitive type property left blank in the form would never be caught as not provided by the "required" validation. The property would instead be set with the def

Re: Is this a BUG in S2

2007-05-24 Thread tom tom
Hi, if the action string is being evaluated in the URL tag what does it output the expression as it is, If we have the same expression in value attribute it does evaluate, That is where we are doubtful. In portal mode the action attribute does convert the string to portal string where as value d

Re: Is this a BUG in S2

2007-05-23 Thread Jeromy Evans
In the simple case, this: and this: would be identical. You can also use the tag to include request parameters. You can create any URL you need using the value attribute and params. You referenced portal in your email so you might be using this in a mode I haven't tried. Looking at the

Re: Is this a BUG in S2

2007-05-23 Thread tom tom
Yes you are right, Even though action attribute doesnt get evaluated value attribute does, but that is of no use as it does not create the URL string to suite with Portal env. The biggest concern is why the action attrbute of URL tag doesnt evaluate. that is following doesnt work

Re: Is this a BUG in S2

2007-05-23 Thread Dave Newton
--- tom tom <[EMAIL PROTECTED]> wrote: > for the second one there is no href > attribute for the URL tag hence doesnt work. The "value" attribute creates the href if the "action" attribute isn't used. d. ___

Re: Is this a BUG in S2

2007-05-23 Thread tom tom
Hi, Thanks for the reply, I tried both but with no luck, Option 1 as stated I gave $actionName but doesnt evaluate and for the second one there is no href attribute for the URL tag hence doesnt work. I tried various combinations like c:out, ${actionName}, ${testID.actionName} and also %{actionNa

Re: Is this a BUG in S2

2007-05-22 Thread Jeromy Evans
I haven't tried to use a dynamic action name like that so can't comment on whether its a bug or feature, but one of these options should work: 1. Try using the ${} notation without the c:out (I can't find the reference for this approach but it's somewhere on the wiki) 2. Alternatively, work

Is this a BUG in S2

2007-05-22 Thread tom tom
Hi, We are experiencing that action attribute of the . . Is there any way to overcome this kind of requirements. Thanks __

Is this a Bug?I can't response 's treeSelected event with version 2.0.5

2007-02-10 Thread 宋昱
I downloader the archive with version 2.0.5 today,but I can't handle the 's treeSelected event using my code. I found this error even in the example showcase.Is this a bug?

Re: Struts-Faces: Is this a bug?

2006-05-09 Thread Wendy Smoak
On 5/9/06, A. Alonso Dominguez <[EMAIL PROTECTED]> wrote: Hi there! I'm trying to use the new struts-action framework, version 1.3.3 with tiles and faces. I'm following the example applications but I found possibly a bug when rendering a struts-based FormBean. ... While you wait for someone wh

Struts-Faces: Is this a bug?

2006-05-09 Thread A. Alonso Dominguez
Hi there! I'm trying to use the new struts-action framework, version 1.3.3 with tiles and faces. I'm following the example applications but I found possibly a bug when rendering a struts-based FormBean. The jsp code that I was using is as follows:

RE: -- is this a bug

2005-06-03 Thread Qinjian Jian
Yes. That's it. Thanks a lot. Tim Jian Momentum systems, Inc. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Friday, June 03, 2005 11:27 AM To: Struts Users Mailing List Subject: Re: -- is this a bug From: "Qinjian Jian" <[EMAIL PROTECTED]&

Re: -- is this a bug

2005-06-03 Thread Wendy Smoak
d unchanged and still > were checked. I can see them both on jsp page and form bean's property > selectedUsers. Is this a bug for the tag? http://struts.apache.org/userGuide/struts-html.html#multibox " WARNING: In order to correctly recognize cases where none of the associated

-- is this a bug

2005-06-03 Thread Qinjian Jian
both on jsp page and form bean's property selectedUsers. Is this a bug for the tag? Thanks. Tim Jian Momentum systems, Inc.