Hi,
I’m trying the myfaces tree2 component right now.
The environment is JDK 1.5_update 6, Myfaces 1.0.9, windows
XP professional SP2
My code is
"1016" border="1" cellpadding="0" cellspacing="0" bordercolor="#00">
"/images/header2.png" width="1016" heigh
Hi all,
I have a quick question about tree2 component. How to refresh
the tree without clicking on the tree? Is there any apis to do that?
The purpose is I have the tree on the left side of the page,
and some data entry boxes on the right side. When I hit the submit button on
the r
Does Tree2 extends tree tag ?
It seems not, so the real question is :
Why does Tree2 not have StyleClasses properties ?
Ced (curiosity is bad :)) CaraMail met en oeuvre un nouveau Concept de Sécurité Globale
Yixing,
tree2 is a standard JSF component. It requires a commandLink or
commandButton to post back to itself so it can interpret events, etc.
If you want the tree to automatically update itself when the data
refreshes then you will need to add Ajax support (that's something
we're looking at in t
I posted a quetion yesterday about dynamically selecting nodes in tree2 from typing in a search textbox. Thanks to all for the suggestions. I've just about got accomplished what I'm trying to do. The only thing left, is that when I type the identifier of a child node in my search textbox the par
> Does Tree2 extends tree tag ?
What do you mean by this?
> It seems not, so the real question is :
>
> Why does Tree2 not have StyleClasses properties ?
I think you mean tree2 is missing some of the standard HTML
passthrough attributes. There is already a JIRA issue on that one
(http://
, it
may not work in the next version.
Original message
>Date: Thu, 11 Aug 2005 09:43:12 -0400
>From: Jeff Cooper <[EMAIL PROTECTED]>
>Subject: Another tree2 question
>To: MyFaces Discussion
>
> I posted a quetion yesterday about dynamically
> selecting
e
> that part so if you manage to pull this off with 1.0.9, it
> may not work in the next version.
>
> Original message
> >Date: Thu, 11 Aug 2005 09:43:12 -0400
> >From: Jeff Cooper <[EMAIL PROTECTED]>
> >Subject: Another tree2 question
> >To: M
ield <[EMAIL PROTECTED]>
> To: MyFaces Development
>
> Subject: Re: Another tree2 question
>
> Eric,
>
> Right now the selected node is set through the
> ActionListener
> mechanism. Your popup window can't really interract
> with the tree in
> this
> If there was a way to remotely set the currently
> selected node in tree2 that would be fantastic.
>
> Possibly setting the nodeselected in the backing tree
> bean or something?
It would be possible but I don't think this would be very useful in
too many situations. I would imagine that the mo
Currently, when I click leaf node, a navigation is made to a new page.
I want to know the whole path by this leaf node.
I saw there is no method provided for retrieve parent by current tree
node or tree state.
Please help. Thanks
--
Anthony Hong
I have the same scenario, and the only way I figured out to do it was to
have the action listener on the command link invoke a managed bean method
instead of "#{t.setNodeSelected}" as normal. This is in order to get to the
ActionEvent, from which you can walk the component tree to get a reference
12 matches
Mail list logo