Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi,
I can not make a given widget be hidden clicking on a button and shown clicking on another.
The issue is that the widget visible property can be linked to only one service.
So i tried to create a javascript program
var params = {
visible: false /* BOOLEAN */
};
var result = me.OkButton_visible(params);
But it does not modify anything.
Can someone share with me the right way to do that?
Cheers
Bruno
Solved! Go to Solution.
Wait, what exactly is the use case? Can you create a toggle visibility service that can then be triggered by both on-click events? Then this one service can be bound to the isVisible property. Hope this helps!
Wait, what exactly is the use case? Can you create a toggle visibility service that can then be triggered by both on-click events? Then this one service can be bound to the isVisible property. Hope this helps!
Thanks Tori, you got what i needed indeed. What you presented should work just fine i believe.
Just one more question, is there a way to identify through some javascript functions what is the origin of the alert that triggered a service?
Cheers
Bruno