How to get multiple selected values(from multiple select box) in Action?

2006-08-24 Thread nirav
How to get multiple selected values(from multiple select box) in Action? I tried using String, String[] and rrayList in FormBean, but I am not getting values in action using these? Thanks in advance. - Posted via Jive Forums h

Re: 1.3.x: Action Aliasing

2006-08-24 Thread Ted Husted
On 8/24/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: The other approach, if you're using something like Digester (which is true at least for S1) to parse the config file, is to define an explicit rule that calls the right setter if there is an attribute with a specified name. We do the same

Re: Announcement: WebWork 2.2.3 released!

2006-08-24 Thread Ted Husted
On 8/23/06, Ted Husted <[EMAIL PROTECTED]> wrote: > I'm hoping to upgrade AppFuse from WW to the latest Struts 2.0.0 > snapshot this week. I'm starting a presentation on "Migrating from > Struts 1 to Struts 2" next week. Has anyone started such a document? > I'd be happy to contribute. Not as s

Re: ApacheCon 2006

2006-08-24 Thread Ted Husted
On 7/27/06, Ted Husted <[EMAIL PROTECTED]> wrote: ApacheCon US has accepted my offer to present a half-day tutorial on Migrating to Struts 2. So, my tutorial is on Monday, Don's presentation is on Wednesday, and ApacheCon runs through Friday. Is anyone else coming out for the "Hackathon" days

Re: Announcement: WebWork 2.2.3 released!

2006-08-24 Thread Jason Carreira
> On 8/23/06, Ted Husted <[EMAIL PROTECTED]> wrote: > > In my five-day class last week, we spent most of the > time covering > Struts 2 from the ground-up, and I made comparisons > to Struts 1 along > the way. The course uses the MailReader as a running > example. On day > five, after we had built

Re: [s2] Action ! Method syntax (was Freemarker transform name)

2006-08-24 Thread Jason Carreira
> Ok, this issue breaks down like this in my mind: > 1. Should our tags (url, form, etc) have attributes > for the > amespace, action, and method, or just have one for > the url? > 2. Should our default ActionMapper allow the method > to be specified in the url? > Issue #1 goes back to the more f

Re: [s2] Action ! Method syntax (was Freemarker transform name)

2006-08-24 Thread Jason Carreira
> I guess why I don't like this mentality is that we > have these kinds of security holes all over the > place. If you expose getters or setters that are > unsafe in your action or _any_ of your model objects, > you can get that problem. The fact is that with > dynamic reflection that is controlled

Re: ApacheCon 2006

2006-08-24 Thread Martin Cooper
On 8/24/06, Ted Husted <[EMAIL PROTECTED]> wrote: On 7/27/06, Ted Husted <[EMAIL PROTECTED]> wrote: > ApacheCon US has accepted my offer to present a half-day tutorial on > Migrating to Struts 2. So, my tutorial is on Monday, Don's presentation is on Wednesday, and ApacheCon runs through Frida

Re: Announcement: WebWork 2.2.3 released!

2006-08-24 Thread Matt Raible
On 8/24/06, Ted Husted <[EMAIL PROTECTED]> wrote: On 8/23/06, Ted Husted <[EMAIL PROTECTED]> wrote: > > I'm hoping to upgrade AppFuse from WW to the latest Struts 2.0.0 > > snapshot this week. I'm starting a presentation on "Migrating from > > Struts 1 to Struts 2" next week. Has anyone started

Re: [s2] Action ! Method syntax (was Freemarker transform name)

2006-08-24 Thread Bob Lee
On 8/24/06, Jason Carreira <[EMAIL PROTECTED]> wrote: I disagree here because the URL mapping is more likely to change than the namespace / actionName mapping. Consider if you leave the namespace empty and just give an action name, it will assume the same namespace. Now if you change the namespa

Re: 1.3.x: Action Aliasing

2006-08-24 Thread Martin Cooper
On 8/23/06, Paul Benedict <[EMAIL PROTECTED]> wrote: Ted Husted wrote: > Use "action-id" then. The point is that moniker "alias" is going to > cause confusion, since it already means something entirely different > within the Struts 2 community. Right now attributes are squarely mapped to propert

Re: [s2] Validation

2006-08-24 Thread Ted Husted
On 8/2/06, Patrick Lightbody <[EMAIL PROTECTED]> wrote under [s2] Validation: One thing I'd add before Jason chimes in is that you can tie validation to the action name by naming the file ActionClass-actionName-validation.xml. But you still also must have the action class in the filename as we

Re: [s2] Action ! Method syntax (was Freemarker transform name)

2006-08-24 Thread Patrick Lightbody
> > I guess why I don't like this mentality is that we > > have these kinds of security holes all over the > > place. If you expose getters or setters that are > > unsafe in your action or _any_ of your model > objects, > > you can get that problem. The fact is that with > > dynamic reflection that

Re: [s2] Action ! Method syntax (was Freemarker transform name)

2006-08-24 Thread Jason Carreira
> > First off: we're *not* deprecating and removing the ! > notation at this point. That is what this discussion > is entirely about. Not YET... that's what the conversation was about as I read it... when, not if. > > Why not disable getters and setters by default too > and require people pull

Re: [s2] Action ! Method syntax (was Freemarker transform name)

2006-08-24 Thread Bob Lee
We use the "!" syntax, and I'd really like something more secure to replace it (store valid methods in the session, signed URLs, something), but I'm OK with defaulting the flag to "off." Bob On 8/24/06, Jason Carreira <[EMAIL PROTECTED]> wrote: > > First off: we're *not* deprecating and removi

Re: [s2] Action ! Method syntax (was Freemarker transform name)

2006-08-24 Thread Patrick Lightbody
> I need everyone to understand this: the goal should > be for us (the project leaders) to agree on a style > of development using Struts that we can all feel > comfortable recommending as the default starting > point. For example, I think the default starting > point should be on that encourages l

Re: [s2] Action ! Method syntax (was Freemarker transform name)

2006-08-24 Thread Patrick Lightbody
> > First off: we're *not* deprecating and removing the > ! > > notation at this point. That is what this > discussion > > is entirely about. > > Not YET... that's what the conversation was about as > I read it... when, not if. It's not a "when" to me - it's an "if" and a "why" type of discussio

Re: [s2] Action ! Method syntax (was Freemarker transform name)

2006-08-24 Thread Ted Husted
On 8/24/06, Jason Carreira <[EMAIL PROTECTED]> wrote: Not YET... that's what the conversation was about as I read it... when, not if. Hmmm, could be if. At this point, no one is sure, because no one has tried very hard to do the same thing (better) without the ! syntax. Doing it with mappings a

Re: 1.3.x: Action Aliasing

2006-08-24 Thread Paul Benedict
Why not just call it actionId instead of action-id? Done. I gather from the names we choose, most of everything is lower case. It could just be a style objection -- certainly not a content objection. - To unsubscribe, e-mail:

Re: Announcement: WebWork 2.2.3 released!

2006-08-24 Thread Ted Husted
On 8/24/06, Matt Raible <[EMAIL PROTECTED]> wrote: Yes. I expect the audience I'm presentation to to be familiar with Struts 1.x. I'm sure it's good to do an intro to Struts 2.0 as well, but overall I'd like to have them leave a 1.5 hour presentation with the knowledge they need to convert a St

Missing 1.3.x Tag Reference Descriptions

2006-08-24 Thread Paul Benedict
I noticed on the Struts 1.3 web site, the reference guide for the tag libraries do not have any descriptions. Is this a problem with the current Maven 2 plug-in? http://struts.apache.org/1.x/struts-taglib/tagreference.html#struts-html.tld Paul -

Re: Missing 1.3.x Tag Reference Descriptions

2006-08-24 Thread Wendy Smoak
On 8/24/06, Paul Benedict <[EMAIL PROTECTED]> wrote: I noticed on the Struts 1.3 web site, the reference guide for the tag libraries do not have any descriptions. Is this a problem with the current Maven 2 plug-in? http://struts.apache.org/1.x/struts-taglib/tagreference.html#struts-html.tld A

Struts 1.3: PerformInclude (possible bug)

2006-08-24 Thread Paul Benedict
I got some good advice that my first two emails were without context. ;-) They were. My apologies. I noticed that the PerformInclude does not perform an include, but a forward. Is this an oversight? I am looking at Struts 1.3 core, HEAD, revision 42119: protected void perform(ActionConte

Re: 1.3.x: Action Aliasing

2006-08-24 Thread Martin Cooper
On 8/24/06, Paul Benedict <[EMAIL PROTECTED]> wrote: Why not just call it actionId instead of action-id? Done. I gather from the names we choose, most of everything is lower case. It could just be a style objection -- certainly not a content objection. I'm not sure what all you're including

Re: 1.3.x: Action Aliasing

2006-08-24 Thread Paul Benedict
Based on everyone's recommendations, I am going to try "action-id" as the attribute. I couldn't find it in the source, but isn't there some Digester config file I can modify? Or not.. Is it done explicitly in the ActionServlet? It looks like it, but I'd like some verification on this. Paul --

Re: Issue STR-2932: Clarification request for compatibility policy

2006-08-24 Thread James Mitchell
Ok, good to go. -- James Mitchell 678.910.8017 On Aug 22, 2006, at 11:45 PM, John Fallows wrote: On 8/22/06, James Mitchell <[EMAIL PROTECTED]> wrote: I'd say it's more a matter of doing what it has always done rather than doing what others like it have done. What I mean is, adding this

Re: ApacheCon 2006

2006-08-24 Thread Wendy Smoak
On 8/24/06, Ted Husted <[EMAIL PROTECTED]> wrote: So, my tutorial is on Monday, Don's presentation is on Wednesday, and ApacheCon runs through Friday. Is anyone else coming out for the "Hackathon" days on Monday and Tuesday? Yes, I'll be there all week. -- Wendy ---