I have two UI elements in my WebDynpro application. The first one is a HierarchicalMonthView and the second one is a linkToUrl element.
The link toUrl is to be enabled only if onMoreSelect event of the HierarchicalMonthView element is triggered.
One of the ways of achieving this is to create a context attribute say showLink and bind it to the Url element. Now I would set this attribute to "true" in onMoreSelect event and set to "false" in all other events of HierarchicalMonthView .
Is there any other optimal way of doing this? I wanted to avoid repetitive setting of attribute to "false" in all other events. Is there any method available to developers which is called before the application event handlers for every round trip. I was thinking of setting the attribute showLink property to "false" in this method and then setting the showLink to "true" only in onMoreSelect event.
Please correct if my thinking is flawed or other ways exist of achieving the desired result.
Thanks & Regards,