Re: Field-Validator and BigDecimal

2009-09-21 Thread strutstwouser
Robin Mannering-4 wrote: Values outside the range are picked up correctly. However, when the values are inside the range, the validation rule 'requiredstring' insists that there is no value for agencyCommRate and validation always fails. Looking at source of

Re: [S2] i18n for lists/maps

2009-09-10 Thread strutstwouser
Z, I'll clarify with a simple example : The dropdown must be like : select name=loanTypeoption value=1EnglishType1/optionoption value=2EnglishType2/option/select for EN and option value=1SpanishType1/optionoption value=2SpanishType2/option So, the values 1 and 2 remain constant, only the text

Re: [S2] i18n for lists/maps

2009-09-08 Thread strutstwouser
This won't work for me because the list is not maintained in Action, rather in a properties file - since it's a set of constants (ex : list of US states) Sparecreative wrote: You don¹t have to have a DB back end. Here¹s a couple of examples from our system: s:radio list=responses

Struts2 FTL tag attributes

2009-09-08 Thread strutstwouser
The documentation at http://struts.apache.org/2.x/docs/freemarker-tags.html says we can have arbitary parameters like @s.url value=somePage personId=${personId}/ . I tried this for s:select tag and am able to access the parameters within select.ftl (since i needed to do some custom processing

DWRValidator not working in Struts 2.1.6

2009-04-24 Thread strutstwouser
Hi, I'm getting an NPE when trying to use DWR validation in Struts 2.1.6. Basically, porting a Struts 2.0.x app that used DWR validation. The ValueStackFactory is null during the invocation and this throws the NPE while calling valueStackFactory.createValueStack(); In normal invocation, all is

Re: Error occurs in WebSphere - validatation.js not found in /struts/template/css_xhtml

2008-10-07 Thread strutstwouser
You may want to check if you've the latest Websphere patches installed, since this could be a Websphere specific issue ; i had come across http://www.nabble.com/Re%3A--S2-FIXED!--Websphere-6.1-Showcase-application%2C-Response-already-committed-warning-in-logs-p9831268.html when i faced this

Re: [S2] ArrayList of Object as datasource in JasperReports

2007-11-07 Thread strutstwouser
http://struts.apache.org/2.x/docs/jasperreports-tutorial.html ; I was able to use this as-is and get a report fine. -Joseph carmi_cd wrote: I need a tutorial that uses ArrayList of Object as datasource for JasperReports..do you know any? -- View this message in context:

Re: [S2] - [FIXED!] Websphere 6.1 Showcase application, Response already committed warning in logs

2007-08-23 Thread strutstwouser
Hi Antony, Did you fix this in the IRAD IDE or on the WAS server ?. I'm using RAD 7.0.0 and wasn't able to apply the patch ; seems 6.1.0.5 won't work on this version. Thanks, Joseph newton.dave wrote: --- Antony Stubbs [EMAIL PROTECTED] wrote: Just as an after thought - perhaps this

Re: Conditional validation

2007-08-13 Thread strutstwouser
Hi Matt, Can you please tell me what's needed to use this validator using annotations alone? . Also, i need a simple conditional validator - ie a field needs to be validated only if a prerequisite condition is satisfied, else the validations on it must be skipped and no error must be added