Re: MyFaces 1.1.5 Strange validation behaviour

2008-02-07 Thread Adam Perlik
Hi, no, there are no binding attributes for input elements. I'm preatty sure it's because the use of cancel command button with immediete=true set on. I just can't figure out why is myfaces showing those two values in some sort of cycles - it would be normal if it showed the wrong value, as the

Re: MyFaces 1.1.5 Strange validation behaviour

2008-02-07 Thread Adam Perlik
Hi, and there's also behavior like this: 1. I enter wrong value 2. Validator rejects the value and a message is shown 3. I enter correct value and save Although I entered correct value, when I enter the same page I get the wrong value in some sort of cycles (sometimes it's once per five

Re: MyFaces 1.1.5 Strange validation behaviour

2008-02-07 Thread Adam Perlik
Sorry for not being explicit by enter I ment navigating there by actions. When I'm on the page clicking refresh in browser causes the same behaviour - sometimes the correct value is shown, and sometimes the rejected one. Regards Adam 2008/2/7, Martin Marinschek [EMAIL PROTECTED]: I do not

Re: MyFaces 1.1.5 Strange validation behaviour

2008-02-07 Thread Martin Marinschek
Hi Adam, ok, I see - I had never seen this behaviour before. regards, Martin On 2/7/08, Adam Perlik [EMAIL PROTECTED] wrote: The problem is caused by richfaces libraries which were in serwer classpath (jboss). It's very strange because my app didn't use any of richfaces classes and didn't

Re: MyFaces 1.1.5 Strange validation behaviour

2008-02-07 Thread Adam Perlik
The problem is caused by richfaces libraries which were in serwer classpath (jboss). It's very strange because my app didn't use any of richfaces classes and didn't declare richfaces filter in it's web.xml. After removing richfaces libs everything seems to be ok. Unfortuneatly it's not so good

Re: MyFaces 1.1.5 Strange validation behaviour

2008-02-07 Thread Simon Kitching
Just the presence of a jar in the classpath can change the behaviour of a system sometime. A .tld file in the META-INF directory of a jarfile is automatically processed, and can specify servlet listener classes that a servlet container must register. A faces-config.xml file in the META-INF

Re: MyFaces 1.1.5 Strange validation behaviour

2008-02-06 Thread Martin Marinschek
Hi Adam, do you use component-binding with a session-scoped bean? regards, Martin On Feb 5, 2008 8:04 PM, Adam Perlik [EMAIL PROTECTED] wrote: Hi, I have a jsp page with text input on it and a long range validator (0 to 99) connected with that field. Now I run the following scenario:

MyFaces 1.1.5 Strange validation behaviour

2008-02-05 Thread Adam Perlik
Hi, I have a jsp page with text input on it and a long range validator (0 to 99) connected with that field. Now I run the following scenario: 1. enter invalid value (-123) 2. submit by command button 3. Proper validator message is displayed and everything seems to work fine 4. I cancel the