ZATS ConnectAsIncluded

From Documentation
aowang



Since 1.1.0

Connect as Included

ZK provides the Include component allows us to include or reuse ZUL page or others.[1] We can directly test a ZUL page which is included by outer pages; just connect to such ZUL through the Client.connect(String) method as usual. Sometimes, we pass some arguments to included ZUL pages for flexibility purpose, and the arguments can be retrieved from the implicit objects ZUML_Reference/EL_Expressions/Implicit_Objects/arg inside of ZUL pages.


Notes


Including with Defer Mode

There is no different between testing a normal ZUL or testing a included ZUL directly. We can just use the normal Client.connect(String url) method to connect ZUL.


aowang




Last Update : 2012/07/05

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.