AW: [Trinidad 1.0.10] error in TrRegExpValidator

2009-04-22 Thread Sven.Rottstock
Ah - that's great. I have currently added the validate method of TrRegExpValidator in my JSF page. In this way all works fine. Many thanks. > -Ursprüngliche Nachricht- > Von: mwessend...@gmail.com [mailto:mwessend...@gmail.com] Im > Auftrag von Matthias Wessendorf > Gesendet: Dienstag

Query regarding faces messages

2009-04-22 Thread Trupti Gawande
Hi , I am using JSF in my application.While developing the code I am facing some problems. I have done server side validation on first text box and has done client side validation on second text box. If I am putting wrong value in first text box then i will get the server side error on submittin

Re: How to set up server-side state saving method

2009-04-22 Thread Alexey Koloskov
Thank you Cagatay for your answer, indeed when setting state saving to client, generated response is as two times bigger than previous one. So ViewState hidden filed is renderer always but contains different size of information. Cagatay Civici wrote: Can't remember what info probably view id, b

Re: How to set up server-side state saving method

2009-04-22 Thread Cagatay Civici
Even value of the "javax.faces.ViewState is "same" after switching? On Wed, Apr 22, 2009 at 3:44 PM, Alexey Koloskov wrote: > BTW, I took myfaces-example-simple-1.1.8, expand it and change > STATE_SAVING_METHOD from client to server, and deploy it to tomcat-6.0.18, > but I still get the same > >

Re: How to set up server-side state saving method

2009-04-22 Thread Alexey Koloskov
BTW, I took myfaces-example-simple-1.1.8, expand it and change STATE_SAVING_METHOD from client to server, and deploy it to tomcat-6.0.18, but I still get the same in the rendered pages. Maybe I have some wrong settings in the web server? Alexey Koloskov wrote: Here is my web.xml firstJsf

Re: How to set up server-side state saving method

2009-04-22 Thread Cagatay Civici
Can't remember what info probably view id, but in server state saving still some information is saved. Try setting state saving to client, you'll see the difference in size of that hidden input. On Wed, Apr 22, 2009 at 3:36 PM, Alexey Koloskov wrote: > Here is my web.xml > firstJsf > > /ind

Re: How to set up server-side state saving method

2009-04-22 Thread Alexey Koloskov
Here is my web.xml firstJsf /index.jsp javax.faces.STATE_SAVING_METHOD server org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION 20 org.apache.myfaces.SERIALIZE_STATE_IN_SESSION true Faces Servlet javax.faces.webapp.FacesServlet 1 Faces Servlet

Re: How to set up server-side state saving method

2009-04-22 Thread Cagatay Civici
How do you specify it in web.xml, please post the context param config. On Wed, Apr 22, 2009 at 2:48 PM, Alexey Koloskov wrote: > Hello! > I'am new to MyFaces. I have written a simple program on jsf: > > > > > > and specify javax.faces.STATE_SAVING_METHOD=server in web.xml >

How to set up server-side state saving method

2009-04-22 Thread Alexey Koloskov
Hello! I'am new to MyFaces. I have written a simple program on jsf: and specify javax.faces.STATE_SAVING_METHOD=server in web.xml But html code of the rendered page contains: id="javax.faces.ViewState" value="/0RL6JBt8cvqShFdUYKZJMFYhH3aK5oYI4toUZvNpTR+xCEIE1Uu9gLy21nZ6Z9tJ

Problem displaying

2009-04-22 Thread Andrew Warhola
Hi guys, I am writing to you because I have a quite odd issue related with tomahawk trees. First of all, I show you my ExtensionsFilter configuration at tomcat web.xml extensionsFilter org.apache.myfaces.webapp.filter.ExtensionsFilter Set the s

Re: [Trinidad] Saving an inputColor to an EJB backing bean

2009-04-22 Thread Matthias Wessendorf
On Wed, Apr 22, 2009 at 10:37 AM, Döring Markus wrote: > I've tried this, but I always get an NPE when I have an own converter and the > "Select Color Popup" opens: > > Caused by: java.lang.NullPointerException >        at > org.apache.myfaces.trinidadinternal.renderkit.core.pages.ColorPickerJSP

AW: [Trinidad] Saving an inputColor to an EJB backing bean

2009-04-22 Thread Döring Markus
I've tried this, but I always get an NPE when I have an own converter and the "Select Color Popup" opens: Caused by: java.lang.NullPointerException at org.apache.myfaces.trinidadinternal.renderkit.core.pages.ColorPickerJSP._getConverter(ColorPickerJSP.java:147) at org.apache.myf

Re: [Trinidad] Saving an inputColor to an EJB backing bean

2009-04-22 Thread Matthias Wessendorf
On Wed, Apr 22, 2009 at 9:36 AM, Döring Markus wrote: > Hi all, > > > > my goal is to have an EJB backing bean like the following: > > > > @Entity > > public class EntityBean { > >     //… id stuff and else properties > > > >     private String color; > > > >   

[Trinidad] Saving an inputColor to an EJB backing bean

2009-04-22 Thread Döring Markus
Hi all, my goal is to have an EJB backing bean like the following: @Entity public class EntityBean { //... id stuff and else properties private String color; public String getColor() { return color;