| Modifier and Type | Field and Description |
|---|---|
| protected final Map | |
| protected final URL | |
| protected final TagAttribute[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | apply(FaceletContext
the current FaceletContext instance for this execution ctxObj, UIComponent the parent UIComponent to operate upon parent)Implements javax. |
| public boolean | apply(FaceletContext
the FaceletContext of your instance, not the
templates' ctx, UIComponent current UIComponent instance to be applied parent, String the String name or null if the whole body should be included name)Implements com. |
| handlers | back to summary |
|---|---|
| protected final Map<K, V> handlers | |
| location | back to summary |
|---|---|
| protected final URL location | |
| vars | back to summary |
|---|---|
| protected final TagAttribute[] vars | |
| UserTagHandler | back to summary |
|---|---|
| public UserTagHandler(TagConfig config, URL location) | |
| apply | back to summary |
|---|---|
| public void apply(FaceletContext ctxObj, UIComponent parent) throws IOException Implements javax. Iterate over all TagAttributes and set them on the FaceletContext's VariableMapper, then include the target Facelet. Finally, replace the old VariableMapper.
| |
| apply | back to summary |
|---|---|
| public boolean apply(FaceletContext ctx, UIComponent parent, String name) throws IOException Implements com. Doc from com. This contract is much like the normal FaceletHandler.apply method, but it takes in an optional String name which tells this instance what fragment/definition it's looking for. If you are a match, apply your logic to the passed UIComponent and return true, otherwise do nothing and return false.
| |