aspose file tools*
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
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: 197
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: 16305
    
  21

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: 197
Thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to work with commandLink in tree (my-faces Tomahawk) ?