0

Ask about Include

asked 2015-03-13 10:19:58 +0800

giovanni910 gravatar image giovanni910 flag of Indonesia
1 2

hy Guy's can i ask about include, i'm trying to include url in my simple project, i kinda confuse how this include work, i have 2 project running 1. localhost:8080/first/ 2. localhost:8080/second/

i'm trying to include localhost:8080/second/, in my localhost:8080/first/ this is my code : localhost:8080/first/index.zul

<zk>
 <include src="localhost:8080/second/" />
</zk>

in my second project localhost:8080/second/index.zul

<zk>
 <label value="learning include" />
</zk>

please give me some clue best regards Hendra

delete flag offensive retag edit

Comments

you don't need to put your server path(localhost:8080) in there.

chillworld ( 2015-03-13 11:03:26 +0800 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-03-13 11:05:41 +0800

chillworld gravatar image chillworld flag of Belgium
5367 4 9
https://github.com/chillw...

Here is a fiddle what shows how you can use the include :

http://zkfiddle.org/sample/rp3ics/1-include-with-argument

Greetz chill.

link publish delete flag offensive edit
0

answered 2015-03-17 02:21:35 +0800

giovanni910 gravatar image giovanni910 flag of Indonesia
1 2

Hey chillworld, thanks for your answer.

link publish delete flag offensive edit
Your answer
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
1 follower

RSS

Stats

Asked: 2015-03-13 10:19:58 +0800

Seen: 16 times

Last updated: Mar 17 '15

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