Skip to Content
0
Former Member
Nov 23, 2009 at 07:00 AM

WDVisibility, DoInit(), only one View can be set BLANK

13 Views

Hello,

i have have the following problem.

I have an ViewContainer with 3 Views. In the DoInit - Method of the first VC i want to set the other two VC to WDVisibility.BLANK.

(the is bound in the context) For the first VC it works fine, but the second ist still there? Not BLANK? WHY?

wdThis.wdGetContext().currentVisiblesElement().setVisibleVC_search(WDVisibility.BLANK);
wdThis.wdGetContext().currentVisiblesElement().setVisibleVC_admin(WDVisibility.BLANK);

The cardinality property in the ComponentControler for the corresponding context is 1..n.

thx

regards Micha