Closed GoogleCodeExporter closed 9 years ago
What steps will reproduce the problem? 1.if in zul file,use the GroovyGrails language,then in the zscript code can not execute 2. in your zscript ,you should must assign language again 3. code follow <?xml version="1.0" encoding="UTF-8"?> <?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" ?> <?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?> <?page zscriptLanguage="GroovyGrails"?> <zk xmlns="http://www.zkoss.org/2005/zul" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.zkoss.org/2005/zul http://www.zkoss.org/2005/zul/zul.xsd"> <zscript >//<zscript language="java"> import com.pansoft.zk.*; def asc = new RowLabelComparator(true) def dsc = new RowLabelComparator(false) </zscript> <!--<window apply="${employeeComposer}">--> <!--<vbox>--> <!--<image src="images/grails_logo.jpg"/>--> <!--</vbox>--> <!--<listbox id="lstEmployee" height="500" width="400" checkmark="true" multiple="true">--> <!--<listhead sizable="true">--> <!--<listheader label="ID" sort="auto"/>--> <!--<listheader label="Full Name" sort="auto"/>--> <!--<listheader label="User Name" sort="auto"/>--> <!--</listhead>--> <!--</listbox>--> <!--<paging id="pagEmployee" pageSize="24"/>--> <!--</window>--> <!--<window>--> <grid> <columns menupopup="auto"> <column label="Author" sortAscending="${asc}" sortDescending="${dsc}"/> <column label="Title" /> <column label="Publisher"/> <column label="Hardcover"/> </columns> <rows> <row> <label value="Philip Hensher"/> <label value="The Northern Clemency"/> <label value="Knopf (October 30, 2008)"/> <label value="608 pages"/> </row> <row> <label value="Philip Hensher"/> <label value="The Fit"/> <label value="HarperPerennial (April 4, 2005)"/> <label value="240 pages"/> </row> <row> <label value="Philip Hensher"/> <label value="Kitchen Venom"/> <label value="Flamingo (May 19, 2003)"/> <label value="336 pages"/> </row> <row> <label value="Michael Greenberg"/> <label value="Hurry Down Sunshine"/> <label value="Other Press (September 9, 2008)"/> <label value="240 pages"/> </row> <row> <label value="Michael Greenberg"/> <label value="Painless Vocabulary (Painless)"/> <label value="Barron's Educational Series (September 1, 2001)"/> <label value="292 pages"/> </row> <row> <label value="Rick Perlstein"/> <label value="Nixonland: The Rise of a President and the Fracturing of America"/> <label value="Scribner; 1st Scribner Hardcover Ed edition (May 13, 2008)"/> <label value="896 pages"/> </row> <row> <label value="Rick Perlstein"/> <label value="Nixonland"/> <label value="Simon Schuster (May 13, 2008)"/> <label value="0 pages"/> </row> </rows> </grid> <!--</window>--> </zk>
Original issue reported on code.google.com by pysea...@gmail.com on 8 May 2009 at 1:09
pysea...@gmail.com
I included bsh.jar in the lib dir by default. Please test to see if this bug's still occurred.
Original comment by chanwit on 29 May 2009 at 12:34
chanwit
Original comment by chanwit on 29 May 2009 at 5:01
Original issue reported on code.google.com by
pysea...@gmail.com
on 8 May 2009 at 1:09