Meaningless Drivel is fun!*
The moose likes JSF and the fly likes Problem with facet in backing bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Problem with facet in backing bean" Watch "Problem with facet in backing bean" New topic
Author

Problem with facet in backing bean

aaaaaaaa aaaaaaaaaaaa
Greenhorn

Joined: Sep 14, 2006
Posts: 23
Hi,

I am preparing a tree2 as a backing bean.

In tree2, facets are needed to display the tree.

But, while constructing backing bean i am unable to consturct a component for facet programmatically.

So, anybody please suggest how to create a facet in backing bean.


regards,
RedZond
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15962
    
  19

I believe that facets are generally applied as properties to their containing element, which is why there's no distinct "facet" object.


Customer surveys are for companies who didn't pay proper attention to begin with.
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

I thought facets were supposed to be largely a front end component that should stay out of the backing bean, no?

I probably don't quite understand what you're up to. Could you show us some code with what you've tried? Maybe we can get a better idea of what you're doing a guide you through.

-Cameron McKenzie
 
Consider Paul's rocket mass heater.
 
subject: Problem with facet in backing bean
 
Similar Threads
Tomahawk tree2 example
Backing bean vs Managed bean
Creating Drop Down lists in datagrid client component
How to set the icon for JSF Tree Node in the backing bean
JSF Managed Bean Injection