File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Problem with facet in backing bean" Watch "Problem with facet in backing bean" New topic

Problem with facet in backing bean

aaaaaaaa aaaaaaaaaaaa

Joined: Sep 14, 2006
Posts: 23

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.

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17423

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

An IDE is no substitute for an Intelligent Developer.
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:
subject: Problem with facet in backing bean
It's not a secret anymore!