ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

ZK Visual Editor Fail to render taglib functions

dataguy12
20 Jan 2011 09:12:00 GMT
20 Jan 2011 09:12:00 GMT

I noticed that the Visual Editor works fine until I started to have:

<?taglib uri="/WEB-INF/tld/zkspring/security.tld" prefix="sec"?>

or

<?taglib uri="http://www.zkoss.org/zkspring/security" prefix="sec"?>

either one is required for me to use the spring-security authority on the zul page like this:

<zk if="${sec:isNoneGranted('SOME_AUTHORITY')}"></zk>

... at this point, the Visual Editor simply printed:

Fail to render: No function is mapped to the name "sec:isNoneGranted"

and stop rendering any other controls beyond that line.
And since most of my .zul pages have the security requirement, this pretty much makes the Visual Editor useless.

Is this a known issue?

maciesse
6 Oct 2011 10:33:13 GMT
6 Oct 2011 10:33:13 GMT

Hi, I'm facing the same problem... any news on that?

dataguy12
6 Oct 2011 15:15:35 GMT
6 Oct 2011 15:15:35 GMT

No, I just stopped using Visual Editor.