Re: Using class constant in if tag

2007-11-17 Thread Shyamal Mehta
Thanks Wesley, that works. On Nov 17, 2007 1:12 PM, Wes Wannemacher <[EMAIL PROTECTED]> wrote: > I haven't tried it, but I don't think that OGNL cares about your > imports. If your constant is static, then try - > > > > On 11/16/07, Shyamal Mehta <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I am us

S2/SmartURLs: parameterized results...

2007-11-17 Thread Eric D Nielsen
I've been trying to understand how parameterized results should work under the SmartURLs plugin for Struts 2. In my specific case, I'm trying to redirect on success to a new URL that includes a paramter. I've tried modelling it after the standard XML=based example in the WebWork in Action book on

Re: captcha + struts2

2007-11-17 Thread Chris Pratt
On Nov 17, 2007 6:14 AM, Brian Relph <[EMAIL PROTECTED]> wrote: > I was wondering if anyone could help with a captcha implementation in > struts2. i have seen plenty of stuff on the acegi + captcha implementation > in appfuse, but i am not using acegi ... > I've used SimpleCaptcha in the past, bu

Re: captcha + struts2

2007-11-17 Thread Tom Schneider
This might be a good starting point: http://appfuse.org/display/APF/CAPTCHA+Integration Brian Relph wrote: > > I was wondering if anyone could help with a captcha implementation in > struts2. i have seen plenty of stuff on the acegi + captcha > implementation > in appfuse, but i am not using a

captcha + struts2

2007-11-17 Thread Brian Relph
I was wondering if anyone could help with a captcha implementation in struts2. i have seen plenty of stuff on the acegi + captcha implementation in appfuse, but i am not using acegi ...

Re: Getting values from iterated objects

2007-11-17 Thread Dave Newton
The tags support maps, too. http://struts.apache.org/2.x/docs/type-conversion.html Dave --- Kevin Wade <[EMAIL PROTECTED]> wrote: > Thanks for the tip, Dave. However, it's not working > for me. > > I think the problem may be that the "author" objects > that I'm > iterating over is a Set, no

Re: Getting values from iterated objects

2007-11-17 Thread Kevin Wade
Thanks for the tip, Dave. However, it's not working for me. I think the problem may be that the "author" objects that I'm iterating over is a Set, not a List. (These objects are pojos hydrated by hibernate). I might be wrong, but I didn't think Sets are indexable like Lists. No? I sup

Re: [S2] wildcard mapping and spring

2007-11-17 Thread Laszlo Borsos
Thank you, Omkar. You were right. I just had a "*/*" mapping as well, and to my surprise struts used that when I was expecting "*" to be mapped. (the url was a simple "contextname/actionname"). Anyway, it works now. kuvera Omkar Patil wrote: > > Laszlo Borsos wrote: >> I started using Spring 2