cancel
Showing results for 
Search instead for 
Did you mean: 

Display 2 frames in a same view

Former Member
0 Kudos

Hi all,

Initially i had 2 views. First view is juz a text to get the input. I'm sending this value to the next view which has a table to display a set of values from a resultset queried based on the input value.

Now I need to have only one view. when i click the button, the table with the should be displayed below in the same view. Can anybody give an idea????

Thanks,

Shiny

Accepted Solutions (0)

Answers (2)

Answers (2)

sid_sunny
Contributor
0 Kudos

Hi Shiny,

Create a context attribute say <b>tableVisibility</b> of type <b>Visibility</b> in your view controller and bind the visible property of you table UI element to this context attribute. Now in the wdDoInit() method write following:

wdContext.currentContextElement().setTableVisibility(WDVisibility.BLANK);

And then in your onAction method add this peice of code:

wdContext.currentContextElement().setTableVisibility(WDVisibility.VISIBLE);

Do reward points if it helps.

Regards

Sid

sid_sunny
Contributor
0 Kudos

Hi Shiny,

If you dont want table to be visible intially then bind its visibility property to a context attribute of visibility type and intially set it to NONE and on click of the button populate the data into the table data source node and set the visibility to VISIBLE.

Do reward points if it helps

Regards

Sid