No - client-side state saving IS significant slower.
And it works with server-side state saving as well, at least with the
nightly builds.
regards,
Martin
On 2/6/06, Yee CN [EMAIL PROTECTED] wrote:
There was a benchmark posted around a month ago - the finding was that state
saving in client
Hi Tom,
Save state means that the information is stored with the state
associated to a page. Now if you change to another page, and come back
to the first one, the state of the first page has been lost, and the
state of the saveState as well.
regards,
Martin
On 2/6/06, Tom Butler [EMAIL
Indeed, there are some issues on JIRA which have to be addressed, and
which will probably cause some changes in the API...
Jurgen
Martin Marinschek schreef:
Sandbox doesn't mean we think this component is just for playing 'round.
Actually, some of them, e.g .the schedule is production
Laurie Harper schrieb:
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
Is ADF available yet? (haven't seen it in the incubator)
Or do you mean the old components of August2005 that were posted on
Oracle's Web site a while ago?
Thx,
Ph
On 06 Feb 2006, at 10:04, Werner Punz wrote:
Laurie Harper schrieb:
Tom Butler wrote:
Can I use Oracle ADF components together
Hi,
I have a Variable Resolver question.
To set the scene first:
Trying to follow good practice, I build up my model classes in
XXX.model.modelClass. e.g. XXX.model.Person
For the front end, there's a package XXX.web.beans e.g.
XXX.web.beans.LoginBean
In that LoginBean I had a field
Hi Philippe,
did you have public getter and setter for Person in loginBean?
the expression #{loginbean.loginPerson.lastName} is resoved to
loginbean.getLoginPerson().getLastName()
where loginBean is the object from session scope.
otherwise please post the stacktrace and more of your relevant
Yes I did...
I'll reconstruct the code, for the moment I have bypassed the prob by
having LoginBean extend Person. :-(
Originally loginPerson(the field itself) itself was private, made it
public just in case, but that didn't change anything.
I have also googled for this (perhaps with the
Currently i am also evaluating JTidyServlet, but currently i do not have
that special case. Guess that if your html is prepared to be
xml-conform, not having a html element is of no interest to JTidy. I
am interested in your findings so please keep us updated. BTW What's
your current JTidy
I had a similar problem - error in conversion for expressions like:
bean.property1propertyN.value
when any property in the chain property1propertyN was null;
Can you check that your getLoginPerson method returns always != null?
- Original Message -
From: Philippe Lamote
No need for the VariableResolver for such stuff...
As Volker pointed out, it depends on the getter/setter methods.
VariableResolver in ManagedBeans is only needed when you need to look up
some beans with which you basolutely no direct connection. I dare
to guesitmate that this will hit less than
Thought of this possibility too.
That's why I added to the bean constructor the newt line:
Person loginPerson = new Person(,); // Dummy init for loginName
password
This ensured that not only Person was != null, but also the 2 fields
used of Person, on the page. (made a construtor just for
Again: please post the full stacktrace and your relevant code, we can
just guess without having more info.
Philippe Lamote wrote:
Thought of this possibility too.
That's why I added to the bean constructor the newt line:
Person loginPerson = new Person(,); // Dummy init for loginName
I have now tried to implement the Xinha Editor, but it doesn't work.
The problem seems to be the f:view Tag.
If I remove it, the editor works (but no buttons work anymore of course), if I
add it, the editor doesn't work.
As anybody already achieved to solve this problem?
Regards,
Andy
Hi All,
I am in the process of developing an web application using MyFaces components.
I have 'n' number of tabs, with a singe Button (Close Button) in the tabbed pane.If i press the Close Button, the selected(highlighted) tab should get closed.
Can anyone suggest how can i achive this.
Hi All,
I am in the process of developing an web application using MyFaces components.
I have 'n' number of tabs, with a singe Button (Close Button) in the tabbed pane.If i press the Close Button, the selected(highlighted) tab should get closed.
Can anyone suggest how can i achive this.
OK, I reconstructed it:
in model: class Person:
package be.mnemonica.model;
import java.util.Date;
import java.util.Set;
import org.apache.log4j.Logger;
/**
* Class representing a Person in the system.
* @author philippe
*
*/
public class Person {
/**
* The logger
just a quick question:
Philippe Lamote wrote:
OK, I reconstructed it:
in model: class Person:
public Person() {
new Person(,);
what's this? you mean
this(, );
otherwise you won't have your fields initialzed.
}
/**
* The user
You can start by changing:
public Person() {
new Person(,);
}
to
public Person() {
this(,);
}
- Original Message -
From: Philippe Lamote [EMAIL PROTECTED]
To: MyFaces Discussion users@myfaces.apache.org
Sent: Monday, February 06, 2006 3:17 PM
Subject: Re: Variable Resolver
One major thing that comes to my mind is the fact that the produced
output pages are xhtml conform and are transmitted as contenttype
text/xhtml+xml by default. This means that javascripts which rely on
document.write() things won't work properly (I believe I experienced
this with
True, thx, corrected that immediately. (Oops)However, still no change. The stack trace I'm getting is:006-02-06 14:33:09,147 ERROR [org.apache.myfaces.renderkit.RendererUtils] - Property not found - called by component : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId:
This stacktrace says the class be.mnemonica.web.beans.LoginBean has no
getLoginName() method.
must be referenced somewhere in the jsf, but i don't see it in your
posted code.
Philippe Lamote wrote:
True, thx, corrected that immediately. (Oops)
However, still no change.
The stack trace I'm
Hi
I am trying to use
t:tabChangeListener /
on the server side. I went through some of the messages on the groups and found that in order to run the listener on the server I have to use serverSideTabSwitch attribute of paneltabbedpane, but this is available only through the nightly builds. So,
No indeed it hasn't. And it don't want it to have that, I made a
class Person for those.
This was my original question;
Whether JSF was smart enough (well, how smart must it be with an
explicit ref like loginbean.user.loginName) to go seek that
method at LoginBean.getUser().getLoginName()
The stacktrace also talks about HtmlOutputLabel searching for this
property..
there is h:outputText value=#{labels.login_name} / in his jsp..
could it be that the labels bean (snippet from faces-config does not
contain that bean)
is also of class be.mnemonica.web.beans.LoginBean?
That would
No, I have a labels bean.
The only beans I declared so far are these:
managed-bean
managed-bean-nameloginbean/managed-bean-name
managed-bean-classbe.mnemonica.web.beans.LoginBean/managed-bean-
class
managed-bean-scopesession/managed-bean-scope
Then it must be the other possibility... it is not on the loginPage.jsp
where your problem lies but:
from your stacktrace: resources.pages.portal_jsp:210)
might be something like .../resources/pages/portal.jsp
hth
Alexander
-Original Message-
From: Philippe Lamote [mailto:[EMAIL
[EMAIL PROTECTED] schrieb:
I have now tried to implement the Xinha Editor, but it doesn't work.
The problem seems to be the f:view Tag.
If I remove it, the editor works (but no buttons work anymore of course), if
I add it, the editor doesn't work.
As anybody already achieved to solve this
Correct.
The portal.jsp still issued an old ref (to loginbean.loginName
instead of loginbean.user.loginName)
I corrected this as well and now it works!!!
Thanks Volker Jesse. :-)
I'm not sure however what exactly went wrong in earlier attempts.
Could it just have been the Constructor error?
Currently i am also evaluating JTidyServlet, but currently i do not have
that special case. Guess that if your html is prepared to be
xml-conform, not having a html element is of no interest to JTidy. I
am interested in your findings so please keep us updated. BTW What's
your current JTidy
Can anyone please help or point me to example to show how to
set up constructor on beans or any other changes required to java backing beans
when state_saving_method is set to the client?
I just switched my web.xml to save state on the client:
context-param
I downloaded the latest sandbox source from svn, but found no build
subdirectory or build file in the sandbox source subtree. Also the
nightly tomahawk binary distributions available for download don't
appear to include the sandbox components. For the moment I'm just
interested in building a
Bob,The easiest way to do a build is to download the latest source using SVN client.Download Maven and just use the maven command 'mvn package'. This would download all the needed dependencies,compile and build sanbox jars and the api,impl and tomahawk packages.
-ShamanthOn 2/6/06, Bob Rivoir
Hi Werner!
With the help of Mike Litherland I implemented the TinyMCE EDitor. This works
fine with JSF and so I'm satisfied with it.
Regards,
Andy
-Ursprüngliche Nachricht-
Von: news [mailto:[EMAIL PROTECTED] Auftrag von Werner Punz
Gesendet: Montag, 6. Februar 2006 15:16
An:
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...
I could solve the problem. It was caused by a CSS class definition defined
in a foreign stylesheet.
Regards,
Hi,
our web application consists of several logical modules. Each module
contains JSF pages (using myfaces), Java class files, configuration files
etc. There are dependencies between the pages of different modules
(navigation) and also between the classes of different modules. The
webserver
FYI -- In regards to the document.write() method:This is not a facelet issue, but a standards issue. document.write is deprecated, it should not be used anymore. XHTML is considered XML, not HTML. For that reason,
document.write doesn't make any sense (writing a stream of content to XML). The w3c
Is f:param supported in tandem with jsookMenu/navigationMenuItem? If not,
is there a way to achieve the same result?
thanks.
Superb, we cannot put it into myfaces, but you it would be great
if you could donate the component (for jsf-comp on sourceforge, which is
our non apache side codebase for stuff which is not apache compliant or
extremely experimental)
Werner
[EMAIL PROTECTED] schrieb:
Hi Werner!
With the
Hi all!
I'm quite new to JSF and myfaces, using tiles and having a
panelNavigation2 inside a tiles subview.
One problem is : I don't manage
to keep the navigation open dispite of calling an action that results in
a different view which is using the same menu-containing tile. The Menu
always
I don't know if I should add it to sourceforge, because you only have to
download the zip File from http://tinymce.moxiecode.com/, extract the tiny_mce
directory from within tinymce/jscripts/tiny_mce and put it in the root of your
web directory
and but the following code into the JSF Page:
The WIKI entry won't be a problem at all. You can surely do that.
regards,
Martin
On 2/6/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I don't know if I should add it to sourceforge, because you only have to
download the zip File from http://tinymce.moxiecode.com/, extract the
tiny_mce
Hi,
a question...
in $TOMCAT_HOME/shared/lib I put this files jar:
commons-beanutils-1.6.1.jar
commons-digester-1.5.jar
commons-el.jar
commons-codec.jar
commons-fileupload-1.0.jar
commons-lang-1.0.1.jar
commons-validator.jar
jakarta-oro.jar
jsf-api.jar
not.You need to use the nightly build of navigationMenuItem, such has actionListener feature.On 2/6/06, Richard Frazer
[EMAIL PROTECTED] wrote:Is f:param supported in tandem with jsookMenu/navigationMenuItem?If not,
is there a way to achieve the same result?thanks.-- Dudu `P
hi
I want to write a custom renderer to implement a table which has its header fixed. For this i want to render class=somestylesheet (overflow:
auto; width:100%; height
:200px) attribute to the tbody element the t:datatable generates. This would enable me to scroll the table body without
When will there be some official news about how the donation of ADF Faces
will be integrated in MyFaces?
I also expected some frontpage news on the MyFaces site. All the things I
read about this, is from other sites/blogs than MyFaces.
Some clarification would be appreciated.
I found the error with the collapsing commanNavigations - I had not set
custom ids on ALL the commandNavigations, so the ids of the leafs did
change between the views for some reason.
Nevertheless: if there is some way for me to use the nightlies ... :-)
sonja
Am Montag, den 06.02.2006,
Good day all and thanks for this project! I'm sorry if this is
slightly off topic, but I think that many in the community may
have related experience that will be insightful to my
problem/question. First some background; I'm attempting to
build what I am referring to as a composite
I try to delete a node in tree2 backing model, and a Father of this node
is expanded (to view the child)
and then Im geting a new data for the model (without deleted node),
then I get an:
ServletException: Encountered a node [0:4:3:0] + with an illogical state.
Node is expanded but it is
Go ahead... the wiki is for everyone to use ;-)
and thanks for everything...
Werner
[EMAIL PROTECTED] schrieb:
I don't know if I should add it to sourceforge, because you only have to
download the zip File from http://tinymce.moxiecode.com/, extract the tiny_mce
directory from within
I'd recommend creating a patch for t:dataTable that implements a tbody
class attribute and opening a JIRA issue with the patch.
On 2/6/06, Hasnain Badami [EMAIL PROTECTED] wrote:
hi
I want to write a custom renderer to implement a table which has its header
fixed. For this i want to render
t:in producess java.lang.IllegalArgumentException: empty expr
I experienced java.lang.IllegalArgumentException: empty expr
When pressing ENTER in t:in component. #{instances.pagingLength} value
binding is of type int and actual value was 40
t:panel
f:facet name=layoutt:gridLayout rows=fixed
Hi,the feature is forceId, is very important...In the jira has not the project cherokee still. :(I have a showDetailItem with very dynamicals componentes created and destroyed every time, and I need to put a lot of _javascript_ functions, and the AdfFaces put a id like this: parent:id. Some
Andrew,
I have come across this topic when analyzing this matter with
InputCalendar but thanks for the info anyway.
When posting my previous answer, I had 3rd party components in mind
which contain non-xhtml conforming javascripts. It's hardly an option
to migrate all of these in normal mode
Hello,
looks like the actionId is empty.
Can you send the complete page, please.
Regards
Bernd
Iryna Stetska schrieb:
t:in producess java.lang.IllegalArgumentException: empty expr
I experienced java.lang.IllegalArgumentException: empty expr
When pressing ENTER in t:in component.
Hi,
You can download the production release of the commercial version of
ADF Faces from here:
http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/index.html
We just got the ADF Faces Incubator proposal sent to the dev list for
review, so hopefully things are
In the current (nightly) version of the calendar, document.write is
not used anymore.
regards,
Martin
On 2/6/06, Tanju Erinmez [EMAIL PROTECTED] wrote:
Andrew,
I have come across this topic when analyzing this matter with
InputCalendar but thanks for the info anyway.
When posting my
Hi dudu,
you need to set ids to all parents of the component implementing the
interface naming-container - that would be h:form, h:dataTable, a.s.o.
With this, you should be ready to go even without forceId.
regards,
Martin
On 2/6/06, Dudu [EMAIL PROTECTED] wrote:
Hi,
the feature is
A commandLink can have an action method. When I right clicked a commandLink in IE, then chose "Open In New Window". The action method did not get called, and then a wrong page showed up.Is there any way to fix this issue?Thanks
Relax. Yahoo! Mail
virus scanning helps detect nasty
Hi all,
does someone know, if
panelNavigation2 is broken in actual nightlybuild (06-Feb-2006).
I updated all jars
because tree2 component didnt work well with my actual faces version.
After updating to the
nightlybuild, tree2 component works really fine, but panelNavigation2 is just
Hi,
I have a page that used t:dataTable, it only shows 5 on the each page. With total 7950as returned data, it is 1590 pages. But it took 1.5 minutes to show up the first page that only has 5 rows. I checked the query, it only took 240 msecs.
Please let me know if you have any better idea in
Hi thank you for reading my post.
I need a color picker component to use in my jsf portlet application
which I am developing with JSC
is there any color picker component available in OSS or Free license ?
thanks
Emily Gu schrieb:
Hi,
I have a page that used t:dataTable, it only shows 5 on the each page.
With total 7950 as returned data, it is 1590 pages. But it took 1.5
minutes to show up the first page that only has 5 rows. I checked the
query, it only took 240 msecs.
Please let me know if you
Edwin Goei wrote:
Sorry for the late response, but I somehow missed this posting earlier
because I was away. Craig posts a pretty good summary of
requirements. I've been trying to get a couple tomahawk components to
run and have noticed that they do not follow all these rules. For
how would you apply sorting by cliking a column? Sorting the whole result set? or just the current page? or query the DB again order by that column?Thanks! Werner Punz [EMAIL PROTECTED] wrote: Emily Gu schrieb: Hi, I have a page that used , it only shows 5 on the each page. With total 7950
Is there component that I can print some number/characters on it and that component will be rendered as an image? or an image generator(public open source)? The purpose is to prevent automatic registration. Thanks!
Relax. Yahoo! Mail
virus scanning helps detect nasty viruses!
Thanks for your quick reply.
I just simply used the t:dataTable and added scroller below the data table. It is sorting on all records. It is putting entire list into table in the session. Then the subsequence walking between pages is very fast.
Hmm, it seems I need a better way to handle this.
The hard work is already done. Take a look at this:
http://wiki.apache.org/myfaces/WorkingWithLargeTables
Regards,
Yee
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz
Sent: Tuesday, 7 February 2006 8:24 AM
To: users@myfaces.apache.org
Subject: Re:
So you are saying that t:saveState saves state only for subsequent page
views for the same page such as when using t:datascroller to scroll through
a result set, but can not be used to save state between multiple pages?
The approach I have gotten to work is to save the values for a backing bean
I like to use "compareToValidator" from sandbox. But I gotNo tag "compareToValidator" defined in tag library imported with prefix "s"%@ taglib uri="http://myfaces.apache.org/sandbox" prefix="s"%Nightly build: 1/15/06.libs used:
I found the UISaveState page which showed that the approach below seems
correct: http://wiki.apache.org/myfaces/SaveState
Still have a question though - on this page it states:
on page 2 should restore the entered data from page1 at the beginning of
the phase cycles. thus once you reference
It's validateCompareTo . If you read compareToValidator anywhere on the
site, put this in the JIRA please.
Dennis Byrne
-Original Message-
From: Dave [mailto:[EMAIL PROTECTED]
Sent: Monday, February 6, 2006 11:25 PM
To: users@myfaces.apache.org
Subject: No tag compareToValidator
Thank you a lot for the pointer. Glad that someone have done the hard work already!!
I will take a look.
Thanks,
Emily
On 2/6/06, Yee CN [EMAIL PROTECTED] wrote:
The hard work is already done. Take a look at this:
http://wiki.apache.org/myfaces/WorkingWithLargeTablesRegards,Yee-Original
When will there be some official news about how the donation of ADF Faceswill be integrated in MyFaces?
I am also interested in this. And what its relation to e.g. Struts-Shale is
Hi all!
I have added the wiki: http://wiki.apache.org/myfaces/WYSIWYG_Editor
Hope it's ok for you!
Regards,
Andy
-Ursprüngliche Nachricht-
Von: news [mailto:[EMAIL PROTECTED] Auftrag von Werner Punz
Gesendet: Montag, 6. Februar 2006 20:13
An: users@myfaces.apache.org
Betreff: Re: AW:
75 matches
Mail list logo