|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shale.clay.parser.builder.Builder
org.apache.shale.clay.parser.builder.SelectManyMenuBuilder
public class SelectManyMenuBuilder
This Builder creates a ElementBean
mapped to a html select Node by the
SelectBuilderRule. The JSF component
type for a multi-select is javax.faces.HtmlSelectManyMenu
| Field Summary |
|---|
| Fields inherited from class org.apache.shale.clay.parser.builder.Builder |
|---|
messages |
| Constructor Summary | |
|---|---|
SelectManyMenuBuilder()
|
|
| Method Summary | |
|---|---|
protected void |
encodeBegin(Node node,
ElementBean target,
ComponentBean root)
Remove any child nodes that are not "option" nodes. |
protected String |
getComponentType(Node node)
Returns the JSF component type of javax.faces.HtmlSelectManyMenu that will populate the
target ElementBean. |
protected String |
getJsfid(Node node)
Returns the jsfid for the target
ElementBean. |
boolean |
isChildrenAllowed()
Returns true indicating that the multi-select component
can have children. |
| Methods inherited from class org.apache.shale.clay.parser.builder.Builder |
|---|
assignAttributes, assignNode, createAttribute, createElement, encode, encodeChildren, encodeEnd, getBuilder, getBuildNodeBody, getRenderId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SelectManyMenuBuilder()
| Method Detail |
|---|
protected String getComponentType(Node node)
Returns the JSF component type of
javax.faces.HtmlSelectManyMenu that will populate the
target ElementBean.
getComponentType in class Buildernode - markup node
protected String getJsfid(Node node)
Returns the jsfid for the target
ElementBean.
getJsfid in class Buildernode - current markup node
public boolean isChildrenAllowed()
Returns true indicating that the multi-select component
can have children.
isChildrenAllowed in class Buildertrue
protected void encodeBegin(Node node,
ElementBean target,
ComponentBean root)
Remove any child nodes that are not "option" nodes.
encodeBegin in class Buildernode - current markup nodetarget - bean that will be build from the noderoot - the parent of the target
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||