Revision history [back]

click to hide/show revision 1
initial version

answered 2011-04-27 16:29:16 +0800

paula gravatar image paula

Hi,Maik:

Yes you are right. I found the return type of Executions.getCurrent().createComponents("user/admin/admin.zul", null, null) is "org.zkoss.zul.Style" instead of "org.zkoss.zul.Window" when I run the test page. That's why I had this ClassCastException.

So I put the style block into the window. Then the return type changes back to org.zkoss.zul.Window so page is displayed. However the style is not working.

any idea?

Thank you

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More