Override Tags

asked 2013-04-09 03:36:16 +0800

JustinFrost gravatar image JustinFrost
145 1 6


I am currently trying to implement screen painting functionality which is automatically applied to .zul files.

Given the following zul:

<row> <label value="Preferred Name:"/> <textbox value="@bind(vm.employee.name.preferredName)"/> </row>

How would override the row tag to automatically exclude (same as using if) based on certain conditions.

The basis is that each zul will have a unique identifier which will retrieve the field metadata from the database to determine if the row associated with the field is to be included or not.


delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-04-09 23:17:48 +0800

Matze2 gravatar image Matze2
773 7

You can play with the visible attribute:

<row visible="@load(vm.displayThisRow)">
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

1 follower



Asked: 2013-04-09 03:36:16 +0800

Seen: 12 times

Last updated: Apr 09 '13

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