There was a benchmark posted around a month ago - the finding was that state
saving in client runs a lot slower than state saving in server.
Is there any update this?
Regards,
Yee
-Original Message-
From: Dennis Byrne [mailto:[EMAIL PROTECTED]
Sent: Monday, 6 February 2006 12:12 PM
To:
You
will probably have to change any jsp taglib entries to html namespace entries so
instead of:
<%@
taglib uri="http://java.sun.com/jsf/html" prefix="h"
%><%@ taglib uri="http://java.sun.com/jsf/core"
prefix="f"%>
...
etc
You
would need:
http://www.w3.org/1999/xhtml"
Hi,
I am thinking of migrating to Facelets and I need to gauge
the efforts required. Assuming that my jsf pages are relatively pure (i.e. no
jstl etc), would my pages compile and run as it is without modifications? I got
the impression that this is so – can someone please confirm?
I
There
have been many posts on this at http://www.mail-archive.com/users%40myfaces.apache.org/
I set the STATE_SAVING_METHOD to client and it fixed the
problems
javax.faces.STATE_SAVING_METHOD
client
Balaji
[Balaji
Kalyansundaram] -Original
Message
Thanks Dennis - I'll give this a try tomorrow.. caffeine has run out..zzz
-Original Message-
From: Dennis Byrne [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 05, 2006 11:12 PM
To: MyFaces Discussion
Subject: Re: browser back button in JSF?
Try changing state saving to 'client'.
Try changing state saving to 'client'.
javax.faces.STATE_SAVING_METHOD
client
... or start using a nightly build, as MyFaces has fixed this.
Dennis Byrne
>-Original Message-
>From: Tom Butler [mailto:[EMAIL PROTECTED]
>Sent: Sunday, February 5, 2006 11:
Can anyone point me to a wiki or other to help me understand
how to handle the user pressing the browser back button in a JSF
application?
I’ve read this is a weakness of JSF, and from the
testing I’ve done it does appear to be a problem. Looking for any
ways to gracefully handle thi
Found the problem here. On the second
page, I also included a t:saveState tag for the backing bean from the
previous page (page that linked to second page):
I must of missed this somewhere, but also this did
not seem obvious. It seemed logical that if I used on
the first page with
Within .jsp page I use t:saveState to save the
backing bean.
t:saveState works to some degree, because when I
remove it, t:datascroller can not display the datamodel (property on backing
bean) when I scroll from the first page to the second page - with t:saveState
enabled, this works.
> AFAIK most browsers do wrap content with HTML tags in case content does
> not self set html...body. Guess you can inspect that by looking in the
> DOM inspector in Mozilla/Firefox after browsing to such "special"
> html-pages.
In my special case, the rendered code has to go to the JTidy filter o
AFAIK most browsers do wrap content with HTML tags in case content does
not self set html...body. Guess you can inspect that by looking in the
DOM inspector in Mozilla/Firefox after browsing to such "special"
html-pages.
Jörg
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL
Tom Butler wrote:
Can I use Oracle ADF components together within a MyFaces application? Same
question for other component libraries? Or, are these mutually exclusive
(use a different front controller)?
You can use ADF Faces together with MyFaces and/or the Tomahawk
components. Component li
> Is this a browser problem or a JSF problem?
Ok, stupid question - it must be a browser problem ;)
Do you know, how to handle this?
Regards,
Matthias
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag
> von Matthias Kahlau
> Gesendet: Montag, 6
Hi!
When I set the column number of a HtmlInputTextArea, e. g. to "10", only "6"
columns are displayed. Entering more than six characters causes a line
break.
I experience this behavior in IE 6.
In Firefox 1.5, there are rendered "10" columns as expected, but "2" rows,
although I set it to "1" r
Can I use Oracle ADF components together within a MyFaces application?
Same question for other component libraries? Or, are these mutually exclusive
(use a different front controller)?
Also, anyone know when Tobago first release will be? I was
looking at their website – some pretty
> Do you know how the text format of radio button/checkbox labels can be
> changed. I already applied a CSS class to the component, but the settings
> aren't reflected in the labels...
BTW: Accessibility guidelines require that the font size can be changed by
the user, e. g. by changing it in the
Dave schrieb:
session.merge is not very smart. Hibernate will update all properties
and association table. For association, delete all related rows, and
then add, even if the association(such as colllection) is not changed.
Is there a better way other than merge? Thanks.
Not really that is o
I figured out a way to do this, so I’ll post it in
case anyone else needs to accomplish this same task:
1. Page displaying DataTable with DataScroller to scroll
through large result set:
rowIndexVar="rowindex"
rows=”#{backingbean.displayrows}”
Hi
thank you for reading my post.
I need file upload facility inside a jsf portlet , now i do not know how
to implement this feature because
i use JSC and its file upload does not works inside a portlet.
can some one tell e whether Myfaces file upload works inside portlet or
not ?
Thank you.
Hi!
Do you know how the text format of radio button/checkbox labels can be
changed. I already applied a CSS class to the component, but the settings
aren't reflected in the labels...
Regards,
Matthias
Hi Dennis, Laurie thanks for the prompt reply.
I found following code on jsffaq.com, I will try it work for me.
FacesContext fc = FacesContext.getCurrentInstance();
String userName =
(String)fc.getApplication().createValueBinding("#{Person.userName}").getValue(fc);
Person
demo
Hi!
I examined the HTML source code of my programmatically build view and
noticed, that no HTML elements like or are rendered, but I
wonder because the page is rendered correctly in MS IE.
Do I have to manually add the missing elements, e. g. with the
ResponseWriter? (I need valid HTML...)
R
Many thanks Volker, that was the missing part...
Regards,
Matthias
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag
> von Volker Weber
> Gesendet: Sonntag, 5. Februar 2006 13:25
> An: MyFaces Discussion
> Betreff: Re: Error when using "spread" lay
Sandbox doesn't mean we think this component is just for playing 'round.
Actually, some of them, e.g .the schedule is production stable.
Caveat: we're allowed to change the API at any time here, without
warning, and this is what we leave open by letting it in the sandbox
for now ;)
regards,
Mar
Uri Kalish schrieb:
- When will the Sandbox Schedule component become a part of Tomahawk?
Once it has stabilized enough ;-)
Hi,
I have just upgraded a maven build from about 10 days ago to the
nightly build available on myfaces website.
I am using a custom authentication method in a request scope bean.
The code for the logout() method is performing the following :
getRequest().getSession().invalidate();
- When will the Sandbox Schedule component
become a part of Tomahawk?
__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
That works with only HtmlPanelGrid as the base class and not with UIInput or UIPanel.On 2/5/06, Ali Raza <[EMAIL PROTECTED]
> wrote:But i was wondering whether i could exten my component from UIInput or something and add an HTmlPanelGrid to it as a child ??
ThanxAliOn 2/5/06,
Ali Raza <[EMAIL PROT
But i was wondering whether i could exten my component from UIInput or something and add an HTmlPanelGrid to it as a child ??ThanxAliOn 2/5/06,
Ali Raza <[EMAIL PROTECTED]> wrote:
Holas Volker,Thanx a lot for your help. I saw the way u had done it and realized my error. i was extending the compone
Holas Volker,Thanx a lot for your help. I saw the way u had done it and realized my error. i was extending the component from UIPanel and then adding an Html Panel Grid to it as a child which doesnt make sense to begin with. Although even though what i was doing was wrong design wise it still
tnx this is exactly what i need :)
- Original Message -
From: "Volker Weber" <[EMAIL PROTECTED]>
To: "MyFaces Discussion"
Sent: Sunday, February 05, 2006 12:16 PM
Subject: Re: Redisplay Problem
Hi Francesco,
... the AccountBean is in request-scope
thats the reason for recreating
The var attribute is only available when the table renderer renders
the rows with the data. the rendered attribute is evaluated before the
rows are rendered. The table renderer requests the rendered value of
each column for the header and footer cells which are rendered without
the var attribute is
Hi Mathias,
set the renderType to "org.apache.myfaces.Radio";
otherwise you won't get the tomahawk renderer.
Regards,
Volker
Matthias Kahlau wrote:
> Hi!
>
>
> I used "spread" layout successfully with HtmlSelectOneRadio and
> HtmlSelectManyCheckbox in JSP. Now I programmatically created a
>
BTW:
In the console, I get the following stacktrace:
12:43:56,937 ERROR [Engine] StandardWrapperValve[Faces Servlet]:
Servlet.service() for servlet Faces Servlet threw exception
java.lang.IllegalArgumentException: Value is no String and component
_id0:Frage_2with path: {Component-Path : [Class: j
Hi!
I used "spread" layout successfully with HtmlSelectOneRadio and
HtmlSelectManyCheckbox in JSP. Now I programmatically created a
HtmlSelectOneRadio and set the layout attribute to "spread":
HtmlSelectOneRadio radios = new HtmlSelectOneRadio(); // Tomahawk
selectOne = radios;
this.
Hi Haihua,
the state saving method is defined as context-param in the web.xml:
State saving method: "client" or "server" (= default) See
JSF Specification 2.5.2
javax.faces.STATE_SAVING_METHOD
server
Seems i was wrong saying client is the default :-(.
Regards,
Hi Volker,
thank you for your reply! You are right. The hidden input field "jsf_tree_*"
cannot be found in the generated html page. But how can I switch to
server-side state saving?
Thanks!
Haihua
-Ursprüngliche Nachricht-
Von: Volker Weber [mailto:[EMAIL PROTECTED]
Gesendet: Freitag,
Hi Francesco,
> ... the AccountBean is in request-scope
thats the reason for recreating this bean every request ;-).
You can hold a request-scope bean over multiple requests using the
t:saveState tag:
See: http://myfaces.apache.org/tlddoc/tomahawk/t/saveState.html
Regards,
Volker
Francesco
Hi Ali,
UIPanel for base class should work, did you overwrite encodeChildren()
or encodeEnd() to do nothing?
BTW: don't expect these components between your rendered start and end
comments, they are just created here, the rendering is done in
encodeChildren() method of the superclass.
Just for m
viewAccount.jsp
"id" value="#{AccountBean.id}">
"#{AccountBean.id}">
"#{AccountBean.username}">
"#{AccountBean.email}">
"#{AccountBean.firstName}">
"#{AccountBean.lastName}">
Account Roles:
"#{AccountBean.roles}" var="role">
"#{role.description}">
"#
40 matches
Mail list logo