cancel
Showing results for 
Search instead for 
Did you mean: 

hiding a view within a viewset

lajitha_menon
Contributor
0 Kudos

Hi there,

I am new to web dynpro and currently writing an application which has a viewset in the first page. The viewset has 2 views, one is the input view and the other is the output view.

Now, I do not want to display the output view, if the user has not entered a valid input. I can do this initially by setting the default value of output view as false in the navigational modeller. But how do I control this in the program? i.e access the view properties within the viewset from the event handlers like onActionEnter or something?

Many Thanks in advance

L M

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The desired behavior could be implemented easily with UIElementContainer-s on "main" view. The only thing you need is to bind visibility of containers to context and switch it accordingly.

For view set you have to place empty view for cell with output and make it default. Next, create plugs and link for "Input->Output" and fire plug from input view when necessary

Valery Silaev

EPAM Systems

http://www.NetWeaverTeam.com

Answers (0)