MyFaces JSF & Facelets

2006-04-10 Thread Yura.Tkachenko
Hi, I just want to realize impacts: can Facelets works with MyFace JSF. For example: I have mapping to *.faces all JSF pages (MyFaces, Tomahawk) Want to add mapping to Facelets page like *.jsf   Are all my *.faces and *.jsf pages will work? I mean in my faces-config.xml fi

RE: NotSerializableException during saveState

2006-03-31 Thread Yura.Tkachenko
;  > >-----Original Message- > >From: Yura.Tkachenko [mailto:[EMAIL PROTECTED] > >Sent: Friday, March 31, 2006 02:16 AM > >To: ''MyFaces Discussion'' > >Subject: RE: NotSerializableException during saveState > > > >Thanks,

Does inputSuggestAjax works with STATE_SAVING_METHOD=server

2006-03-31 Thread Yura.Tkachenko
Hi, All!   We are using on our project JSF with STATE_SAVING_METHOD=server, but I found out that control from sandbox inputSuggestAjax doesn’t work with STATE_SAVING_METHOD=server, it’s only works with STATE_SAVING_METHOD=client, why?   * When I’m using STATE_SAVING_METHOD=server inputS

RE: NotSerializableException during saveState

2006-03-30 Thread Yura.Tkachenko
er also support Serializable, whereas the converse is not true. -- Adam Winer On 3/30/06, Yura.Tkachenko <[EMAIL PROTECTED]> wrote: > One little remark, when I trys to implement Serializable instead of > StateHolder everything works, but I want to know is this my issue in bean > with StateHol

RE: NotSerializableException during saveState

2006-03-30 Thread Yura.Tkachenko
One little remark, when I trys to implement Serializable instead of StateHolder everything works, but I want to know is this my issue in bean with StateHolder or not? Thanks, Yura. -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Thursday, March 30, 2006 6:54 PM

RE: NotSerializableException during saveState

2006-03-30 Thread Yura.Tkachenko
Hi, Mike My bean com.nsite.wsbuilder.TableFiltersBean (request scope bean) this bean implemented StateHolder interface, I implements: saveState, restoreState, isTransient () {return false;}, setTransient(Boolean b) { } methods. Thanks for you help, Yura. -Original Message- From: Mike Ki

RE: NotSerializableException during saveState

2006-03-30 Thread Yura.Tkachenko
Here is: javax.faces.FacesException: java.io.NotSerializableException: com.nsite.wsbuilder.TableFiltersBean at org.apache.myfaces.util.StateUtils.encode64(StateUtils.java:43) at org.apache.myfaces.renderkit.html.HtmlResponseStateManager.writeState(HtmlResponseStateManager.java:104) a

NotSerializableException during saveState

2006-03-30 Thread Yura.Tkachenko
Hi, All I’m using MyFaces component saveState and trys to save whole bean, so I implemented interface StateHolder for this bean as by manual, but I still get NotserializableException for my request scope bean. Could you please clarify this moment for me, please? I’m using SAVE_STATE_METHO

RE: Request bean have been stored to session

2006-03-30 Thread Yura.Tkachenko
ch 29, 2006 10:54 PM To: MyFaces Discussion Subject: Re: Request bean have been stored to session Can't help yu then. Disregard ;) But you may want to upgrade to 1.1.1 regardless, as 1.1.1 is just a bug fix for 1.1.0 . Dennis Byrne >-Original Message- >From: Yura.Tkachenk

RE: Request bean have been stored to session

2006-03-29 Thread Yura.Tkachenko
Sorry, that confused you. I'm using MyFaces 1.1.0 under WEB-INF/lib Thanks, Yura. -Original Message- From: Yura.Tkachenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 29, 2006 10:39 PM To: 'MyFaces Discussion' Subject: RE: Request bean have been stored to session I&

RE: Request bean have been stored to session

2006-03-29 Thread Yura.Tkachenko
r WEB-INF/lib ? or under tomcat's jsf-libs dir ? Dennis Byrne >-Original Message- >From: Yura.Tkachenko [mailto:[EMAIL PROTECTED] >Sent: Wednesday, March 29, 2006 02:23 PM >To: 'MyFaces Discussion' >Subject: Request bean have been stored to session > >Hi

Request bean have been stored to session

2006-03-29 Thread Yura.Tkachenko
Hi, All   I have a few doubts moments in the JSF request beans.   I used request JSF bean and also cluster based on JBoss4.0.3SP1 so all my requests are always serialize session for server. But I always got exception like this:   2006-03-29 19:10:58,258 INFO  [STDOUT] java.io.NotSeria

RE: Error rendering page when login: JBoss or MyFaces

2006-03-29 Thread Yura.Tkachenko
Are you using any session beans? For JBoss 4.0.3SP1 all session objects must be Serializable   Thanks, Yura.   From: Dave [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 29, 2006 3:38 PM To: users@myfaces.apache.org Subject: Error rendering page when login: JBoss or MyFaces

RE: Java Script error with My Faces

2006-03-28 Thread Yura.Tkachenko
nction that do nothing. Coudl you tell me more clearly about clear_form(). Yura.Tkachenko wrote: > Hi, Le Van > > Actually why are you using clear_form() function? Is it just training? > Actually this function generates by JSF it can include something like > that: > &g

RE: Java Script error with My Faces

2006-03-28 Thread Yura.Tkachenko
Hi, Le Van   Actually why are you using clear_form() function? Is it just training? Actually this function generates by JSF it can include something like that: function clear_form() {   var f = document.forms['form'];   f.elements['prevSort'].value='';   f.elements['prev'].value='';

RE: HtmlSelectOneMenu not serializeable ?

2006-03-28 Thread Yura.Tkachenko
As for me I prefer to create such mapping to SelectOneMenu:          valueChangeListener="#{dsMap.appControlChange}" style="width:200px;">                Instead of:      

RE: HtmlSelectOneMenu not serializeable ?

2006-03-28 Thread Yura.Tkachenko
Hi,   Well as JSF’s UIComponent isn’t Seriaizable so all others ui components also isn’t serializable. I recommended to use request beans instead of session. If you are using session beans, for example you can try to add a few mappings to SelectOneMenu, for example:   Value selectItems

RE: readonly entities no longer pass value back to backing bean?

2006-03-28 Thread Yura.Tkachenko
Hi, All   About JSF renders this component into HTML as disabled. It’s not JSF issue to pass values into request only when control is enable. It’s HTML form logic, if you wish enable value of the component try this scenario:     Best wishes, Yura.           -Original M

RE: How to close popup using a button

2006-03-28 Thread Yura.Tkachenko
Hi, Dave.   Actually parent and child windows in document object model have different _javascript_ object window. That’s why window.close() – always will close current window. From child to parent window object you always will be able to access like that:  var parentWindowObject = window

RE: How to close popup using a button

2006-03-28 Thread Yura.Tkachenko
Or you can use server-side handler of this button to close your popup, something like this:   JSF page:   "   Java code:   public void doSubmit() {   // do something   …..   // close popup   setJsCode(“window.close();”); }   Best regards, Yura.   -O

JSF application

2006-03-27 Thread Yura.Tkachenko
Hi, All   I have a problem and want to know your advises about this. I have a page with request managed bean and this bean have property which referenced to session scope bean. When I need to initialize my page with default values with session scope beans I always do this in default con

RE: How to speed up JSF

2006-03-25 Thread Yura.Tkachenko
zones(spans) and the zone components output spans. These spans' innerHtmls are later retrieved from the wrapped servletresponse and set using _javascript_. This approach will not help your application to run faster. What do you think? Cagatay, On 3/25/06, Yura.Tkachenko <[EMAIL PROTECTED]

RE: How to disable commandLink button after it is clicked once?

2006-03-25 Thread Yura.Tkachenko
button after it is clicked once?   Hi,     Thanks for your reply. After I did this, the form is never submitted.      >this.disabled=true; document.myForm.submit(); return false;"   Thanks, Emily   On 3/25/06, Yura.Tkachenko <[EMAIL PROTEC

RE: How to disable commandLink button after it is clicked once?

2006-03-25 Thread Yura.Tkachenko
Hi, Try to setup onclick handler after you clicked on the link like this:     In this case by onclick won’t be submit.   Thanks, Yura.   From: Emily Gu [mailto:[EMAIL PROTECTED] Sent: Saturday, March 25, 2006 10:43 PM To: users@myfaces.apache.org Subject: How to disable

How to speed up JSF

2006-03-25 Thread Yura.Tkachenko
Hi, I just finding some ways to speed up JSF. I’m using MyFaces implementation and actually I don’t like how JSF is rendering it’s very slow. I’ve never tried Facelets with MyFaces is it really can speed up work of my application? Because I have only little theoretical knowledge about Face

RE: [SPAM, DNSBL] - I am trying to run a sample application of myfaces in tomcat 5.5.9 but it return NullPointerException - Sending mail server found on sbl-xbl.spamhaus.org

2006-03-25 Thread Yura.Tkachenko
Hi, Hope you put in your browser something like this to access to jsf page: http://localhost/someApp/someJsfPage.jsf, otherwise you will get NPE. Thanks, Yura. -Original Message- From: Legolas Woodland [mailto:[EMAIL PROTECTED] Sent: Saturday, March 25, 2006 12:01 PM To: MyFaces Discuss

RE: Skip Validation Phase

2006-03-23 Thread Yura.Tkachenko
Ok, Thanks. Do you know any solution which will be usefull for me? Thanks, Yura. -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 6:42 PM To: MyFaces Discussion Subject: Re: Skip Validation Phase On 3/23/06, [EMAIL PROTECTED] > I know

RE: Skip Validation Phase

2006-03-23 Thread Yura.Tkachenko
I know this, but for skip validation phase I'm using call: FacesContext context = FacesContext.getCurrentInstance(); context.renderResponse();   Thanks, Yura. -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006

Skip Validation Phase

2006-03-23 Thread Yura.Tkachenko
Hi, All!!!   I’ve confused with it in JSF. I have some validation logic on my form:   2 textboxes which have required attribute And also one drop-down ( I used immediate=true, because I don’t want to run validation before valueChangeListener ). In my valueChangeListener I tried to ign

RE: post method & encoding UTF-8

2006-03-23 Thread Yura.Tkachenko
Hi, Nicola You can try to use on your jsf page: <%@ page language="java" session="true" contentType="text/html; charset=UTF-8;" pageEncoding="UTF-8" %> Thanks, Yura. -Original Message- From: Nicola Benaglia [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 4:14 PM To: MyFaces

RE: saveState question

2006-03-23 Thread Yura.Tkachenko
Title: Message Thanks, Faintan   But I can use jsf session beans as it, because on our project we are using JBoss 4.0.3 in cluster and for all JSF UI components I will get NonSerializable exception. Also I can not use one manage bean on two pages, because I have actually wizard applicatio

saveState question

2006-03-23 Thread Yura.Tkachenko
Hi, All   I just started use component saveState from Tomahawk. I have two pages page1 (managed-bean {#page1}) and page2 (managed-bean {#page2}). All these beans are in request scope Is it possible to pass from page1 data {#page1.mapping} to page2 ?   Thanks for any help, Yura.