cancel
Showing results for 
Search instead for 
Did you mean: 

Hiding a view from another view when an action is clicked.

Former Member
0 Kudos

HI,

I am creating an application where I have to move between views.I want all my views to be displayed on the same screen when I click on the link associated to it.I have used a viewcontainerUIelement for this.When I run the application all the views are displayed at the same time,whereas I need on the view associated to the particular action to be displayed and the others to be invisible.Is there any other way to implement this application.I am not able to hide one view from another.Kindly help me out.

Regards,

Mathew

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi lovichayan,,

For Different View Displayed on the same screen,Use VIEW CONTAINER UI Element.Coming to ur requirement,u can

acheive this by setting visibility property of the View ConTainers

In the Properties of View Containers,u will find Visibility Property..Bind this property to a Attribute defined in the Context

And then On Action,set the attribute( visible, invisible) based on requirement.

Thanks & Regards,

Naga Prakash

Former Member
0 Kudos

Hi ,

You can make the viewcontainers containing the view that you want to hode as invisible.

Create a context attribute of type WDUI_VISIBILITY and bind it to the visibility property of viewcontainer UI element and set it with a value of 02 or 01 as required...There are some constants for these values , you better use them.

Thanks,

aditya.