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
;
> >-----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,
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
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
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
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
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
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
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
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&
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
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
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
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
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='';
As for me I prefer to
create such mapping to SelectOneMenu:
valueChangeListener="#{dsMap.appControlChange}"
style="width:200px;">
Instead of:
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
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
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
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
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
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]
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
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
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
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
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
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
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
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
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
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.
32 matches
Mail list logo