0

Definions in a separate File

asked 2006-04-25 11:03:14 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3702092

By: nobody


How can I use some Definions (Strings etc.) stored in a separate File? The following doesn't work:

<include src="globals.zul"/>
<window title="${title}" border="normal">
Hello, World!
</window>

"globals.zul" contains:

<zscript>
String title = "My Title";
</zscript>

What is the best way to do this? Thanks in advance.

...Rolf




delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2006-04-26 13:45:15 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3703564

By: tomyeh

Two alternatives. First, use macro components. Second, store zscirpt in a file and use <zscript src="my.bs"/>

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2006-04-25 11:03:14 +0800

Seen: 215 times

Last updated: Apr 26 '06

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