Re: Passing Action parameter in struts.xml

2008-04-21 Thread Tommy Becker
I really should read the documentation ;) http://struts.apache.org/2.x/docs/static-parameters-interceptor.html http://www.motricity.com Tommy Becker wrote: I can't seem to get any parameters to actually pass to actions via struts.xml. Here's an example action config out of my struts.xml

Passing Action parameter in struts.xml

2008-04-21 Thread Tommy Becker
I can't seem to get any parameters to actually pass to actions via struts.xml. Here's an example action config out of my struts.xml (ignore the slashes in the action name, we're using a third party container): action name=EndUserWMLRingtonesHome

URL encoding question

2008-02-20 Thread Tommy Becker
I'm having trouble getting s:url to stop encoding a parameter. Here's a snipped of my jsp code: s:url id=couponUrl action=Buy encode=false s:param name=coup value=%{'$codeInput'}/ s:param name=c1 value=c1/ s:param name=c2 value=c2/ /s:url s:textfield title=codeInput name=codeInput/br

Re: Get current URL on a page

2008-02-12 Thread Tommy Becker
that? Dave Newton wrote: --- Tommy Becker [EMAIL PROTECTED] wrote: Unfortunately it is. I'm creating a url to another site using s:url and passing the current url as a parameter. I suppose I don't *have* to use s:url Is it not possible? The S2 OGNL docs say there's access

Re: Get current URL on a page

2008-02-12 Thread Tommy Becker
. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications From: Tommy Becker [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org Date: Tue, 12 Feb 2008 10:31:09 -0500 To: Struts Users Mailing List user@struts.apache.org Subject: Get current URL

Get current URL on a page

2008-02-12 Thread Tommy Becker
Is there a way to get the URL for the current page using struts tags? I thought I had access to the HttpRequest, and therefore could just use getRequestURL() but it appears the docs have led me astray :/ http://www.motricity.com NOTICE: This e-mail message is for the sole use of the intended

Re: Custom OGNL PropertyAccessor

2008-02-06 Thread Tommy Becker
is being stuck with the class we're using the PropertyAccessor *for*, but unfortunately that's reality for now. Using the PropertyAccessor just makes our pages much cleaner. http://www.motricity.com Regards, Tommy Becker Jeromy Evans wrote: My guess, and it is just a guess, is that your bean

Custom OGNL PropertyAccessor

2008-02-05 Thread Tommy Becker
I have a question about using OGNL PropertyAccessors. We have an object on the value stack that we expose to JSP pages that does not have standard JavaBeans getter/setter methods. From what I can tell, this leaves us 2 options. We can either call the getter methods explicitly via OGNL method

Re: Custom OGNL PropertyAccessor

2008-02-05 Thread Tommy Becker
getProperty() despite our attempt at registering a custom PropertyAccessor. Laurie Harper wrote: Tommy Becker wrote: I have a question about using OGNL PropertyAccessors. We have an object on the value stack that we expose to JSP pages that does not have standard JavaBeans getter/setter

Re: Custom OGNL PropertyAccessor

2008-02-05 Thread Tommy Becker
No I haven't. How do I go about doing that? Dave Newton wrote: --- Tommy Becker [EMAIL PROTECTED] wrote: If there were a better description, I'd be happy to give it. As far as I can tell, our custom PropertyAccessor is not being used. What we want is to be able to say property