cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic Required inputfield

Former Member
0 Kudos

Hi all,

I'm just trying to have context attribute to tell an inputField weither it is required or not.

My context attribute is of type WDState but when I go to layout tab and try to select it to bind it to the state property of the input field, NWDS tells me to select an attribute of type State...

Anyone has an idea ?

Thanks

Sylvain

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Sylvian,

Instead of using Java type WDState, set attribute type to type from local dictionary, somewhere in "uielementdefinitions" library.

Use same wizard, but choose Local Dictionary first. Next expand uielementdefinitions and choose State type.

VS

Former Member
0 Kudos

Hi Valery,

It works

Thanks for this very quick answer !

Regards,

Sylvain

Former Member
0 Kudos

For historical reasons, the (designtime) types for the UI element libraries "Core", "Standard" and "Graphics" reside together in package com.sap.ide.webdynpro.uielementdefinitions.

All new libraries will have their designtime types in package com.sap.ide.webdynpro.uielementlibraries.<library>.

Armin

Answers (1)

Answers (1)

siarhei_pisarenka3
Active Contributor
0 Kudos

Hi

Use type located in Type Selection dialog -> Local Dictionary -> ...uielementdefinitions -> State.

BR

Sergei