cancel
Showing results for 
Search instead for 
Did you mean: 

UI Elements disabled at runtime

Former Member
0 Kudos
374

Hi,

Some of the UI elements of the web dynpro app I am working on are disabled at runtime. Disabled UI elements 'Enabled' property is set to 'true'. However, these UI elements are bound to BAPI parameters through context mapping.

Any suggestions on how to enable these UI elements ?

Thanks !

Sri

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

If the UI elements are bound to BAPI parameters try this bit of code to enable the UI elements.

Instantiate the model in the init of the controller and bind the input field to the node.

Here RFC_System_Input is the RFC used :

RFC_System_Input input = new RFC_System_Inut();

wdContext.nodeRfc_System_Info_Input().bind(inputInst);

Do get back for further clarification.

Regards,

Vijith

Former Member
0 Kudos

Give more details like which UI elements are disabled and hwether they are bound to any attribute

regards

Rohit

Former Member
0 Kudos

Hi Srikanth:

I have a similar problem. In my case all the fields are in read-only mode. The thread is "Why are the fields in Read-Only mode". You may want to consider looking at the responses in that thread as well.

Thanks

Sriram

Former Member
0 Kudos

The reason might be missing context or model elements in the mapping chain for these UI elements.

Armin

Ulli_Hoffmann
Contributor
0 Kudos

Hi,

in case you are talking about UI elements like LinkToAction, button etc. check whether the

onAction property is bound. If no event handler is assigned,they simply remain disabled.

regards,

Ulli