-
1. Re: rich:tree with simple links?!
mugwump Jul 6, 2007 12:43 AM (in response to mugwump)is anybody from the richfaces-team here online?! This is one of very many threads that are left unanswered - is there any other place where one could get help?!
-
2. Re: rich:tree with simple links?!
mugwump Jul 6, 2007 3:27 AM (in response to mugwump)Until somebody comes up with a clean version of this, here is a simple but brutal hack to achieve this. If your Treenode only contains a link, you can add this to rich:tree:
onselected="document.location =$(event.selectedNode+':text').immediateDescendants()[0];"
Of course, this is extremely fragile, and will only work if you have nothing more but a link in your node.
So I'm still looking for a proper way of passing events through from the child-Nodes...
cheers
stf -
3. Re: rich:tree with simple links?!
tkalactomo Jul 6, 2007 4:11 AM (in response to mugwump)Hi!
Your page isn't submited while clicking on the s:link?
Are you using the richfaces-3.0.1-SNAPSHOT.jar?
I had the same problem and that solved it... -
4. Re: rich:tree with simple links?!
mugwump Jul 6, 2007 4:41 AM (in response to mugwump)I'm using the one that came with seam-2.0.0.BETA1, it says richfaces-3.0.1.jar - is this version any different from the richfaces-3.0.1-SNAPSHOT.jar?! On the website http://labs.jboss.com/jbossrichfaces/downloads, I only found jboss-richfaces-3.0.1 - which seems to be similar to what comes with seam.
Do you have a similar setup (a treenode with a link in it) and you can just click the with no further configurations?! My initial though was, that they have to wrap the node somehow to get the nodeSelected-event - and that this wrapper prevents the click to get through to the link. The approach to atching the onselected-event of the node and the submitting looks quite reasonable, although it is terribly hacked right now... -
5. Re: rich:tree with simple links?!
tkalactomo Jul 6, 2007 5:27 AM (in response to mugwump)Download (right click save target as)http://viewcvs.labs.jboss.com/cgi-bin/viewvc.cgi/jboss/jboss-seam/lib/richfaces-3.0.1-SNAPSHOT.jar?revision=1.2&view=markup&sortby=log
-
6. Re: rich:tree with simple links?!
tkalactomo Jul 6, 2007 5:30 AM (in response to mugwump)My fault, sorry didn't test it, click on the link and you have download link in the page....
-
7. Re: rich:tree with simple links?!
mugwump Jul 6, 2007 6:39 AM (in response to mugwump)THX! Strange but true, but this snapshot is working out of the box!
Don't know what kind of a version this is (older? Different?) and if they have either fixed this behavior or if they have changed the behavior intentionally.
Maybe one of the richfaces-guys can explain the difference between the two versions...
cheers
stf -
8. Re: rich:tree with simple links?!
tkalactomo Jul 6, 2007 7:18 AM (in response to mugwump)I'm glad that you managed it to work in the end.
Snapshot means that this is downloaded from cvs and its LATEST release,which fixes will someday be available in the full release of richfaces 3.0.2...