@ApplicationScoped @Named(value="UIBeanLocator") public class UIBeanLocator extends Object
Constructor and Description |
---|
UIBeanLocator() |
Modifier and Type | Method and Description |
---|---|
UIBeanHandler |
getCurrentBean(javax.servlet.ServletRequest request)
Get the bean instance being rendered.
|
DataDisplayerEditor |
getEditor(DataDisplayer target)
Get the editor component for the specified data displayer.
|
DataProviderEditor |
getEditor(DataProviderType target)
Get the editor component for the specified data provider.
|
DataDisplayerViewer |
getViewer(DataDisplayer target)
Get the viewer component for the specified data displayer.
|
static UIBeanLocator |
lookup() |
public static UIBeanLocator lookup()
public UIBeanHandler getCurrentBean(javax.servlet.ServletRequest request)
When invoked from a JSP it returns the bean instance owner of that JSP.
public DataProviderEditor getEditor(DataProviderType target)
public DataDisplayerEditor getEditor(DataDisplayer target)
public DataDisplayerViewer getViewer(DataDisplayer target)
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.