| org.zkoss.zul.impl.XulElement org.zkoss.zul.Include
Include | public class Include extends XulElement (Code) | | Includes the result generated by any servlet.
Non-XUL extension.
If the servlet is eventually another ZUL page, the page will be
added to the current desktop when this element is added to
the current desktop.
author: tomyeh |
Method Summary | |
public String | getSrc() Returns the src. | public boolean | isChildable() Default: not childable. | final public boolean | isLocalized() Returns whether the source depends on the current Locale. | public void | redraw(Writer out) | final public void | setLocalized(boolean localized) Sets whether the source depends on the current Locale. | public void | setSrc(String src) Sets the src.
If src is changed, the whole component is invalidate.
Thus, you want to smart-update, you have to override this method.
Parameters: src - the source URL. |
getSrc | public String getSrc()(Code) | | Returns the src.
Default: null.
|
isChildable | public boolean isChildable()(Code) | | Default: not childable.
|
isLocalized | final public boolean isLocalized()(Code) | | Returns whether the source depends on the current Locale.
If true, it will search xxx_en_US.yyy, xxx_en.yyy and xxx.yyy
for the proper content, where src is assumed to be xxx.yyy.
Default: false;
|
setLocalized | final public void setLocalized(boolean localized)(Code) | | Sets whether the source depends on the current Locale.
|
setSrc | public void setSrc(String src) throws WrongValueException(Code) | | Sets the src.
If src is changed, the whole component is invalidate.
Thus, you want to smart-update, you have to override this method.
Parameters: src - the source URL. If null or empty, nothing is included. |
|
|