xiaochong / zkui

Grails ZK UI Plugin
http://grails.org/plugin/zkui
GNU Lesser General Public License v3.0
24 stars 8 forks source link

Refernce in Include #101

Open thiagogjt opened 12 years ago

thiagogjt commented 12 years ago

Hi Groovyquan!

Im trying to pass some references with @ref in an tag

<z:include src="templates/template.gsp" template="@ref(vm.template)"/>

and in template.gsp

<z:label value="@load(template)"></z:label>

But the template variable allways come null.

Is there anyway to make it work?

Thanks in advance.

Thiago Lacerda

xiaochong commented 12 years ago

I sorry, Include component still have many problems unsolved in zkui.

thiagogjt commented 12 years ago

Hi!

In fact i need to apologize for not report my progress! After some tries i figured out that the Include component process the included page only if it is an zul file...

Best Regards