cancel
Showing results for 
Search instead for 
Did you mean: 

change view attributes at runtime

Former Member
0 Kudos

Hello!

I want to change the default property of a view, that is embedded in a tab viewset, but i cannot get the default property.

I tried using this code but I get a message "Cannot get attribute value because Delegator... does not have a (translatable) attribute named default", although i can see the attribute on this object in the web dynpro.

IWDViewUsageInfo info = window.getRootViewUsage("RequestTab").getViewContainerAssignment("tab_1_").getDefaultViewUsage().getAttributeValue("default");

Thank You,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

As a suggestion:

Why not try with plugs to switch to a different view?

Regards

Ayyapparaj

Former Member
0 Kudos

hi,

Plugs will not help in this case because all embedded views are shown at once.

Regards,

RivkaL

Former Member
0 Kudos

Hi,

If all of them are displayed why not make this change at design time?

Regards

Ayyapparaj

Answers (0)