Re: com/opensymphony/xwork2/util/finder

2014-12-11 Thread Bruno Klava
I had similar problems after upgrading Struts to 2.3.20. Check in your dependency hierarchy if you have any dependency to asm or cglib. For my cases, I had some dependencies to older versions of these libs, and i had to exclude some transitive dependencies in my pom.xml: exclusions exclusion

NPE in ActionSupport.getText() from servlet

2014-05-06 Thread Bruno Klava
Hi, in order to load a message from a *.properties file from a servlet, I used to do: new ActionSupport().getText(messageKey); It used to work in Struts versions up to 2.3.15.3. In Struts 2.3.16+ versions, now I get a NPE: java.lang.NullPointerException at

Re: NPE in ActionSupport.getText() from servlet

2014-05-06 Thread Bruno Klava
Answering my own question: LocalizedTextUtil.findDefaultText(messageKey, Locale.getDefault()) On Tue, May 6, 2014 at 1:30 PM, Bruno Klava bkl...@gmail.com wrote: Hi, in order to load a message from a *.properties file from a servlet, I used to do: new ActionSupport().getText(messageKey

Re: Possible bug in URL validator

2013-09-11 Thread Bruno Klava
https://issues.apache.org/jira/browse/WW-4198 On Tue, Sep 10, 2013 at 5:09 AM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2013/9/5 Bruno Klava bkl...@gmail.com: Hi folks, in Struts 2.3.15 the form-close-validate.ftl template was updated to use the regex field

Possible bug in URL validator

2013-09-05 Thread Bruno Klava
Hi folks, in Struts 2.3.15 the form-close-validate.ftl template was updated to use the regex field, but there is no such field in com.opensymphony.xwork2.validator.annotations.UrlValidator neither a default value for it in com.opensymphony.xwork2.validator.validators.URLValidator (like is done in

Re: Possible client side validation bug in Struts 2.3.15

2013-07-11 Thread Bruno Klava
Issue created: https://issues.apache.org/jira/browse/WW-4139 On Wed, Jul 10, 2013 at 6:18 AM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2013/7/10 Lukasz Lenart lukaszlen...@apache.org: 2013/7/5 Bruno Klava bkl...@gmail.com: As far as I can tell, this difference is due to changes made

Re: Possible client side validation bug in Struts 2.3.15

2013-07-05 Thread Bruno Klava
On Thu, Jul 4, 2013 at 4:25 PM, Bruno Klava bkl...@gmail.com wrote: Hi Maurizio, is was generating a minimal example but could not reproduce the bug in it. It must be something else, maybe a customized template/component. tnx anyway ;) Bruno On Wed, Jul 3, 2013 at 4:20 PM, Maurizio

Re: Possible client side validation bug in Struts 2.3.15

2013-07-04 Thread Bruno Klava
issue? Tnx in advance, Bruno -- Bruno Klava

Possible client side validation bug in Struts 2.3.15

2013-07-03 Thread Bruno Klava
Hi folks, after upgrading Struts from 2.3.14.3 to 2.3.15 my client side form validation stopped working. More specifically, the code to validate requiredstring is not being generated in the validateForm_xx() functions. Is anybody having the same issue? Tnx in advance, Bruno

Returning additional data to the AutocompleterTag

2012-02-03 Thread Bruno Klava
Hi everyone, concerning the usage of the AutocompleterTag from the struts2-jquery plugin: instead of returning just the autocomplete values (I'm returning just a few results to be shown), I'd like to return additional data (the total number of matches) to give a feedback to the user that there

Re: object set in session in interceptor not available to JSP for first launch.

2011-11-16 Thread Bruno Klava
How about setting your object in session before the action invocation, i.e, before actionInvocation.invoke()? Bruno On Wed, Nov 16, 2011 at 4:09 PM, Jyothrilinga Rao jyoth...@gmail.com wrote: Hi, I have the following configuration snippet in my struts.xml: package name=*default*