EL Expressions
From Documentation
The default evaluator for EL expressions are derived from Apache Commons EL. Thus, its funcationality is the same as JSP 2.0's EL expressions[1].
If you prefer a more powerful EL evaluator, such as MVEL, OGNL[2] or your own implementation, you could specify it with the evaluator directive. For example,
<?evaluator name="mvel"
import="org.zkoss.zul.Datebox,org.zkoss.zul.Combobox"?>
<window id="w" title="MVEL Demo">
You see a textbox appended with MVEL:
${new Datebox().setParent(w)}
Another example:
${new org.zkoss.zul.Textbox().setParent(w)}
Another:
${new Combobox().setParent(w)}
</window>
Version History
Version | Date | Content |
---|---|---|