|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.zkoss.jsf.zul.impl.AbstractComponent
org.zkoss.jsf.zul.impl.LeafComponent
org.zkoss.jsf.zul.impl.BranchComponent
org.zkoss.jsf.zul.impl.BranchOutput
org.zkoss.jsf.zul.impl.BranchInput
org.zkoss.jsf.zul.impl.BaseListbox
public abstract class BaseListbox
The Base implementation of Listbox.
This component should be declared nested under Page.
| Field Summary |
|---|
| Fields inherited from class org.zkoss.jsf.zul.impl.LeafComponent |
|---|
_compAttrMap, _composer |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
BaseListbox()
|
|
| Method Summary | |
|---|---|
protected void |
afterZULComponentComposed(org.zkoss.zk.ui.Component zulcomp)
Override Method, if instance implements ClientInputSupport
(for now, it is always ), then i will try to set the name/value which get from
ClientInputSupport into zulcomp. |
protected void |
clientInputDecode(javax.faces.context.FacesContext context)
decode parameter in request, |
java.lang.String |
getMappedAttributeName()
Override it , and return null, It means that do not map value of ValueHolder to zul component. i will take case value of ValueHolder to selecteItem of listbox. |
| Methods inherited from class org.zkoss.jsf.zul.impl.BranchOutput |
|---|
getConverter, getLocalValue, getValue, isLocalValueSet, setConverter, setLocalValueSet, setValue, transferValueForAttribute |
| Methods inherited from class org.zkoss.jsf.zul.impl.BranchComponent |
|---|
loadZULTree |
| Methods inherited from class org.zkoss.jsf.zul.impl.LeafComponent |
|---|
addZULDynamicAttribute, encodeBegin, encodeChildren, encodeEnd, evaluateDynaAttributes, getAttributeValue, getComponentDefName, getComponentInfo, getForward, getRendersChildren, getUse, getZULComponent, setAttributeValue, setForward, setId, setUse, setZULDynamicAttribute |
| Methods inherited from class org.zkoss.jsf.zul.impl.AbstractComponent |
|---|
findAncestorWithClass, getBodyContent, getFacesContext, getFamily, getIf, getUnless, isEffective, isSuppressed, restoreAttachedMapState, saveAttachedMapState, setBodyContent, setIf, setSuppressed, setUnless |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.faces.component.EditableValueHolder |
|---|
isLocalValueSet, setLocalValueSet |
| Methods inherited from interface javax.faces.component.ValueHolder |
|---|
getConverter, getLocalValue, getValue, setConverter, setValue |
| Constructor Detail |
|---|
public BaseListbox()
| Method Detail |
|---|
public java.lang.String getMappedAttributeName()
getMappedAttributeName in interface ValueHolderSupportgetMappedAttributeName in class BranchOutputValueHolderSupportprotected void afterZULComponentComposed(org.zkoss.zk.ui.Component zulcomp)
BranchInputClientInputSupport
(for now, it is always ), then i will try to set the name/value which get from
ClientInputSupport into zulcomp. For Example of TextboxComponent, a
name=form:compid will set to zulcomp and the result in HTML will likes
(<input id="z_fm_2c" type="text"
name="helloForm:txt1" value="0"
z.type="zul.widget.Txbox"/> ). And then , after form submit,
I can decode the submitted value from request by name "helloForm:txt1".
afterZULComponentComposed in class BranchInputprotected void clientInputDecode(javax.faces.context.FacesContext context)
clientInputDecode in class BranchInputcontext -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||