SV: SV: SV: Ognl versions

2008-10-07 Thread Gunnar.Bostrom
Hi, You were right. It was the capitalization that was wrong. Actually I didn't understood the comment about javabean as in my eyes it was a proper bean. Your apology about null is taken! I've seen problems in other places in our code that I need to investigate if it is the same problem! Thanks f

SV: SV: Ognl versions

2008-10-07 Thread Gunnar.Bostrom
Hi, We have a measureList that looks the same and it works! public SortedMap getMeasureList() { // man = Ärenden som skall konfigureras manuellt // uttagen = Ärenden som skall klarrapporteras efter manuell konfigurering measureList.put(1, "Ärenden som skall konfigureras

SV: SV: Ognl versions

2008-10-06 Thread Gunnar.Bostrom
Hi, I mean that the value is null now that I use ognl 2.7.2. When using 2.6.11 the value is a correct map. This is in the model för the jsp page: SortedMap jobTypeList = new TreeMap(); public SortedMap getjobTypeList() { jobTypeList.put(1, "Förfrågan"); jobTypeList.put(8,

SV: Ognl versions

2008-10-06 Thread Gunnar.Bostrom
Hi, The jobTypelist is empty, but it worked with 2.6.11 version of ognl. The applications is our own. Thanks for trying to help! :-) > -Ursprungligt meddelande- > Från: Dale Newfield [mailto:[EMAIL PROTECTED] > Skickat: den 4 oktober 2008 00:31 > Till: Struts Users Mailing List > Ämne:

SV: Ognl versions

2008-10-03 Thread Gunnar.Bostrom
Hi, I get the same error from 2.7.2 as 2.7.3. Here is the jsp fragment that fails And the error is: 2008-10-03 15:55:32,280 ERROR- [localhost].[/serf-web].[default]:253,http-8080-Processor25 - Servlet.service() for servlet default threw exception tag 'select', field 'list', name 'searchJobVO

SV: Ognl versions

2008-10-02 Thread Gunnar.Bostrom
Ok, then I take version 2.7.2 for a spin. /Gunnar > -Ursprungligt meddelande- > Från: Chris Pratt [mailto:[EMAIL PROTECTED] > Skickat: den 2 oktober 2008 17:42 > Till: Struts Users Mailing List > Ämne: Re: Ognl versions > > I have been using OGNL 2.7.2 with Struts 2.0.11.2 and 2.1.2 >

SV: Ognl versions

2008-10-02 Thread Gunnar.Bostrom
Hi, I can see that many of my threads stays blocked for a long time in gnl.OgnlRuntime.invokeMethod line 511. If this is to any help. :-) > -Ursprungligt meddelande- > Från: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Skickat: den 2 oktober 2008 12:11 > Till: user@struts.apache.or

Ognl versions

2008-10-02 Thread Gunnar.Bostrom
Hi, We use struts2-core 2.0.11.2 which according to maven use opensymphony.ognl version 2.6.11. I wonder what the relationships is to ognl.ognl and specifically if the opensymphony version also has the bug http://jira.opensymphony.com/browse/OGNL-141 When we are doing load tests we get very long

datetimepicker

2008-06-24 Thread Gunnar.Bostrom
Hi, I'm trying to use the struts2 datetimepicker and it works fine except when I input an invalid date with the keyboard. When doing this for struts 2.0.11.1 it resets the date to the value it had before without any notice! When doing it for struts 2.1.2 it sets the date to 1970-01-01 without any n

SV: datetimepicker tag problem

2007-05-11 Thread Gunnar.Bostrom
Hi, Have you set struts.serve.static=true In struts.xml? Regards Gunnar > -Ursprungligt meddelande- > Från: Julien Leonard [mailto:[EMAIL PROTECTED] > Skickat: den 11 maj 2007 11:11 > Till: Struts Users Mailing List > Ämne: Re: datetimepicker tag problem > > Hi, > > I had the same

Is it possible to unit test validatiors in xml?

2007-05-07 Thread Gunnar.Bostrom
Hi, Is it possible to unit test validations created in xml? I.e. like this: myPurchaseCode 10 10 true Your purchase code needs to be 10 characters long 10 tr

DefaultActionValidatorManager does not recognize model driven

2007-05-02 Thread Gunnar.Bostrom
Hi, I try to junit test my field-validators by using DefaultActionValidatorManager. It does work but with one problem. My action class implements ModelDriven so to be able to test my validations in *-validations.xml I have to add "model." before every OGNL-expression and afterwards remember to re