0

Override Tags

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

JustinFrost gravatar image JustinFrost
139 1 6

Hi,

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.

Thanks.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

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

Follow
1 follower

RSS

Stats

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