Title: Message
OK thx
Paul this works fine for the redirect on error. I'll look at thelink for
the session timeout redirection.
Thx
again.
Clément.
-Message d'origine-De: Keel, Paul
[mailto:[EMAIL PROTECTED] Envoyé: jeudi 25 août 2005
16:20À: MyFaces DiscussionObjet: RE:
Not sure if this is a tree2 specific problem, I can just see that for
some reason the behaviour seems to have changed in my app when I
switch to 20050822. Yes the actionListener is called in the
APPLY_REQUEST_VALUES(2) phase, and the repopulation is done before that
(which means that when I click
Title: Message
Sorry
for asking so much questions but I'll have to present my webapp very soon and I
need the multi-language to works fine.
Has
anybody any idea ? Why the locale is reset to the default one ? Could it comes
from a redirect/ instruction in my faces-config.xml
?
Ty for
your
You know what?
There is nothing like official information. If you start off doing
the doc on the wiki, and it gets better than the one on the webpage
(and trust me, I will add a link to the corresponding wiki pages from
the component pages to ensure competitition is fair); your doc will
grow to
I used until now myFaces 1.0.9 version.
Now I use tomahawk.jar lib nightly (20050824) .
Problems are :
1. panelTabbedPane from simple example does not work with h:commandLink
instead of h:commandButton.
If you are in second or third tab, after click h:commandLink,
panelTabbedPane will
I'm also getting the same error you had, Invalid bit mask of 14. I was
wondering how you solved your problem? I'm using the latest build (8/24)
and am trying to use tree2 to create a dynamic tree. I implemented my
actionListener like this:
public void addNewNode(ActionEvent event){
UIComponent
Yes this is true and yes SVN seems to be down (actually the entire
server on which SVN resides is down.) I have informed the appropriate
people about that.
sean
On 8/25/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I think you'll want to put it in a package for the sandbox, not tomahawk.
On 8/25/05, ir. ing. Jan Dockx [EMAIL PROTECTED] wrote:
Trust me, I love the work you're doing. And I don't want to make
enemies.
I'm standing on the sidelines on this particular issue, but it is
worth making a point here ... people who end up making major
contributions to the open source
FYI, Looks like there's a bug in JSF. See
http://forum.java.sun.com/thread.jspa?threadID=549675tstart=0
Hope this helps anyone else who may be running into this problem.
On 8/24/05, Ken [EMAIL PROTECTED] wrote:
I'm attempting to convert working Sun JSF RI application to MyFaces
containing
Looking forward to your contribution. Dennis is correct in pointing
out that the patch should be for sandbox. Feel free to ask around on
the dev list if you have questions regarding procedure, patching, etc.
sean
On 8/25/05, Ken Weiner [EMAIL PROTECTED] wrote:
Ok, great, I will get familiar
Hi,
I use the same nightly build than yours and I can use a dataTable in every tab
of my tabbedPane ... Maybe theres an error in your code.
Regards,
Clément
-Message d'origine-
De : Bogdan Sava [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 26 août 2005 10:20
À : MyFaces Discussion
Objet
The MyFaces team has created a new Wiki that we plan to use to keep
users informed of our current needs. If anyone would like to do a
little extra to help the community effort you can check out the wiki
for details on where we need assistance:
http://wiki.apache.org/myfaces/Help_Wanted
The
Yes,
get us the beef ;)
You can change something if you are motivated (and motivate others),
that's for sure!
regards,
Martin
On 8/26/05, Craig McClanahan [EMAIL PROTECTED] wrote:
On 8/25/05, ir. ing. Jan Dockx [EMAIL PROTECTED] wrote:
Trust me, I love the work you're doing. And I don't
Title: Message
Hi
everybody,
there's a bug in my
webapp when I use the browser "previous page"navigation button instead of
my custom links :
When clicking
"previous page" the button, the previous page displays well but redisplays as
soon a I do an action in the page and as a consequence
Well, there is a way in MyFaces to do so.
check out the t:aliasBean!
regards,
Martin
On 8/26/05, Udo Schnurpfeil [EMAIL PROTECTED] wrote:
* The fact that you can use a value binding expression on nearly
every attribute makes using rt expressions redundant ... you can
do anything you
Hi ,
Im using tree2 component in my project.
In my listener class I retrieve the currentnode
clicked whose value I have to pass to my treeBacker class
for some processing.
Is there any way of maintaining state given in myfaces API
.. ??
Please let me know ASAP .
Regards.
Hi,
I suppose some of you are using the great AJAX framework provided by Smirnov.
I was trying to simple give AJAX power only to the datatables in my application, so:
a) I added the new CommandLink renderer to the faces-config.xml file
b) I added the tag ajax:view to the page where my datable
Hmmm, I worry about this will not solve my problem.
I understand the t:aliasBean to use like this:
page.jsp begin --
t:aliasBean alias=#{foo} value=#{foo1} /
beans:foo /
t:aliasBean alias=#{foo} value=#{foo2} /
beans:foo /
page.jsp end
If you set the locale in the UIViewRoot manually, I don't know if it
will be passed on to the next UIViewRoot.
One solution for you might be putting the users locale in the session
(e.g. the key locale or user.locale if your have a user object) and
use the locale attribute f:view
I would agree with Mathias that this doesn't seem to be a Tree2
problem, especially if your actionListener is getting called.
What do you mean by the repopulation is done before that? The
component tree will be recreated and the tree data can be set but it
should still be possible to add to the
You want to know which node was clicked or do you want to preserve
that information? To find out which node was clicked, you can add an
actionListener and check the node identifier. It won't give you the
true node id that the model uses but the identifier will be whatever
you set it to so you
in fact, you would use the alias bean like this:
t:panel
f:facet name=layoutt:gridLayout ... /f:facet
t:aliasBean alias=#{foo} value=#{foo1}
beans:foo /
/t:aliasBean
t:aliasBean alias=#{foo} value=#{foo2}
beans:foo /
/t:aliasBean
/t:panel
but in any case, you are right, the
Thx Udo but look at the NB of my first message --- NB : I'm trying not to use
the locale parameter of the f:view tag
This solution works (I've tried it) but not so clean in my opinion.
The use of
FacesContext.getCurrentInstance().getFacesContext().getViewRoot().setLocale(l)
should work as it
I suggest you take a look at the list archives for Maintain locale
across views.
I had a similar issue and it seems the locale is not maintained
across views when a redirect/ is used.
In the end I set f:view locale=#{visit.locale}, where visit is a
session scoped bean.
Gianni
Sorry for
I apologise as it seemed to be a issue in my code :-o
Nothing to do with tree 2 in the end...
EmmanuelOn 8/26/05, Sean Schofield [EMAIL PROTECTED] wrote:
I would agree with Mathias that this doesn't seem to be a Tree2problem, especially if your actionListener is getting called.What do you
Dave Brondsema wrote:
How can I create a link which changes portlet modes (view, edit, etc)
and states (minimized, normal, etc)?
portlet:actionURL var=viewURL portletMode=view/ gives me a URL but
when I try to put it in a commandlink or outputlink it doesn't work.
${viewURL} isn't allowed
Hi,
Have any of you seen any issue with setting the rowOnMouseOver,
rowOnMouseOut... fields of a datatable programmatically. I am
dynamically generating datatables, and the scripts do not seem to be
triggered (they were triggered correctly when I was declaring and
creating the datatable in the
The solution would be quite similar to what was done in a
collaborative effort on the mailing list - install a phaselistener,
store it in the session, restore it from the session after the
redirect.
regards,
Martin
On 8/26/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I suggest you take a
OK thx Gianni.
So if I sum up things :
2 solutions to dynamically change your application locale :
*1- If you use the server STATE_SAVING_METHOD with somes /redirect
instructions :
Create a bean to save the locale choice
This bean must be in session scope or request + saveState
Then in each
Possibly validation is failing and the lifecycle never reaches the
point where it would execute your action.
You might try sticking in
h:messages globalOnly=true/
h:messages globalOnly=false/
and see if anything shows up.
Otherwise set a breakpoint in LifecycleImpl.execute() and see what
Are the table/column/inputTexts set to be rendered? Phases are
skipped for non-rendered components.
Otherwise, it sounds like a bug.
On 8/23/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
More on this...
The request values of all inputText elements of the dataTable are not
applied to
Another solution provided by Martin :
-Message d'origine-
De : Martin Marinschek [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 26 août 2005 16:37
À : MyFaces Discussion
Objet : Re: TR : Dynamic Locale change
The solution would be quite similar to what was done in a collaborative effort
Take a look at http://www.jsftutorials.net/interface/jsf-popup.html
On 8/24/05, CONNER, BRENDAN (SBCSI) [EMAIL PROTECTED] wrote:
See the book Core JavaServer Faces (Geary, Horstman), pp. 587 - 595 (in
the section: How do I generate a popup window).
- Brendan
-Original Message-
I am trying to use tiles to make designing an application admin interface much easier to maintain. I am having trouble getting tiles and alias to bean to work together and wonder if anyone knows of an workaround or the proper method for getting it to work. I'm including a short amount of my code
This sounds like it may work for me. I never used Shale, so how do I map
the backingbean from fooBar to fooBar.jsp as you mentioned below? in
face-config.xml?
thanks.
On 8/24/05, Saul Qunming Yuan [EMAIL PROTECTED] wrote:
Thanks for your response. I guess I didn't make me clear here. My
I recently tried to use an h:outputLabel tag against a t:inputText
tag and received a compiler error saying the id specified by the
for=... attribute was not found. When I changed h:outputLabel to
t:outputLabel, the compiler error went away. If, instead, I changed
t:inputText to h:inputText, the
Hi,
I would like to know if there are any solution to open a new (sub)
window with MyFaces. I have a button on my main page and on user
clicc I would like to open a new window and display some data in it.
Are there any other solutions than using _javascript_? Can the JSF
navigation system handle
Hi,
I've been working on an application based on MyFaces 1.0.8. Now, we
are moving to MyFaces 1.0.9 and I would like to discuss discovered
issues and some ideas (not only related to MyFaces but to JSF in
general).
AliasBean
* This is a pretty useful component and I'm glad that
Doh!
no clue...
can you open an issue on this?
regards,
Martin
On 8/26/05, CONNER, BRENDAN (SBCSI) [EMAIL PROTECTED] wrote:
I recently tried to use an h:outputLabel tag against a t:inputText
tag and received a compiler error saying the id specified by the
for=... attribute was not found.
I dont think this tag opens a new browser window as the _javascript_ function window.open('url',...)
would (correct me if I'm wrong and if there is a way to do it
with this tag without modifying it)... I nevertheless use the popup tag
to display info that is temporary in the same way as in the
I did it by just making the managedBean name the same as the jsp. So in your case:
managed-bean
managed-bean-namefooBar/managed-bean-name
On 8/26/05, Saul Qunming Yuan [EMAIL PROTECTED] wrote:
This sounds like it may work for me. I never used Shale, so how do I mapthe backingbean from fooBar to
Hi,
I've been working on an application based on MyFaces 1.0.8. Now, we
are moving to MyFaces 1.0.9 and I would like to discuss discovered
issues and some ideas (not only related to MyFaces but to JSF in
general).
AliasBean
* This is a pretty useful component and I'm glad that
This one might help.
http://myfaces.apache.org/tlddoc/tomahawk/t/popup.html
Original message
Date: Fri, 26 Aug 2005 17:53:04 +0200
From: Emmanuel Jay [EMAIL PROTECTED]
Subject: Opening a new window
To: MyFaces Discussion users@myfaces.apache.org
Hi,
I would like to know if
* Suppose this (selecting a row while model has been
concurrently modified by a different user):
Is the backing bean that supplies the List/DataModel/UIData
in session scope? If so, this is a consequence of the
design, not JSF. You'll get the same thing w/ Tapestry, or
ASP.NET for that
for 3) :
use the preserveDataModel of the dataTable
regards,
Martin
On 8/26/05, Dennis Byrne [EMAIL PROTECTED] wrote:
* Suppose this (selecting a row while model has been
concurrently modified by a different user):
Is the backing bean that supplies the List/DataModel/UIData
in
Title: Message
See the book Core JavaServer Faces
(Geary, Horstman), pp. 587 - 595 (in the section: "How do I generate a popup
window").
- Brendan
-Original Message-From: Emmanuel Jay
[mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 10:53
AMTo: MyFaces
Title: Message
Also,
as Mike Kienenberger pointed out in a previous thread on this
topic:
http://www.jsftutorials.net/interface/jsf-popup.html
-
Brendan
-Original Message-From: CONNER,
BRENDAN (SBCSI) Sent: Friday, August 26, 2005 11:43 AMTo:
'MyFaces Discussion'Subject: RE:
Thank you for you opinion :-)
On 8/26/05, Dennis Byrne [EMAIL PROTECTED] wrote:
* Suppose this (selecting a row while model has been
concurrently modified by a different user):
Is the backing bean that supplies the List/DataModel/UIData
in session scope? If so, this is a consequence
Thanks for your help Brendan!On 8/26/05, CONNER, BRENDAN (SBCSI) [EMAIL PROTECTED] wrote:
Also,
as Mike Kienenberger pointed out in a previous thread on this
topic:
http://www.jsftutorials.net/interface/jsf-popup.html
-
Brendan
-Original Message-From: CONNER,
BRENDAN (SBCSI)
- if model were cached in the session, it would
surprisingly work -
because if the model is cached, it cannot be modified
concurrently by
a different user
The model can still be modified ... by the same user when
they open a second browser window.
Dennis Byrne
It would be great if you could copy all this to the Wiki ;-)
http://wiki.apache.org/myfaces/2005/8/26, mirek novak [EMAIL PROTECTED]:
Hi, I've been working on an application based on MyFaces 1.0.8. Now, weare moving to MyFaces
1.0.9 and I would like to discuss discoveredissues and some ideas
Thanks Sean. I just created
http://issues.apache.org/jira/browse/MYFACES-451 and uploaded my code
and patches in case anyone wants to take a look. I'm happy to add
more docs and unit tests if required.
On 8/25/05, Sean Schofield [EMAIL PROTECTED] wrote:
Looking forward to your contribution.
Docs are required and unit tests are a definite plus. If you thought
we were bad with documentation, the lack of unit tests is even worse!
We're slowly getting on top of that though. As we add more committers
and get through JSF 1.1 certification we will turn our attention to
testing. If you
Better take a look at the latest nightly build. I suspect several of
your issues have been resolved already in the upcoming 1.0.10 release.
We're probably 2-3 weeks away from the release and now is the time to
let us know about bugs. (Feature requests can wait until future
relelases but bugs
Title: Message
There
actuallyare subtle differences among isLeaf(), getChildren.size(), and
getChildCount() that are useful:
1.
When doing "on-demand" population of the tree, isLeaf() can be false even though
there are no children loaded yet (i.e., getChildCount() ==
0).
2. I
believe
I am using the tree2 in Myfaces and my requirement is to get
the data from the database and build the tree nodes every time a node is
expanded. If an expanded node is collapsed I want to remove the nodes under
this node from the tree and add the nodes afresh by getting the data from the
I was wondering how to d something that I would think would be a common
situation, yet I'm not finding any examples at the moment...
scenario:... list of employees. You want to be able to click on one of
the employees and go to an editEmployee backing bean method that
would retrieve the employee
You can pass the parameter as you have
done and get the value of the parameter as follows
FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(empID);
From: Rick Reumann
[mailto:[EMAIL PROTECTED]
Sent: Friday, August 26, 2005 2:49
PM
To:
Please direct all MyFaces correspondence to the user list. This way
everyone can benefit from the answers to your questions.
sean
-- Forwarded message --
From: Patel, Hitesh (Exchange) [EMAIL PROTECTED]
Date: Aug 26, 2005 2:17 PM
Subject: Tree2
To: [EMAIL PROTECTED]
Hi
You can also use dataTable.getRowData(), provided your model data is
consistent, and then you don't need to create or pass a parameter.
public void editRecord(ActionEvent event)
{
dataStore.editRecord(dataTable.getRowData());
}
On 8/26/05, Patel, Hitesh (Exchange) [EMAIL
Do you know of any way to do this if the underlying DataModel
is in a property of a request scoped bean and the you
couldn't use preserveDataModel=true, t:saveState, or any
other things beyond the spec itself ? I am in such a
situation and the only solution I see at this time is using
Nothing comes to mind, but allowing the end-user to specify the target
record by key (generally a database primary key) may cause security
issues. You'll have to validate the suitability of key provided when
used.
On 8/26/05, Dennis Byrne [EMAIL PROTECTED] wrote:
Do you know of any way to do
I found a way to address the security issues when the
navigation path is to and from the same JSP . I use a
converter where getAsString encrypts and encodes the id on
the way out, getAsObject decodes and decrypts the string
coming in. This however can't be used when navigating from
one view
When I execute nonFacesRequest to go to a view without obeying
navigation-rules the state of Navigation is not saved.
So, after that, when I click the maximize or restore button of portlet
the portlet goes back to the previous page.
How can I change this navigation state?
On 8/26/05, Patel, Hitesh (Exchange) [EMAIL PROTECTED] wrote:
You can pass the parameter as you have
done and get the value of the parameter as follows
FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(empID);
I
would guess this common to have to
On 8/26/05, Mike Kienenberger [EMAIL PROTECTED] wrote:
You can also use dataTable.getRowData(), provided your model data isconsistent, and then you don't need to create or pass a parameter.public void editRecord(ActionEvent event){dataStore.editRecord
(dataTable.getRowData());}
Can you explain
Title: Message
There's a goodexample of getting row-specific events inthe
O'Reilly book JavaServer Faces (Hans Bergsten), pp. 173 - 178. The example
application throughout the book is to build an expense report application, and
it makes use of the summary-detaillinks you refer to.
However,
Not as long as the data model is contained in your component tree or
session rather than in some global location.
On 8/26/05, Rick Reumann [EMAIL PROTECTED] wrote:
On 8/26/05, Mike Kienenberger [EMAIL PROTECTED] wrote:
You can also use dataTable.getRowData(), provided your model data is
I'm a fan of the Struts ActionForm. If you wanted to populate an object with
query parameters, you might think about creating a managed bean and use the
setter injection stuff.
managed-bean
managed-bean-nameformBean/managed-bean-name
managed-bean-classxxx.FormBean/managed-bean-class
On 8/26/05, Enrique Medina [EMAIL PROTECTED] wrote:
It would be great if you could copy all this to the Wiki ;-)
http://wiki.apache.org/myfaces/
I'll take a look at it.
Yes, some issues have been already resolved - a few minutes after
sending this mail I've come across saveState component
On 8/26/05, CONNER, BRENDAN (SBCSI) [EMAIL PROTECTED] wrote:
However, I believe that, using this mechanism, there's no real way to get
around usingsomething liket:saveState or having a
session-scoped bean. Just out of curiosity, what is the objection to using
t:saveState?
Well I haven't
Title: Message
t:saveState is trivially simple to use, but it's a Godsend.
Wherever you want the state of a bean to be maintained across requests, just
declare the bean with request scope andput a t:saveSave
value="#{myBean}" on the pages that use it. The bean's state will be
maintained
Nevermind, I figured out what's going on as soon as I hit the send
button to send the email.
But, hey, thanks anyway. 8-}
david
Le 05-08-26 à 17:49, David Geary a écrit :
I'm trying to move an application from the RI to MyFaces. I've got
the StartupServletContextListener specified in
I'm trying to move an application from the RI to MyFaces. I've got
the StartupServletContextListener specified in web.xml, but when I
try to access the application, I get the following unpleasantness:
javax.servlet.ServletException:
org.apache.myfaces.webapp.webxml.WebXml.init must be
74 matches
Mail list logo