You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Atree Blu <at...@gmail.com> on 2005/09/15 14:56:15 UTC
URGENT! HELP ME! Tree2 state problem
Hi,
I have a tree2 with showRootNode="true" preserveToggle="true"
clientSideToggle="true".
I describe my problem:
1) I open a JSP popup page with a tree2 (there are many nodes under the
root);
2) I expand some node;
3) I close popup;
4) I reopen the popup with another tree2 that, in this case, has only the
root because the datamodel is empty. When I open the page the following
error occurs:
"Encountered a node "0" with an illogical state. Node is expanded but it is
also considered a leaf (a leaf cannot be considered expanded.)"
When I populate the TreeNode the new TreeNodeBase is create as Leaf, and
then, if it has at least a child, I set Leaf=false. I tried to set
Leaf=false but the problem is not resolved.
I tried to use collapsePath("0") in the backbean but it doesn't work.
I think the tree attempts to restore the previous tree node state.
Please everyone help me!!!
Thank you
Re: Antwort: Re: URGENT! HELP ME! Tree2 state problem
Posted by Emmanuel Jay <em...@gmail.com>.
Any chance this has made it to the nightly builds?
Thanks,
Emmanuel
On 9/23/05, Sean Schofield <se...@gmail.com> wrote:
>
> Its a real PITA in JIRA (especially with all of the emails its
> generating) to mark things resovled and then later close them. There
> is also no bulk close in JIRA. Otherwise the ideal thing to do would
> be resovle everything and then close when we release.
>
> I'm working on the new emergency build right now but I will turn my
> attention to the latest tree2 stuff shortly.
>
> sean
>
> On 9/23/05, Jon Travis <jt...@p00p.org> wrote:
> > Can't vote on 564, as it's been closed.
> >
> > Isn't there some process by which bugs are verified as correctly
> > fixing the problem before they are closed?
> >
> > -- Jon
> >
> >
> > On Sep 23, 2005, at 8:07 AM, mathias.werlitz@daimlerchrysler.com wrote:
> >
> > >
> > > The issue is still open ... so the patch was not applied yet.
> > > By the way, the tree2 is corruped by patch MYFACES-564: command
> > > components for a node do not work anymore.
> > >
> > > I already commented the issue but no response so far. Vote for
> > > MYFACES-568 and MYFACES-564 maybe this speeds up a bit.
> > >
> > > Regards,
> > > Mathias Werlitz
> > >
> > > emmanuelj@gmail.com schrieb am 23.09.2005 15:16:40:
> > >
> > > > Hi,
> > > >
> > > > Anybody know if this patch has made it to the nightly build?
> > > >
> > > > Thanks,
> > > > Emmanuel
> > >
> > > > On 9/18/05, Bruno Aranda <br...@gmail.com> wrote:
> > > > I think that this is probable, Sean, out tree2 expert is now busy
> > > with
> > > > the release, but when this is over I am sure he will take a look to
> > > > the patch. To me that patch seems ok but I am not familiar with
> > > tree2.
> > > >
> > > > Regards,
> > > >
> > > > Bruno
> > > >
> > > > 2005/9/18, Emmanuel Jay <em...@gmail.com>:
> > > > > ok, but in any case do you know if the patch will make it into
> > > the nightly
> > > > > build next week?
> > > > >
> > > > > Thanks,
> > > > > Emmanuel
> > > > >
> > > > >
> > > > > On 9/17/05, Sean Schofield <se...@gmail.com> wrote:
> > > > > > You can always build the jars yourself using the source
> > > code. Just do
> > > > > > SVN checkout and apply the patch.
> > > > > >
> > > > > > Right now we are focused on the MyFaces 1.1 release on Monday.
> > > > > >
> > > > > > sean
> > > > > >
> > > > > > On 9/17/05, Emmanuel Jay < emmanuelj@gmail.com> wrote:
> > > > > > > Hi,
> > > > > > >
> > > > > > > I have the same problem as my app involves changing the
> > > tree2 all the
> > > > > time,
> > > > > > > modifying node, changing the root...
> > > > > > >
> > > > > > > I really hope the patch will make it in the build soon!
> > > > > > >
> > > > > > > Cheers
> > > > > > >
> > > > > > > Emmanuel
> > > > > > >
> > > > > > >
> > > > > > > On 9/16/05, Enrico Nicola Mirco <atreeblu@gmail.com > wrote:
> > > > > > > >
> > > > > > > > Hi,
> > > > > > > > Thank you very much for your answer. I hope the patch will
> > > > includes in
> > > > > the
> > > > > > > nightly builds quickly.
> > > > > > > >
> > > > > > > >
> > > > > > > > On 9/16/05, mathias.werlitz@daimlerchrysler.com <
> > > > > > > mathias.werlitz@daimlerchrysler.com> wrote:
> > > > > > > > >
> > > > > > > > > You could set preserveToggle="false", but this is the
> > > general
> > > > > problem
> > > > > > > that the tree does not "like" dynamic changing tree
> > > structures, because
> > > > > the
> > > > > > > TreeState is not notified of the changes.
> > > > > > > > > I will propose a patch that will make the tree more
> > > tolerant to
> > > > > > > "incompatible" states, see MYFACES-568.
> > > > > > > > >
> > > > > > > > > atreeblu@gmail.com schrieb am 15.09.2005 14:56:15:
> > > > > > > > >
> > > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > > > I have a tree2 with showRootNode="true"
> > > preserveToggle="true"
> > > > > > > > > > clientSideToggle="true".
> > > > > > > > > >
> > > > > > > > > > I describe my problem:
> > > > > > > > > > 1) I open a JSP popup page with a tree2 (there are
> > > many nodes
> > > > > under
> > > > > > > the root);
> > > > > > > > > > 2) I expand some node;
> > > > > > > > > > 3) I close popup;
> > > > > > > > > > 4) I reopen the popup with another tree2 that, in
> > > this case, has
> > > > > > > > > > only the root because the datamodel is empty. When I
> > > > open the page
> > > > > > > > > > the following error occurs:
> > > > > > > > > >
> > > > > > > > > > "Encountered a node "0" with an illogical state. Node
> > > is expanded
> > > > > > > > > > but it is also considered a leaf (a leaf cannot be
> > > considered
> > > > > > > expanded.)"
> > > > > > > > > >
> > > > > > > > > > When I populate the TreeNode the new TreeNodeBase is
> > > create as
> > > > > Leaf,
> > > > > > > > > > and then, if it has at least a child, I set Leaf=false.
> > > > I tried to
> > > > > > > > > > set Leaf=false but the problem is not resolved.
> > > > > > > > > >
> > > > > > > > > > I tried to use collapsePath("0") in the backbean but
> > > it doesn't
> > > > > work.
> > > > > > > > > >
> > > > > > > > > > I think the tree attempts to restore the previous
> > > tree node state.
> > > > > > > > > >
> > > > > > > > > > Please everyone help me!!!
> > > > > > > > > > Thank you
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> >
> >
> >
>
Re: Antwort: Re: URGENT! HELP ME! Tree2 state problem
Posted by Sean Schofield <se...@gmail.com>.
Its a real PITA in JIRA (especially with all of the emails its
generating) to mark things resovled and then later close them. There
is also no bulk close in JIRA. Otherwise the ideal thing to do would
be resovle everything and then close when we release.
I'm working on the new emergency build right now but I will turn my
attention to the latest tree2 stuff shortly.
sean
On 9/23/05, Jon Travis <jt...@p00p.org> wrote:
> Can't vote on 564, as it's been closed.
>
> Isn't there some process by which bugs are verified as correctly
> fixing the problem before they are closed?
>
> -- Jon
>
>
> On Sep 23, 2005, at 8:07 AM, mathias.werlitz@daimlerchrysler.com wrote:
>
> >
> > The issue is still open ... so the patch was not applied yet.
> > By the way, the tree2 is corruped by patch MYFACES-564: command
> > components for a node do not work anymore.
> >
> > I already commented the issue but no response so far. Vote for
> > MYFACES-568 and MYFACES-564 maybe this speeds up a bit.
> >
> > Regards,
> > Mathias Werlitz
> >
> > emmanuelj@gmail.com schrieb am 23.09.2005 15:16:40:
> >
> > > Hi,
> > >
> > > Anybody know if this patch has made it to the nightly build?
> > >
> > > Thanks,
> > > Emmanuel
> >
> > > On 9/18/05, Bruno Aranda <br...@gmail.com> wrote:
> > > I think that this is probable, Sean, out tree2 expert is now busy
> > with
> > > the release, but when this is over I am sure he will take a look to
> > > the patch. To me that patch seems ok but I am not familiar with
> > tree2.
> > >
> > > Regards,
> > >
> > > Bruno
> > >
> > > 2005/9/18, Emmanuel Jay <em...@gmail.com>:
> > > > ok, but in any case do you know if the patch will make it into
> > the nightly
> > > > build next week?
> > > >
> > > > Thanks,
> > > > Emmanuel
> > > >
> > > >
> > > > On 9/17/05, Sean Schofield <se...@gmail.com> wrote:
> > > > > You can always build the jars yourself using the source
> > code. Just do
> > > > > SVN checkout and apply the patch.
> > > > >
> > > > > Right now we are focused on the MyFaces 1.1 release on Monday.
> > > > >
> > > > > sean
> > > > >
> > > > > On 9/17/05, Emmanuel Jay < emmanuelj@gmail.com> wrote:
> > > > > > Hi,
> > > > > >
> > > > > > I have the same problem as my app involves changing the
> > tree2 all the
> > > > time,
> > > > > > modifying node, changing the root...
> > > > > >
> > > > > > I really hope the patch will make it in the build soon!
> > > > > >
> > > > > > Cheers
> > > > > >
> > > > > > Emmanuel
> > > > > >
> > > > > >
> > > > > > On 9/16/05, Enrico Nicola Mirco <atreeblu@gmail.com > wrote:
> > > > > > >
> > > > > > > Hi,
> > > > > > > Thank you very much for your answer. I hope the patch will
> > > includes in
> > > > the
> > > > > > nightly builds quickly.
> > > > > > >
> > > > > > >
> > > > > > > On 9/16/05, mathias.werlitz@daimlerchrysler.com <
> > > > > > mathias.werlitz@daimlerchrysler.com> wrote:
> > > > > > > >
> > > > > > > > You could set preserveToggle="false", but this is the
> > general
> > > > problem
> > > > > > that the tree does not "like" dynamic changing tree
> > structures, because
> > > > the
> > > > > > TreeState is not notified of the changes.
> > > > > > > > I will propose a patch that will make the tree more
> > tolerant to
> > > > > > "incompatible" states, see MYFACES-568.
> > > > > > > >
> > > > > > > > atreeblu@gmail.com schrieb am 15.09.2005 14:56:15:
> > > > > > > >
> > > > > > > > > Hi,
> > > > > > > >
> > > > > > > > > I have a tree2 with showRootNode="true"
> > preserveToggle="true"
> > > > > > > > > clientSideToggle="true".
> > > > > > > > >
> > > > > > > > > I describe my problem:
> > > > > > > > > 1) I open a JSP popup page with a tree2 (there are
> > many nodes
> > > > under
> > > > > > the root);
> > > > > > > > > 2) I expand some node;
> > > > > > > > > 3) I close popup;
> > > > > > > > > 4) I reopen the popup with another tree2 that, in
> > this case, has
> > > > > > > > > only the root because the datamodel is empty. When I
> > > open the page
> > > > > > > > > the following error occurs:
> > > > > > > > >
> > > > > > > > > "Encountered a node "0" with an illogical state. Node
> > is expanded
> > > > > > > > > but it is also considered a leaf (a leaf cannot be
> > considered
> > > > > > expanded.)"
> > > > > > > > >
> > > > > > > > > When I populate the TreeNode the new TreeNodeBase is
> > create as
> > > > Leaf,
> > > > > > > > > and then, if it has at least a child, I set Leaf=false.
> > > I tried to
> > > > > > > > > set Leaf=false but the problem is not resolved.
> > > > > > > > >
> > > > > > > > > I tried to use collapsePath("0") in the backbean but
> > it doesn't
> > > > work.
> > > > > > > > >
> > > > > > > > > I think the tree attempts to restore the previous
> > tree node state.
> > > > > > > > >
> > > > > > > > > Please everyone help me!!!
> > > > > > > > > Thank you
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
>
>
>
Re: Antwort: Re: URGENT! HELP ME! Tree2 state problem
Posted by Jon Travis <jt...@p00p.org>.
Can't vote on 564, as it's been closed.
Isn't there some process by which bugs are verified as correctly
fixing the problem before they are closed?
-- Jon
On Sep 23, 2005, at 8:07 AM, mathias.werlitz@daimlerchrysler.com wrote:
>
> The issue is still open ... so the patch was not applied yet.
> By the way, the tree2 is corruped by patch MYFACES-564: command
> components for a node do not work anymore.
>
> I already commented the issue but no response so far. Vote for
> MYFACES-568 and MYFACES-564 maybe this speeds up a bit.
>
> Regards,
> Mathias Werlitz
>
> emmanuelj@gmail.com schrieb am 23.09.2005 15:16:40:
>
> > Hi,
> >
> > Anybody know if this patch has made it to the nightly build?
> >
> > Thanks,
> > Emmanuel
>
> > On 9/18/05, Bruno Aranda <br...@gmail.com> wrote:
> > I think that this is probable, Sean, out tree2 expert is now busy
> with
> > the release, but when this is over I am sure he will take a look to
> > the patch. To me that patch seems ok but I am not familiar with
> tree2.
> >
> > Regards,
> >
> > Bruno
> >
> > 2005/9/18, Emmanuel Jay <em...@gmail.com>:
> > > ok, but in any case do you know if the patch will make it into
> the nightly
> > > build next week?
> > >
> > > Thanks,
> > > Emmanuel
> > >
> > >
> > > On 9/17/05, Sean Schofield <se...@gmail.com> wrote:
> > > > You can always build the jars yourself using the source
> code. Just do
> > > > SVN checkout and apply the patch.
> > > >
> > > > Right now we are focused on the MyFaces 1.1 release on Monday.
> > > >
> > > > sean
> > > >
> > > > On 9/17/05, Emmanuel Jay < emmanuelj@gmail.com> wrote:
> > > > > Hi,
> > > > >
> > > > > I have the same problem as my app involves changing the
> tree2 all the
> > > time,
> > > > > modifying node, changing the root...
> > > > >
> > > > > I really hope the patch will make it in the build soon!
> > > > >
> > > > > Cheers
> > > > >
> > > > > Emmanuel
> > > > >
> > > > >
> > > > > On 9/16/05, Enrico Nicola Mirco <atreeblu@gmail.com > wrote:
> > > > > >
> > > > > > Hi,
> > > > > > Thank you very much for your answer. I hope the patch will
> > includes in
> > > the
> > > > > nightly builds quickly.
> > > > > >
> > > > > >
> > > > > > On 9/16/05, mathias.werlitz@daimlerchrysler.com <
> > > > > mathias.werlitz@daimlerchrysler.com> wrote:
> > > > > > >
> > > > > > > You could set preserveToggle="false", but this is the
> general
> > > problem
> > > > > that the tree does not "like" dynamic changing tree
> structures, because
> > > the
> > > > > TreeState is not notified of the changes.
> > > > > > > I will propose a patch that will make the tree more
> tolerant to
> > > > > "incompatible" states, see MYFACES-568.
> > > > > > >
> > > > > > > atreeblu@gmail.com schrieb am 15.09.2005 14:56:15:
> > > > > > >
> > > > > > > > Hi,
> > > > > > >
> > > > > > > > I have a tree2 with showRootNode="true"
> preserveToggle="true"
> > > > > > > > clientSideToggle="true".
> > > > > > > >
> > > > > > > > I describe my problem:
> > > > > > > > 1) I open a JSP popup page with a tree2 (there are
> many nodes
> > > under
> > > > > the root);
> > > > > > > > 2) I expand some node;
> > > > > > > > 3) I close popup;
> > > > > > > > 4) I reopen the popup with another tree2 that, in
> this case, has
> > > > > > > > only the root because the datamodel is empty. When I
> > open the page
> > > > > > > > the following error occurs:
> > > > > > > >
> > > > > > > > "Encountered a node "0" with an illogical state. Node
> is expanded
> > > > > > > > but it is also considered a leaf (a leaf cannot be
> considered
> > > > > expanded.)"
> > > > > > > >
> > > > > > > > When I populate the TreeNode the new TreeNodeBase is
> create as
> > > Leaf,
> > > > > > > > and then, if it has at least a child, I set Leaf=false.
> > I tried to
> > > > > > > > set Leaf=false but the problem is not resolved.
> > > > > > > >
> > > > > > > > I tried to use collapsePath("0") in the backbean but
> it doesn't
> > > work.
> > > > > > > >
> > > > > > > > I think the tree attempts to restore the previous
> tree node state.
> > > > > > > >
> > > > > > > > Please everyone help me!!!
> > > > > > > > Thank you
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
Antwort: Re: URGENT! HELP ME! Tree2 state problem
Posted by ma...@daimlerchrysler.com.
The issue is still open ... so the patch was not applied yet.
By the way, the tree2 is corruped by patch MYFACES-564: command components
for a node do not work anymore.
I already commented the issue but no response so far. Vote for MYFACES-568
and MYFACES-564 maybe this speeds up a bit.
Regards,
Mathias Werlitz
emmanuelj@gmail.com schrieb am 23.09.2005 15:16:40:
> Hi,
>
> Anybody know if this patch has made it to the nightly build?
>
> Thanks,
> Emmanuel
> On 9/18/05, Bruno Aranda <br...@gmail.com> wrote:
> I think that this is probable, Sean, out tree2 expert is now busy with
> the release, but when this is over I am sure he will take a look to
> the patch. To me that patch seems ok but I am not familiar with tree2.
>
> Regards,
>
> Bruno
>
> 2005/9/18, Emmanuel Jay <em...@gmail.com>:
> > ok, but in any case do you know if the patch will make it into the
nightly
> > build next week?
> >
> > Thanks,
> > Emmanuel
> >
> >
> > On 9/17/05, Sean Schofield <se...@gmail.com> wrote:
> > > You can always build the jars yourself using the source code. Just
do
> > > SVN checkout and apply the patch.
> > >
> > > Right now we are focused on the MyFaces 1.1 release on Monday.
> > >
> > > sean
> > >
> > > On 9/17/05, Emmanuel Jay < emmanuelj@gmail.com> wrote:
> > > > Hi,
> > > >
> > > > I have the same problem as my app involves changing the tree2 all
the
> > time,
> > > > modifying node, changing the root...
> > > >
> > > > I really hope the patch will make it in the build soon!
> > > >
> > > > Cheers
> > > >
> > > > Emmanuel
> > > >
> > > >
> > > > On 9/16/05, Enrico Nicola Mirco <atreeblu@gmail.com > wrote:
> > > > >
> > > > > Hi,
> > > > > Thank you very much for your answer. I hope the patch will
> includes in
> > the
> > > > nightly builds quickly.
> > > > >
> > > > >
> > > > > On 9/16/05, mathias.werlitz@daimlerchrysler.com <
> > > > mathias.werlitz@daimlerchrysler.com> wrote:
> > > > > >
> > > > > > You could set preserveToggle="false", but this is the general
> > problem
> > > > that the tree does not "like" dynamic changing tree structures,
because
> > the
> > > > TreeState is not notified of the changes.
> > > > > > I will propose a patch that will make the tree more tolerant
to
> > > > "incompatible" states, see MYFACES-568.
> > > > > >
> > > > > > atreeblu@gmail.com schrieb am 15.09.2005 14:56:15:
> > > > > >
> > > > > > > Hi,
> > > > > >
> > > > > > > I have a tree2 with showRootNode="true"
preserveToggle="true"
> > > > > > > clientSideToggle="true".
> > > > > > >
> > > > > > > I describe my problem:
> > > > > > > 1) I open a JSP popup page with a tree2 (there are many
nodes
> > under
> > > > the root);
> > > > > > > 2) I expand some node;
> > > > > > > 3) I close popup;
> > > > > > > 4) I reopen the popup with another tree2 that, in this case,
has
> > > > > > > only the root because the datamodel is empty. When I
> open the page
> > > > > > > the following error occurs:
> > > > > > >
> > > > > > > "Encountered a node "0" with an illogical state. Node is
expanded
> > > > > > > but it is also considered a leaf (a leaf cannot be
considered
> > > > expanded.)"
> > > > > > >
> > > > > > > When I populate the TreeNode the new TreeNodeBase is create
as
> > Leaf,
> > > > > > > and then, if it has at least a child, I set Leaf=false.
> I tried to
> > > > > > > set Leaf=false but the problem is not resolved.
> > > > > > >
> > > > > > > I tried to use collapsePath("0") in the backbean but it
doesn't
> > work.
> > > > > > >
> > > > > > > I think the tree attempts to restore the previous tree node
state.
> > > > > > >
> > > > > > > Please everyone help me!!!
> > > > > > > Thank you
> > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
Re: URGENT! HELP ME! Tree2 state problem
Posted by Emmanuel Jay <em...@gmail.com>.
Hi,
Anybody know if this patch has made it to the nightly build?
Thanks,
Emmanuel
On 9/18/05, Bruno Aranda <br...@gmail.com> wrote:
>
> I think that this is probable, Sean, out tree2 expert is now busy with
> the release, but when this is over I am sure he will take a look to
> the patch. To me that patch seems ok but I am not familiar with tree2.
>
> Regards,
>
> Bruno
>
> 2005/9/18, Emmanuel Jay <em...@gmail.com>:
> > ok, but in any case do you know if the patch will make it into the
> nightly
> > build next week?
> >
> > Thanks,
> > Emmanuel
> >
> >
> > On 9/17/05, Sean Schofield <se...@gmail.com> wrote:
> > > You can always build the jars yourself using the source code. Just do
> > > SVN checkout and apply the patch.
> > >
> > > Right now we are focused on the MyFaces 1.1 release on Monday.
> > >
> > > sean
> > >
> > > On 9/17/05, Emmanuel Jay < emmanuelj@gmail.com> wrote:
> > > > Hi,
> > > >
> > > > I have the same problem as my app involves changing the tree2 all
> the
> > time,
> > > > modifying node, changing the root...
> > > >
> > > > I really hope the patch will make it in the build soon!
> > > >
> > > > Cheers
> > > >
> > > > Emmanuel
> > > >
> > > >
> > > > On 9/16/05, Enrico Nicola Mirco <atreeblu@gmail.com > wrote:
> > > > >
> > > > > Hi,
> > > > > Thank you very much for your answer. I hope the patch will
> includes in
> > the
> > > > nightly builds quickly.
> > > > >
> > > > >
> > > > > On 9/16/05, mathias.werlitz@daimlerchrysler.com <
> > > > mathias.werlitz@daimlerchrysler.com> wrote:
> > > > > >
> > > > > > You could set preserveToggle="false", but this is the general
> > problem
> > > > that the tree does not "like" dynamic changing tree structures,
> because
> > the
> > > > TreeState is not notified of the changes.
> > > > > > I will propose a patch that will make the tree more tolerant to
> > > > "incompatible" states, see MYFACES-568.
> > > > > >
> > > > > > atreeblu@gmail.com schrieb am 15.09.2005 14:56:15:
> > > > > >
> > > > > > > Hi,
> > > > > >
> > > > > > > I have a tree2 with showRootNode="true" preserveToggle="true"
> > > > > > > clientSideToggle="true".
> > > > > > >
> > > > > > > I describe my problem:
> > > > > > > 1) I open a JSP popup page with a tree2 (there are many nodes
> > under
> > > > the root);
> > > > > > > 2) I expand some node;
> > > > > > > 3) I close popup;
> > > > > > > 4) I reopen the popup with another tree2 that, in this case,
> has
> > > > > > > only the root because the datamodel is empty. When I open the
> page
> > > > > > > the following error occurs:
> > > > > > >
> > > > > > > "Encountered a node "0" with an illogical state. Node is
> expanded
> > > > > > > but it is also considered a leaf (a leaf cannot be considered
> > > > expanded.)"
> > > > > > >
> > > > > > > When I populate the TreeNode the new TreeNodeBase is create as
> > Leaf,
> > > > > > > and then, if it has at least a child, I set Leaf=false. I
> tried to
> > > > > > > set Leaf=false but the problem is not resolved.
> > > > > > >
> > > > > > > I tried to use collapsePath("0") in the backbean but it
> doesn't
> > work.
> > > > > > >
> > > > > > > I think the tree attempts to restore the previous tree node
> state.
> > > > > > >
> > > > > > > Please everyone help me!!!
> > > > > > > Thank you
> > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>
Re: URGENT! HELP ME! Tree2 state problem
Posted by Bruno Aranda <br...@gmail.com>.
I think that this is probable, Sean, out tree2 expert is now busy with
the release, but when this is over I am sure he will take a look to
the patch. To me that patch seems ok but I am not familiar with tree2.
Regards,
Bruno
2005/9/18, Emmanuel Jay <em...@gmail.com>:
> ok, but in any case do you know if the patch will make it into the nightly
> build next week?
>
> Thanks,
> Emmanuel
>
>
> On 9/17/05, Sean Schofield <se...@gmail.com> wrote:
> > You can always build the jars yourself using the source code. Just do
> > SVN checkout and apply the patch.
> >
> > Right now we are focused on the MyFaces 1.1 release on Monday.
> >
> > sean
> >
> > On 9/17/05, Emmanuel Jay < emmanuelj@gmail.com> wrote:
> > > Hi,
> > >
> > > I have the same problem as my app involves changing the tree2 all the
> time,
> > > modifying node, changing the root...
> > >
> > > I really hope the patch will make it in the build soon!
> > >
> > > Cheers
> > >
> > > Emmanuel
> > >
> > >
> > > On 9/16/05, Enrico Nicola Mirco <atreeblu@gmail.com > wrote:
> > > >
> > > > Hi,
> > > > Thank you very much for your answer. I hope the patch will includes in
> the
> > > nightly builds quickly.
> > > >
> > > >
> > > > On 9/16/05, mathias.werlitz@daimlerchrysler.com <
> > > mathias.werlitz@daimlerchrysler.com> wrote:
> > > > >
> > > > > You could set preserveToggle="false", but this is the general
> problem
> > > that the tree does not "like" dynamic changing tree structures, because
> the
> > > TreeState is not notified of the changes.
> > > > > I will propose a patch that will make the tree more tolerant to
> > > "incompatible" states, see MYFACES-568.
> > > > >
> > > > > atreeblu@gmail.com schrieb am 15.09.2005 14:56:15:
> > > > >
> > > > > > Hi,
> > > > >
> > > > > > I have a tree2 with showRootNode="true" preserveToggle="true"
> > > > > > clientSideToggle="true".
> > > > > >
> > > > > > I describe my problem:
> > > > > > 1) I open a JSP popup page with a tree2 (there are many nodes
> under
> > > the root);
> > > > > > 2) I expand some node;
> > > > > > 3) I close popup;
> > > > > > 4) I reopen the popup with another tree2 that, in this case, has
> > > > > > only the root because the datamodel is empty. When I open the page
> > > > > > the following error occurs:
> > > > > >
> > > > > > "Encountered a node "0" with an illogical state. Node is expanded
> > > > > > but it is also considered a leaf (a leaf cannot be considered
> > > expanded.)"
> > > > > >
> > > > > > When I populate the TreeNode the new TreeNodeBase is create as
> Leaf,
> > > > > > and then, if it has at least a child, I set Leaf=false. I tried to
> > > > > > set Leaf=false but the problem is not resolved.
> > > > > >
> > > > > > I tried to use collapsePath("0") in the backbean but it doesn't
> work.
> > > > > >
> > > > > > I think the tree attempts to restore the previous tree node state.
> > > > > >
> > > > > > Please everyone help me!!!
> > > > > > Thank you
> > > >
> > > >
> > >
> > >
> >
>
>
Re: URGENT! HELP ME! Tree2 state problem
Posted by Emmanuel Jay <em...@gmail.com>.
ok, but in any case do you know if the patch will make it into the nightly
build next week?
Thanks,
Emmanuel
On 9/17/05, Sean Schofield <se...@gmail.com> wrote:
>
> You can always build the jars yourself using the source code. Just do
> SVN checkout and apply the patch.
>
> Right now we are focused on the MyFaces 1.1 release on Monday.
>
> sean
>
> On 9/17/05, Emmanuel Jay <em...@gmail.com> wrote:
> > Hi,
> >
> > I have the same problem as my app involves changing the tree2 all the
> time,
> > modifying node, changing the root...
> >
> > I really hope the patch will make it in the build soon!
> >
> > Cheers
> >
> > Emmanuel
> >
> >
> > On 9/16/05, Enrico Nicola Mirco <at...@gmail.com> wrote:
> > >
> > > Hi,
> > > Thank you very much for your answer. I hope the patch will includes in
> the
> > nightly builds quickly.
> > >
> > >
> > > On 9/16/05, mathias.werlitz@daimlerchrysler.com <
> > mathias.werlitz@daimlerchrysler.com> wrote:
> > > >
> > > > You could set preserveToggle="false", but this is the general
> problem
> > that the tree does not "like" dynamic changing tree structures, because
> the
> > TreeState is not notified of the changes.
> > > > I will propose a patch that will make the tree more tolerant to
> > "incompatible" states, see MYFACES-568.
> > > >
> > > > atreeblu@gmail.com schrieb am 15.09.2005 14:56:15:
> > > >
> > > > > Hi,
> > > >
> > > > > I have a tree2 with showRootNode="true" preserveToggle="true"
> > > > > clientSideToggle="true".
> > > > >
> > > > > I describe my problem:
> > > > > 1) I open a JSP popup page with a tree2 (there are many nodes
> under
> > the root);
> > > > > 2) I expand some node;
> > > > > 3) I close popup;
> > > > > 4) I reopen the popup with another tree2 that, in this case, has
> > > > > only the root because the datamodel is empty. When I open the page
> > > > > the following error occurs:
> > > > >
> > > > > "Encountered a node "0" with an illogical state. Node is expanded
> > > > > but it is also considered a leaf (a leaf cannot be considered
> > expanded.)"
> > > > >
> > > > > When I populate the TreeNode the new TreeNodeBase is create as
> Leaf,
> > > > > and then, if it has at least a child, I set Leaf=false. I tried to
> > > > > set Leaf=false but the problem is not resolved.
> > > > >
> > > > > I tried to use collapsePath("0") in the backbean but it doesn't
> work.
> > > > >
> > > > > I think the tree attempts to restore the previous tree node state.
> > > > >
> > > > > Please everyone help me!!!
> > > > > Thank you
> > >
> > >
> >
> >
>
Re: URGENT! HELP ME! Tree2 state problem
Posted by Sean Schofield <se...@gmail.com>.
You can always build the jars yourself using the source code. Just do
SVN checkout and apply the patch.
Right now we are focused on the MyFaces 1.1 release on Monday.
sean
On 9/17/05, Emmanuel Jay <em...@gmail.com> wrote:
> Hi,
>
> I have the same problem as my app involves changing the tree2 all the time,
> modifying node, changing the root...
>
> I really hope the patch will make it in the build soon!
>
> Cheers
>
> Emmanuel
>
>
> On 9/16/05, Enrico Nicola Mirco <at...@gmail.com> wrote:
> >
> > Hi,
> > Thank you very much for your answer. I hope the patch will includes in the
> nightly builds quickly.
> >
> >
> > On 9/16/05, mathias.werlitz@daimlerchrysler.com <
> mathias.werlitz@daimlerchrysler.com> wrote:
> > >
> > > You could set preserveToggle="false", but this is the general problem
> that the tree does not "like" dynamic changing tree structures, because the
> TreeState is not notified of the changes.
> > > I will propose a patch that will make the tree more tolerant to
> "incompatible" states, see MYFACES-568.
> > >
> > > atreeblu@gmail.com schrieb am 15.09.2005 14:56:15:
> > >
> > > > Hi,
> > >
> > > > I have a tree2 with showRootNode="true" preserveToggle="true"
> > > > clientSideToggle="true".
> > > >
> > > > I describe my problem:
> > > > 1) I open a JSP popup page with a tree2 (there are many nodes under
> the root);
> > > > 2) I expand some node;
> > > > 3) I close popup;
> > > > 4) I reopen the popup with another tree2 that, in this case, has
> > > > only the root because the datamodel is empty. When I open the page
> > > > the following error occurs:
> > > >
> > > > "Encountered a node "0" with an illogical state. Node is expanded
> > > > but it is also considered a leaf (a leaf cannot be considered
> expanded.)"
> > > >
> > > > When I populate the TreeNode the new TreeNodeBase is create as Leaf,
> > > > and then, if it has at least a child, I set Leaf=false. I tried to
> > > > set Leaf=false but the problem is not resolved.
> > > >
> > > > I tried to use collapsePath("0") in the backbean but it doesn't work.
> > > >
> > > > I think the tree attempts to restore the previous tree node state.
> > > >
> > > > Please everyone help me!!!
> > > > Thank you
> >
> >
>
>
Re: URGENT! HELP ME! Tree2 state problem
Posted by Emmanuel Jay <em...@gmail.com>.
Hi,
I have the same problem as my app involves changing the tree2 all the time,
modifying node, changing the root...
I really hope the patch will make it in the build soon!
Cheers
Emmanuel
On 9/16/05, Enrico Nicola Mirco <at...@gmail.com> wrote:
>
> Hi,
> Thank you very much for your answer. I hope the patch will includes in the
> nightly builds quickly.
> On 9/16/05, mathias.werlitz@daimlerchrysler.com <ma...@daimlerchrysler.com>
> wrote:
> >
> >
> > You could set preserveToggle="false", but this is the general problem
> > that the tree does not "like" dynamic changing tree structures, because the
> > TreeState is not notified of the changes.
> > I will propose a patch that will make the tree more tolerant to
> > "incompatible" states, see MYFACES-568.
> >
> > atreeblu@gmail.com schrieb am 15.09.2005 14:56:15:
> >
> > > Hi,
> > > I have a tree2 with showRootNode="true" preserveToggle="true"
> > > clientSideToggle="true".
> > >
> > > I describe my problem:
> > > 1) I open a JSP popup page with a tree2 (there are many nodes under
> > the root);
> > > 2) I expand some node;
> > > 3) I close popup;
> > > 4) I reopen the popup with another tree2 that, in this case, has
> > > only the root because the datamodel is empty. When I open the page
> > > the following error occurs:
> > >
> > > "Encountered a node "0" with an illogical state. Node is expanded
> > > but it is also considered a leaf (a leaf cannot be considered
> > expanded.)"
> > >
> > > When I populate the TreeNode the new TreeNodeBase is create as Leaf,
> > > and then, if it has at least a child, I set Leaf=false. I tried to
> > > set Leaf=false but the problem is not resolved.
> > >
> > > I tried to use collapsePath("0") in the backbean but it doesn't work.
> > >
> > > I think the tree attempts to restore the previous tree node state.
> > >
> > > Please everyone help me!!!
> > > Thank you
> >
>
>
Re: URGENT! HELP ME! Tree2 state problem
Posted by Enrico Nicola Mirco <at...@gmail.com>.
Hi,
Thank you very much for your answer. I hope the patch will includes in the
nightly builds quickly.
On 9/16/05, mathias.werlitz@daimlerchrysler.com <
mathias.werlitz@daimlerchrysler.com> wrote:
>
>
> You could set preserveToggle="false", but this is the general problem that
> the tree does not "like" dynamic changing tree structures, because the
> TreeState is not notified of the changes.
> I will propose a patch that will make the tree more tolerant to
> "incompatible" states, see MYFACES-568.
>
> atreeblu@gmail.com schrieb am 15.09.2005 14:56:15:
>
> > Hi,
> > I have a tree2 with showRootNode="true" preserveToggle="true"
> > clientSideToggle="true".
> >
> > I describe my problem:
> > 1) I open a JSP popup page with a tree2 (there are many nodes under the
> root);
> > 2) I expand some node;
> > 3) I close popup;
> > 4) I reopen the popup with another tree2 that, in this case, has
> > only the root because the datamodel is empty. When I open the page
> > the following error occurs:
> >
> > "Encountered a node "0" with an illogical state. Node is expanded
> > but it is also considered a leaf (a leaf cannot be considered
> expanded.)"
> >
> > When I populate the TreeNode the new TreeNodeBase is create as Leaf,
> > and then, if it has at least a child, I set Leaf=false. I tried to
> > set Leaf=false but the problem is not resolved.
> >
> > I tried to use collapsePath("0") in the backbean but it doesn't work.
> >
> > I think the tree attempts to restore the previous tree node state.
> >
> > Please everyone help me!!!
> > Thank you
>
Re: URGENT! HELP ME! Tree2 state problem
Posted by Guilherme Gomes <gu...@yahoo.com>.
Well, i solved my issue by not creating a new tree. I
have my tree in a session bean, so i just clean the
root's children - with attention to collapse the nodes
if they are expanded - and then repopulate the tree
with the new data.
That solved it, as i no longer have the same exception
as you do now.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Antwort: URGENT! HELP ME! Tree2 state problem
Posted by ma...@daimlerchrysler.com.
You could set preserveToggle="false", but this is the general problem that
the tree does not "like" dynamic changing tree structures, because the
TreeState is not notified of the changes.
I will propose a patch that will make the tree more tolerant to
"incompatible" states, see MYFACES-568.
atreeblu@gmail.com schrieb am 15.09.2005 14:56:15:
> Hi,
> I have a tree2 with showRootNode="true" preserveToggle="true"
> clientSideToggle="true".
>
> I describe my problem:
> 1) I open a JSP popup page with a tree2 (there are many nodes under the
root);
> 2) I expand some node;
> 3) I close popup;
> 4) I reopen the popup with another tree2 that, in this case, has
> only the root because the datamodel is empty. When I open the page
> the following error occurs:
>
> "Encountered a node "0" with an illogical state. Node is expanded
> but it is also considered a leaf (a leaf cannot be considered
expanded.)"
>
> When I populate the TreeNode the new TreeNodeBase is create as Leaf,
> and then, if it has at least a child, I set Leaf=false. I tried to
> set Leaf=false but the problem is not resolved.
>
> I tried to use collapsePath("0") in the backbean but it doesn't work.
>
> I think the tree attempts to restore the previous tree node state.
>
> Please everyone help me!!!
> Thank you