Re: tree2 HtmlTree and saveSate Question

2005-10-22 Thread Marcel Ruff
Anu Padki wrote: I am trying to get the lazy loading working for tree2. A lot of debugguibg shows that the changed value of the nodes is not persistent acorss the requests. After I quit from the ActionListener, the new nodes are forgotten. I suspect I have to call saveState on the tree. Any

Re: dataScroller.jsf: How to reset pagindex

2005-10-22 Thread Marcel Ruff
Marcel Ruff wrote: Hi, i need to reset the page index of 994 Cars found, displaying 10 cars, from 1 to 10. Page 99 / 100 If i watch page 99 and program some filter so that after reload max page is only 20 the current page 99 is far behind the end. How can i programmatically reset

Re: tree2: How to get the expand event to load more data?

2005-10-11 Thread Marcel Ruff
*location* instead of using the file in the component. Specify your own javascript location and then copy the javascript file from the tree2 source to that location. Then simply add your own stuff to the onclick. sean On 10/5/05, Marcel Ruff [EMAIL PROTECTED] wrote: Hi, when a user clicks

dataScroller.jsf: How to reset pagindex

2005-10-11 Thread Marcel Ruff
Hi, i need to reset the page index of 994 Cars found, displaying 10 cars, from 1 to 10. Page 99 / 100 If i watch page 99 and program some filter so that after reload max page is only 20 the current page 99 is far behind the end. How can i programmatically reset the current page to 0 ?

Re: Tree2 - on-demand load capable?

2005-10-06 Thread Marcel Ruff
on this? - Brendan -Original Message- From: Marcel Ruff [mailto:[EMAIL PROTECTED] Sent: Thursday, October 06, 2005 5:02 AM To: MyFaces Discussion Subject: Re: Tree2 - on-demand load capable? Eric Pias wrote: Hello, I would like to implement a Tree2 that loads child nodes on demand. What I

tree2: How to get the expand event to load more data?

2005-10-05 Thread Marcel Ruff
Hi, when a user clicks on the '+' image of the tree to expand it, i would like to intercept this click to load more data into my tree model. How can i register for such an event? Some code snippets showing the work flow would be very helpful, thanks Marcel PS: I have found some older

Re: Tree2, event interception, criticism :-)

2005-10-04 Thread Marcel Ruff
Timo --Blazko-- Boewing wrote: Hello all, After having read almost every discussion here on the tree2 component, I am having some final thoughts :-) I am trying since two days now to get the 99,9% common case working: having a tree component and intercepting centrally a clicked ID belonging to

Re: [ANNOUNCE] Release Candidate Available

2005-10-02 Thread Marcel Ruff
Sean Schofield wrote: There is a 1.1.1 release candidate available. http://cvs.apache.org/builds/myfaces/release/ Note: We have two versions available. The latest source code (and nightly build) is version 1.1.0. The release candidate is version 1.1.1. Please report any bugs you find in

tree2 usage: how to detect which node was clicked?

2005-09-29 Thread Marcel Ruff
Hi, i have a tree2, but how do i detect in my backing bean which node id was clicked? I'm using actionListener=#{mybean.clicked} and looking into the delivered ActionEvent instance didn't help me yet. thanks Marcel

Generic JSF style navigation?

2005-09-26 Thread Marcel Ruff
Hi I'm a bit lost on how to do my page navigation the JSF style. I have a x:panelLayout in my main page home.jsp with header, navigation, body and footer section, each loading a jsp page with e.g. jsp:include page=header.jsp / In the navigation is a tree2 and when i click on a tree node i