« How-to find and set control hints on POJO entities in bean Data Controls | Main | ADF Faces RC: How-to Conditionally Prevent Dialogs from Closing »
How to Access Attributes of a Declarative Component from a Managed Bean
By frank.nimphius | June 26, 2008
In an earlier how-to document I explained how to build and work with declarative components in ADF such that it displays data passed from the containing page. As you would have guessed to this time already, there are more usecases to cover for declarative components. The usecase in this article describes how to access an attribute within a declarative component from a managed bean that is part of it. For example, to write a generic component that allows the containing page to pass in e.g. a download URL to process, the attribute of the declarative component doesn’t need to be bound to a UI component. This however means that developers need to find a way to access the hidden attribute programmatically – and of course there is.
Topics: ADF Faces RC | No Comments »
Comments are closed.