RE: Bizarre sporadic problem with streaming a stylesheet.

2010-09-23 Thread Andy Law
I wrote: Apologies for being late to the party, but this smells like a browser/proxy cache issue to me? and then mgainty wrote: i agree with andy do a view source and tracert on all urls i it is possible you'll see there is a man-in-the middle proxy altering the response

Re: Struts 2.2.1 Problem

2010-09-23 Thread Lukasz Lenart
Maybe it's related to that http://blog.o0o.nu/2010/07/cve-2010-1870-struts2xwork-remote.html I've added some more restrictive rules regarding request's parameters names. Lot of special characters are disallowed, take a look on line 138

Re: additional onsubmit javascript validation

2010-09-23 Thread Robert Taylor
Hi Mead, Binding validation to the click event on the submit button is not what i want. This would fire my validation before the onsubmit validation occurs. I want to leverage the Struts2 javascript validation framework which already exists. Then, if that succeeds, I would like to fire

Re: additional onsubmit javascript validation

2010-09-23 Thread Robert Taylor
Hi Dave, Based on my requirements (leverage the existing Struts2 client-side validation framework), I'm not sure modifying the templates will work here. It appears that when validate=true I need a way to tell Struts2 validation framework to not populate the onsubmit attribute. But I still

Re: additional onsubmit javascript validation

2010-09-23 Thread Dale Newfield
On 9/23/10 7:48 AM, Robert Taylor wrote: I'm not sure modifying the templates will work here. css_xhtml/form-validate.ftl contains: #if parameters.onsubmit?? ${tag.addParameter('onsubmit', ${parameters.onsubmit}; return validateForm_${parameters.id}();)} #else

S2 overriding a Localization property

2010-09-23 Thread Greg Lindholm
How do you override a Localization property that is bundled in a ActionClass.properties file? I'm planing on bundling up some common Action classes into a jar to be used by several projects. I plan on putting their properties in ActionClass.properties files that get bundled into the jar. I would

Re: S2 overriding a Localization property

2010-09-23 Thread Dave Newton
Provide a more-specific location--so as long as they can create a package- or class-level properties file that's more specific there's no issue. Are you looking for a different mechanism than that? Dave On Thu, Sep 23, 2010 at 5:02 PM, Greg Lindholm greg.lindh...@gmail.comwrote: How do you

Re: additional onsubmit javascript validation

2010-09-23 Thread Dave Newton
(And binding an event to onclick or onsubmit doesn't mean that existing handlers have to go away, depending on how you do it, or if you save existing handlers.) On Thu, Sep 23, 2010 at 1:51 PM, Dale Newfield d...@newfield.org wrote: On 9/23/10 7:48 AM, Robert Taylor wrote: I'm not sure

Re: additional onsubmit javascript validation

2010-09-23 Thread Robert Taylor
Hi Dale, I'm just using the xhtml theme, but I missed that chunk of code in xhtml/form-validate.ftl. That's what I needed. Thanks, /robert - Original Message - From: Dale Newfield d...@newfield.org To: Struts Users Mailing List user@struts.apache.org Cc: Robert Taylor