This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes How to work with commandLink in tree (my-faces Tomahawk) ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "How to work with commandLink in tree (my-faces Tomahawk) ?" Watch "How to work with commandLink in tree (my-faces Tomahawk) ?" New topic
Author

How to work with commandLink in tree (my-faces Tomahawk) ?

chen young
Ranch Hand

Joined: Sep 09, 2005
Posts: 188
Hi,

I have two frames in my screen , left that contain a tree with links and right that should show the output form the left links.
The problem is that while clicking the links on the left side the output on the right will be the tree.
Any advice how can I implement this ?

left_frame:


main_frame:

Thanks

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15950
    
  19

JSF and frames don't work well together. However, facelets can give the same effect.

The bigger problem is that to avoid refreshing the tree side of the page when a new selection side is made, you need to to an AJAX operation to just update the content side of the page. In RichFaces, that would be a simple reRender attribute on an AJAX-enabled command control. Tomahawk, however, doesn't support AJAX directly, so you'd have to use the JSF2 AJAX support or add in an AJAX-capable extension tagset to your app.


Customer surveys are for companies who didn't pay proper attention to begin with.
chen young
Ranch Hand

Joined: Sep 09, 2005
Posts: 188
Thank you
 
 
subject: How to work with commandLink in tree (my-faces Tomahawk) ?
 
Similar Threads
f:facet funtionality
selectBooleanCheckbox inside a tree2
t:graphicImage not being displayed in browser
How to use Fisheye manner in jsf?
Related to tree2 of tomahak