Re: [s1,validation] Multi-page flow, session-scoped DynaValidatorForm with checkbox

2011-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Thanks for the quick reply. On 6/17/2011 3:46 PM, Dave Newton wrote: > On Friday, June 17, 2011, Christopher Schultz wrote: >> I can't believe I've been working with Struts for nearly 10 years and >> I'm still using Struts 1. > > Fixed. Yeah,

Re: [s1,validation] Multi-page flow, session-scoped DynaValidatorForm with checkbox

2011-06-17 Thread Dave Newton
On Friday, June 17, 2011, Christopher Schultz wrote: > I can't believe I've been working with Struts for nearly 10 years and > I'm still using Struts 1. Fixed. > The problem is that if we check the box and submit to A2 (then show P2), > then go back (either browser-BACK or using our "previous" bu

[s1,validation] Multi-page flow, session-scoped DynaValidatorForm with checkbox

2011-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I can't believe I've been working with Struts for nearly 10 years and I'm only now attempting to use a multi-page flow with a form bean in the session. Of course, I'm having difficulty with checkboxes. Our (simplified) flow looks something like

@RequiredStringValidator annotation key

2011-06-17 Thread struts2query
Hi, I would like to know how to pass parameter to a message stored in resource bundle in @RequiredStringValidator annotation Example @RequiredStringValidator(key="userkey") public String getUsername() { return username; } and in resource bundle it is like something userkey = {0} {1} som

Re: Problem with configured action method names and Testing Framework - Action Testing with configured method names is broken in struts-2.2.3

2011-06-17 Thread UV
Of course I configured a method with the same name and returning String?!? But this is about using the action test framework of struts on actions configured with a method name in the XML instead of using the default execute() (which I use as a workaround now) So changing the names I use in th

Re: getText on XSLT transformation on an Action

2011-06-17 Thread JOSE L MARTINEZ-AVIAL
humm, that could do the trick. Altough I would need to extend it to get the locale from the ActionContext. 2011/6/17 Maurizio Cucchiara > is that [1] what you are looking for? > > [1] http://www.javaworld.com/javaworld/jw-12-2001/jw-1221-xslt.html?page=3 > > On 17 June 2011 09:26, wrote: > > >

Re: getText on XSLT transformation on an Action

2011-06-17 Thread Chris Pratt
Just remember that one of the more expensive parts of using XSLT is compiling the XSL StyleSheet. So using a dynamic StyleSheet will come with a cost. Another option would be to extend the XslResult to somehow provide dynamic data during the translation. Possibly as an XSL Extension, or at least

Re: getText on XSLT transformation on an Action

2011-06-17 Thread Maurizio Cucchiara
is that [1] what you are looking for? [1] http://www.javaworld.com/javaworld/jw-12-2001/jw-1221-xslt.html?page=3 On 17 June 2011 09:26, wrote: > > Well, the XML comes from an external provider through a webservice, so I > would prefer otheer solution...if possible. > Sent via BlackBerry from T-

Re: getText on XSLT transformation on an Action

2011-06-17 Thread jlmagc
Well, the XML comes from an external provider through a webservice, so I would prefer otheer solution...if possible. Sent via BlackBerry from T-Mobile -Original Message- From: Chris Pratt Date: Thu, 16 Jun 2011 22:24:33 To: Struts Users Mailing List Reply-To: "Struts Users Mailing List"