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

How to use macro component throughout aplication

Ganeshkhakare
25 Feb 2010 04:51:20 GMT
25 Feb 2010 04:51:20 GMT

Hi,
I have created one macro component. For using it i need to define that component at the start of every zul file. How can i declare it globally so that i can use it throughout my application like other zk components.
I'm new to Zk and just started evaluating it for our new application, so I don't know how sensible is above question.

Thank you very much in advance.

tomCat
26 Feb 2010 02:20:22 GMT
26 Feb 2010 02:20:22 GMT

Hi,

check this page: Language Addon.

In "Define a Macro Component" you can see, how you can define a component to use it globally.

Hope this helps.

Best regards,

tomCat

Ganeshkhakare
26 Feb 2010 22:28:41 GMT
26 Feb 2010 22:28:41 GMT

Thank you very much.