aspose file tools*
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 Java 8 in Action this week in the Java 8 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: 15662
    
  15

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

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with facet in backing bean
 
Similar Threads
How to set the icon for JSF Tree Node in the backing bean
Creating Drop Down lists in datagrid client component
Backing bean vs Managed bean
JSF Managed Bean Injection
Tomahawk tree2 example