I just checked in a major improvement to Tree2. Most users won't
notice a difference but you will want to test your code to make sure
nothing has been broken. The change should be available in the latest
nightly build. It will *not* be in the upcoming tomahawk release that
is due in the
It looks like the Tree2 component remembers which nodes were collapsed and
which were expanded the next run
(using cookies?)
Is there any way to always start with all the nodes collapsed?
Regards,
BTJ
Hello everyone,
I'm fairly new to myFaces. Where I can find sample code using the
tag?
thanks
Hello!
I have a question concerning the Tree2 component. What means the attribute
clientSideToggle="false".
Means this, that the data is loaded from the server if I click on the icon?
Because that's what I need. I have so much data to load, that it costs so much
time to loa
Hi *,
I'm reviewing the tree2 currently, and I was wondering if we could
have a discussion about some of the concepts.
First thing I'd like to discuss is what happens with selected nodes.
Currently, selecting a node fires an action-listener. This is somewhat
ok, but I believe the
Hi,
I'm using a Tree2 and it works fine. But now I want that, when I'm changing
the directory in the tree, the actual opened tree should be closed and only
the clicked tree should be opened. normally all tree stay opened. hope you
understand what i want to do.
for example:
I ' m
Hello,
I have a problem using Tomahawk's Tree2 - Component.
I'm using Sun's JSF - RI and the additional Tomahawk_1.1.2-JAR, the
MyFacesExtensionsFilter is installed and seems working (tree renders the + -
Icon).
The Problem i get is that the Tree2-Component just renders a "&
With the new tree2 component, I get alot of these type of warnings:
[exec] 17:28:48,873 INFO [Engine] StandardContext[/jport]WARNING:
Component treeForm2:tims_tree2:0:0:25:_id81 just got an automatic id,
because there was no id assigned yet. If this component was created
dynamically (i.e. not by
I'm trying to use the tree2 component in a project. Because I have to load a
large
amount of data I need to use the server-side option so that I only have to load
visible data.
I like the plus/minus toggles however clicking them seems to only call
the 'value'/backingbean.meth
On 2/17/06, Sean Schofield <[EMAIL PROTECTED]> wrote:
> I just checked in a major improvement to Tree2. Most users won't
> notice a difference but you will want to test your code to make sure
> nothing has been broken. The change should be available in the latest
works as
Hello Sean.
There's one thing that is very important - it's node deletion when using
client side toggle. If I expand an node, and then try to delete the last of
it's subnodes I get error (after delete) that this node is expanded but
can't be expanded as it's leaf. That's right, after deleti
Did you file a JIRA issue on this? If not please do so. That is the
best way to make sure your suggestions do not get lost.
Sean
On 2/17/06, Michal Glowacki <[EMAIL PROTECTED]> wrote:
> Hello Sean.
>
> There's one thing that is very important - it's node deletion when using
> client side to
Root node problem has been fixed. I wrote a cool test using the new
shale mock stuff but maven is unable to deal with it so I did not
check the test in yet.
Sean
On 2/17/06, Sean Schofield <[EMAIL PROTECTED]> wrote:
> Did you file a JIRA issue on this? If not please do so. That is the
> best w
I just checked in a major improvement to Tree2. Most users won't
notice a difference but you will want to test your code to make sure
nothing has been broken. The change should be available in the latest
nightly build. It will *not* be in the upcoming tomahawk release that
is due in the
http://cvs.apache.org/builds/myfaces/nightly/
On 2/19/06, eve <[EMAIL PROTECTED]> wrote:
> >I just checked in a major improvement to Tree2. Most users won't
> >notice a difference but you will want to test your code to make sure
> >nothing has been broken. The chan
I'm working on a full blown example of several technologies (including
tomahawk and hibernate.) I haven't actually used tree2 with a dynamic
model yet so I'm curious to test my own creation and see what's
lacking.
I will be going through the old dynamic tree2 discussions
respond; what do you want to know?
On 30 Jul 2006, at 18:37, Sean Schofield wrote:
I'm working on a full blown example of several technologies (including
tomahawk and hibernate.) I haven't actually used tree2 with a dynamic
model yet so I'm curious to test my own creation
'm working on a full blown example of several
> technologies (including
> > tomahawk and hibernate.) I haven't actually used
> tree2 with a dynamic
> > model yet so I'm curious to test my own creation
> and see what's
> > lacking.
> >
> &
The tree keeps its state on the server/client depends on the state saving
method. To show the tree collapsed use TreeModel.
2007/2/28, Bjørn T Johansen <[EMAIL PROTECTED]>:
It looks like the Tree2 component remembers which nodes were collapsed and
which were expanded the next run
ree keeps its state on the server/client depends on the state saving
> method. To show the tree collapsed use TreeModel.
>
> 2007/2/28, Bjørn T Johansen <[EMAIL PROTECTED]>:
> >
> > It looks like the Tree2 component remembers which nodes were collapsed and
> >
odel.
>
> 2007/2/28, Bjørn T Johansen <[EMAIL PROTECTED]>:
> >
> > It looks like the Tree2 component remembers which nodes were collapsed
and
> > which were expanded the next run
> > (using cookies?)
> > Is there any way to alway
Hi,
is there a way to embed tree2 (with server-side toggling) inside
modaldialog, so that when i expand / collapse tree2 the modaldialog
stays visible between submits?
regards,
michal
Has anyone here tried to implement a tree2 component that is scrollable?
Meaning lets say you have to display 100 nodes with 10 nodes per page (10
nodes are visible at any given time), then above the tree2 component you
have something like a scroller, so you can traverse the tree and display
each
Hi everybody,
I try to create simple site having a tree2 menu.
Any page of my site is organised in 2 part:
(1) Menu part
(2) Body part
Actually my intetion is to have any page orgnised like this
...
<[EMAIL PROTECTED] file="tiles/index_menu.jsp"%>
...
<[EMAIL PRO
Hi there, I have the following question, how do I implement
n levels with a tree2? I have to statically define in the jsp
the levels that the tree will have (via facets)? Is there any way to do this dynamically?
Thanks for your time.
Regards
Matias Gomez Carabias
Hi there, I have the following
question, how do I implement n levels with a tree2? I have to statically define
in the jsp the levels that the tree will have (via facets)? Is there any way to
do this dynamically?
Thanks for your time.
Regards
Matias Gomez Carabias
Hi,
I'm trying to
replace the "+" "-" icons of the tree2 with my own images by using the
@imageLocation attribute.
however, I found
that the Tree2 Renderer renders a hard coded value of Width="19" and
height="18".
Is there any way to
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
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
Hello, I would like to expand a tree2. I use a framework which link jsf with hibernate. So i have a bean, which implements the TreeNode's interface. So i don't know how to expand my tree. I see the example of tomawak's componants but i don't understand. thanks for y
Hi, the great myfaces users and devs,
I really need some help regarding the
tree2.
I know I can use t.setNodeSelected()
to select the tree node. And rendering the tree node based on the
selection.
But how to deselect the tree node?
How to refresh the tree to make all the nodes
Hi,What is the correct way to reset a servet side Tree2 component? I am running into the dreaded"Encountered a node [0] + with an illogical state". It is understandable becase I have reset the
bean containing the tree but what keys (somewhere in app scope?) should I clear so that the a
Hi-
I've already got some code that uses Tree2 (with the Tree 2 model objects).
Is there any good way to output Tree2 into a table? Similar
to the TreeTable component for the Tree(1) component?
Thanks,
Adam
Adam Brod
Product Development Team
is it possible to display tree2 initially all expanded?
thanks
eve
I noticed that if i put clientSideToggle=false, in the view i am
allowed to click also on the leaves (as to expand them) and if I do
that i obviously get an error. I noticed that this happens in
myfaces example too. Is there a way to avoid this behavior?
Note: i choose server side toggle becau
Hi!
I am trying to use tree2 from Tomahawk
<%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t"%>
And I was trying the simple tree however it seems that I have problem with
my facesConfig. Do I need to add servlet or something in my web.xml to
Hello
I use tree2 , and i want to kown how use toggleExpandedEvent? can i
catch the node expanded with this event?
I build tree2 with database, and to an good optimisation, i need to
build child node when is expanded.
Thanks,
Greetings ...
You can download the "myfaces-simple-examples.war", in this file you
will find a example that use tag.
2005/7/11, Edwin Mercado <[EMAIL PROTECTED]>:
> Hello everyone,
> I'm fairly new to myFaces. Where I can find sample code using the
> tag?
>
> thanks
>
--
fabio quimbay
Also, nightly builds *should* be working as of tonight.
sean
On 7/11/05, fabio quimbay <[EMAIL PROTECTED]> wrote:
> Greetings ...
>
> You can download the "myfaces-simple-examples.war", in this file you
> will find a example that use tag.
>
> 2005/7/11, Edwin Mercado <[EMAIL PROTECTED]>:
> >
Discussion; fabio quimbay
Subject: Re: tree2
Also, nightly builds *should* be working as of tonight.
sean
On 7/11/05, fabio quimbay <[EMAIL PROTECTED]> wrote:
> Greetings ...
>
> You can download the "myfaces-simple-examples.war", in this file you
> will find a exam
they put the source files out on SVN for us to grab and do
our own Ant builds?
- Brendan
-Original Message-
From: Sean Schofield [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 11, 2005 5:52 PM
To: MyFaces Discussion; fabio quimbay
Subject: Re: tree2
Also, nightly builds *should* be worki
In order to have an attribute that will
expand all nodes of tree2 when it is first rendered, I've extended the
following classes.
org.apache.myfaces.custom.tree2.TreeTag
org.apache.myfaces.custom.tree2.HtmlTreeRenderer
The strategy at this point is to overide
the decode method of the ren
t; Sent: Monday, July 11, 2005 5:52 PM
> To: MyFaces Discussion; fabio quimbay
> Subject: Re: tree2
>
>
> Also, nightly builds *should* be working as of tonight.
>
> sean
>
> On 7/11/05, fabio quimbay <[EMAIL PROTECTED]> wrote:
> > Greetings ...
> >
A while back we discussed getting all of the tree2 users together to
discuss and implement various bug fixes and improvements for tree2.
I'm hoping to have some time next week to address this.
In the meantime here is what we should do to get ready for this:
1.) Check JIRA and make sure a
Hi,
it seems to me that the state saving mechanism of tree2 is broken:
As I wrote earlier today in another thread, tree2 with client side toggling
does collapse completely when a leaf is clicked, if URL rewriting is used to
track sessions.
Thus I switched to cookies and ran into another
I have a page with a tree2 with a total of ±20 (multiple nested -- yes there are people doing that) items in it (7 at the top level) in a real web application (thanks for the effort, MyFaces guys). Renders nicely. The tree model is a bit complex though. Currently we are using the nightly build d.d
Sorry for troubling you guys, but i am having a few
dificulties dealing with tree2.
I am using it dynamically, that is, the user creates
the nodes, gives them names, and saves them.
This part works fine.
The problem is when i create a node that is a children
to another node.
After the user has
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,
can someone show me an example how to bind data to the tree2 component?
thanks for help,
bye
Felix Japs
Hello,
I have got a strange error using myfaces 1.0.9 with the tree2 component.
Eclipse 3.1, tomcat 5.5.9
2005-09-23 16:43:40,359 ERROR
[org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sda]]
Node with id 0:0. Failed to parse 0:0:0
Hi All,
Until now I have spent a lot of days trying to make my tree2 dynamic,
but it will not run at all. The problem is always the saved state, which
I don't know how to delete, after changing the content of the tree. When
I show a tree, where some nodes are expanded and close it to op
Hi all,
I'm facing a problem related to tree2 component in
myfaces 1.0.9 when deleting a node of the tree.
The problem is the following one: if I delete a node
(which can be a leaf or not) of the tree and then
reload the page, the updated tree is correctly
displayed but if I try to expand o
, this may be your best option.
Wayne
On Fri, 4 Nov 2005 09:29 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hello!
>
> I have a question concerning the Tree2 component. What means the attribute
> clientSideToggle="false".
> Means this, that the data is lo
Hi there,
Does anybody have experience integrating ajax4jsf with MyFaces' tree2
component? I can't see anything in ajax4jsf that will work out of the
box (a4j:support, a4j:region and a4j:form don't do the trick).
Cheers,
Roger
--
--
Hi Andrew and other AJAX experts,
I got a slower day so I tried to get AA to work with my tree2. I first created
a tld for your aaTree tag. Then I updated my jsp file to use the tag. The
tree loads fine. But I am getting a javascript error now in a pop up box when
I try to expand a tree
m reviewing the tree2 currently, and I was wondering if we could
have a discussion about some of the concepts.
First thing I'd like to discuss is what happens with selected nodes.
Currently, selecting a node fires an action-listener. This is somewhat
ok, but I believe the selection-model of a tr
In using Myfaces 1.1.4, tomahawk 1.1.3, I'm trying to get the tree2
working for navigation. The menu system is created during the startup of
the application with the appropriate URLs. Since this menu system has to
be a reusable component, I can't use navigation rules to specify actio
Hi,
I'd like to find out how to have the Tree2 component's nodes expanded on
startup. expandAll() doesn't seem to work. Does anyone have any knowledge of
this?
Thanks,
Simeon Leyzerzon
==
Pl
API/source for more information
-A
On 1/8/07, djmacpac <[EMAIL PROTECTED]> wrote:
Hi,
I'm using a Tree2 and it works fine. But now I want that, when I'm changing
the directory in the tree, the actual opened tree should be closed and only
the clicked tree should be opened. normal
ath with the new
> one. The renderer always checks the state to determine which to
> expand.
>
> See the tree state API/source for more information
>
> -A
>
> On 1/8/07, djmacpac <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>> I'm using a Tree2 an
The default tree path in the tree2 code is always indexes.
A (0)
-- B (0:0)
-- C (0:1)
-- D (0:1:0
..etc..
Was this your question?
On 1/9/07, djmacpac <[EMAIL PROTECTED]> wrote:
But how can I access the path or id of the selected node?
Andrew Robinson-5 wrote:
>
> The e
on-5 wrote:
>
> The default tree path in the tree2 code is always indexes.
>
> A (0)
> -- B (0:0)
> -- C (0:1)
>-- D (0:1:0
>
> ..etc..
>
> Was this your question?
>
> On 1/9/07, djmacpac <[EMAIL PROTECTED]> wrote:
>>
>> But ho
the tree? I know it
will work with TreeState.getSelectedNode, but i can't use the tree state
because it won't work with my LARGE htmltree
Andrew Robinson-5 wrote:
>
> The default tree path in the tree2 code is always indexes.
>
> A (0)
> -- B (0:0)
> -- C (0:1)
&g
with my LARGE htmltree
>>
>>
>> Andrew Robinson-5 wrote:
>> >
>> > The default tree path in the tree2 code is always indexes.
>> >
>> > A (0)
>> > -- B (0:0)
>> > -- C (0:1)
>> >-- D (0:1:0
>> >
>
Instead of searching the web, just override the tree node toggler and
in that method the expanding/collapsing node path is available. Have a
look at the tree2's component source for more information.
On 1/9/07, djmacpac <[EMAIL PROTECTED]> wrote:
OK thx, you have a hint for whic
I have created a menu with the help of the tree2 component.
But I have also on the same pages the buttons for next page and previous
page.
I want to change the selected item from the tree2 when the page is changed
by clicking on the next button.
I hope someone had implemented already this
-- Forwarded message --
From: De Prez Hans
Date: Wed, May 6, 2009 at 9:32 AM
Subject: Tree2
To: sc...@apache.org
Sean,
I have just started using the tomahawk library and I have a question
regarding the use of the tree2 component.
When I display my tree with the
Hello,
I am using the tree2 component from tomahawk in a separate div with a large
size of nodes.
..
The parameter "org.apache.myfaces.AUTO_SCROLL" in the web.xml is set to
true.
All works fine.
When I trigger a node in the tree, the client sends the reques
, but are
otherwise rendered well... ?!?
ANY help is warmly appreciated!
--
View this message in context: http://www.nabble.com/Tree2-t1625729.html#a4407392
Sent from the MyFaces - Users forum at Nabble.com.
On 5/16/06, Ooschn <[EMAIL PROTECTED]> wrote:
the
MyFacesExtensionsFilter is installed and seems working (tree renders the + -
Icon).
The extensions filter has two mappings -- one serves page-independent
resources (probably the +/- icons above), the other modifies the
generated html for each pa
Sun's RI to to MyFaces
(Core)?
Are there some special issues?!
I'm afraid it just won't run on my Sun Application Server 8.2..
--
View this message in context: http://www.nabble.com/Tree2-t1625729.html#a4417744
Sent from the MyFaces - Users forum at Nabble.com.
Yes, I was also looking at TOMAHAWK-416 for different reasons -- this
is our #1 critical bug right now -- I'm sure it'll be fixed very soon.
On 5/16/06, Ooschn <[EMAIL PROTECTED]> wrote:
Some more lookup in this forum brought me to the conclusion that my problem
is related to MYFACES-1171 and T
The Tree now works so far ;-)
I simply replaced Sun's RI with MyFaces' JAR-Files and as far as i can see
it also runs on Sun's AppServer PE 8.2.
Nevertheless I'd really appreciate if it Tomahawk would also run with Sun's
RI ;-)
--
View this message in context: ht
2.
Nevertheless I'd really appreciate if it Tomahawk would also run with Sun's
RI ;-)
--
View this message in context: http://www.nabble.com/Tree2-t1625729.html#a419
Sent from the MyFaces - Users forum at Nabble.com.
Hello everybody,
I am using the tree tag at the moment but I will probably need to use
tree2 instead. However I miss some of the very handy attributes here:
rowOnMouseOver and rowOnMouseOut
Unfortunately there are no such attributes in tree2.
How does it work with tree2?
Kind regard,
Matthias
Hi,
I have problem with tree2 , it seems as if in
tree2, we must be aware of depth of tree in advance
before development because of facet child. For every
level in the tree I must provide a facet child in jsp
code. But what if I don't know the number of levels in
tree in advance? It see
e you ever used h:dataTable (any implementation) before? I would
imagine you would get similar messages. Tree2 is very similiar to
dataTable in terms of how it has a few components that it uses by
iterrating over lots of data (creating new ids for each row, column.)
sean
On Fri, 25 Feb 2005 09:1
having to assign an ID. So this might not be as much of a
question for the tree2 component as much as it is for the myfaces engine
itself. And I get one of those warnings for each node in the tree, so I
would just like to be able to turn that off so it doesn't waste log
space.
Tim
On Fri, 2005-
appreciate any feedback on tree2. Also, I have
already implemented an improvement so that if you are using
client-side toggling it can remember your client side toggle changes
between page requests (if you have session cookies enabled.)
sean
On Fri, 25 Feb 2005 10:07:25 -0600, Tim Pyle <[EM
d appreciate any feedback on tree2. Also, I have
> already implemented an improvement so that if you are using
> client-side toggling it can remember your client side toggle changes
> between page requests (if you have session cookies enabled.)
>
> sean
>
>
> On Fri, 25
g
> > messages of certain levels, from certain classes, etc.
> >
> > In the meantime, I'd appreciate any feedback on tree2. Also, I have
> > already implemented an improvement so that if you are using
> > client-side toggling it can remember your client side toggl
sage
> about myfaces having to assign an ID. So this might not be as much of a
> question for the tree2 component as much as it is for the myfaces engine
> itself. And I get one of those warnings for each node in the tree, so I
> would just like to be able to turn that off so it doesn
is modeled by the tree
(or are they the same?)
Right now only works with JSF components that support it.
Tree2 does not really support itself (although it could if
we found a reason for that.) You can use inside your tree
but only with components that support it (like commandLink). Notice
how
eeNode
> Object. Guess I am trying to figure out a way for a jsp developer to
> dynamically change the way that this TreeNode is built without having to
> access the bean itself and hardcoding the specifics. As you know, I am
> using the tree2 component to display the directory structu
Well Sean I finally found my problem with reading from the wrong
myfaces.jar. It was actually picking up it from the
myfaces-examples.war. So now I have that working with the new code, and
sure enough, the warnings are all gone. I am now getting this error when
rebuilding the tree based on a filte
hi,
I would suggest the method getParent in the TreeBaseNode as the
DefaultMutableTreeNode class had, in order to get the parent node of the
given one
bye
Ok, the exception in my last message was caused by the fact that I had my
TreeBacker
class implement List. So before I go throught implementing this I'd like to at
least
feel if this sounds reasonably workable with the tree2 component.
What I want to do is create a wrapper around my da
y and help you out. For now it sounds like you would
like to have the plus/minus icons work on the server side along with
folder icons and you would like to have the
"nav lines."
sean
On Thu, 24 Mar 2005 13:24:07 -0500, Rob Decker <[EMAIL PROTECTED]> wrote:
>
> I'm try
ge -
From: "Sean Schofield" <[EMAIL PROTECTED]>
To: "MyFaces Discussion"
Sent: Friday, March 25, 2005 9:02 AM
Subject: Re: tree2
> What are you trying to achieve? Do you want a server-side tree
> without folders? If I knew more about what you wanted your tre
> See my posts that followed for more info on what I'm trying to do. I've the
> plus/minus signs working as a commandLink with an actionListener for
> toggling (posted the code in another post).
I guess you have this working then?
> Currently I'm trying to create an adapter between my data and t
I'm trying to extend the HtmlTree class of Tree2. It seems to me that at a
minimum I
also have to to extend TreeTag so my subclass is associated with the tag in the
jsp
page. Since I'm not changing the tag definition at all, is there a way to
specify "extends from" in
mple" app? You save me time to
> properly set variables for the build file.
>
> Thanks.
>
> BaTien
> ===
>
> Sean Schofield wrote:
>
> >Duong,
> >
> >Check out the latest nightly build
> >(http://cvs.apache.org/builds/myfaces/ni
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
When working with trees with many nodes, the browers seem to have
difficulty with all the html being rendered with clientSideToggle=true.
So what I have tried was to set the clientSideToggle to be a
valueBinding so I could change this based on the number of nodes the
tree was going to have. But I r
I have created a backer bean for Sean's Tree2 component, and I have unit
tested it to verify its contents are as they should be. However, when I
attempt to render it, I find an error "Unable to locate facet with the
name:" and then the description of the first child in the tree
Hi
I cannot find
anywhere a good example of using the x:tree2 component (or
x:tree).
My problem is I dont
know how to submit my form to the relevant action when a node is
selected.
What I am trying to
achieve is the same behaviour as a x:commandButton with an action set to
#{myBean.d
Hi guys!I tried clientSideToggle="true" and preserveToggle="false" but when i open each node and click in a commandLink that just reload the view the tree nodes remains opened, why?Yours truly (Atenciosamente),
Rogério (_rogerio_)http://faces.eti.br
Hello,
Is it possible to create a Ajax-enabled version of tree2 by putting the
component within a pprPanelGroup?
I have tried but obviously it does not work as expected:
The tree will be rerendered through the Ajax request by pressing a node in the
tree. However, the branches will not be
Could anybody give me a hint how to use a selectOneRadio inside tree2?
Every node should have a radio button but only one of them should be
selected.
This is no problem inside datatables with spread layout and access over
an index.
But I have no right idea how this could work inside tree2
Hi,
The application I am currently working on has two frames with a client
side Tree2 component on the navigation frame. On click of the leaf links in
the tree component, the corresponding page is displayed on the content
frame. The preserveToggle attribute is set to the default.
When we
1 - 100 of 1615 matches
Mail list logo