-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Normal
-
Affects Version/s: 7.0.4
-
Component/s: Databind 2
-
Security Level: Jimmy
-
None
BindRowRenderer does not handle dynamic template name correctly see attached example (grouping-dyn-template.zul) in a grouping grid
this can be easily fixed changing the rows 40,41 in BindRowRenderer
40: final String subtype = row instanceof Group?"group":row instanceof Groupfoot?"groupfoot":null; 41: final Template tm = resolveTemplate(grid,row,data,index,size,"model",subtype);
see attached patched file (BindRowRenderer.java)
the workaround is to put this file into your application's classpath, or patch the zkbind.jar directly