on 07-27-2006 3:47 PM
Hi all,
I am trying to bind one attribute to inputfield's state property. That might be assign dynamic at run time. What type to be assigned for the particular attribute?.
Anyone has an idea?
Thanks
Peter
Hi
Set attribute type to type State, which is found in local dictionary-->"uielementdefinitions" library.
<b>Valuable answer=points</b>
Kind Regards,
S.Saravanan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi peter,
create one context attribute with name statestatus and select the type as
com.sap.ide.webdynpro.uielementdefinitions.State
and bind that statestatus attribute to ur inputfield state property.
now in ur implemention of code....
when ever u want set the value as
()
wdContext.currentContextElement().setInputStatus( WDState.REQUIRED)
hope this clear's u
sunil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Use this
Instead of using attribute
<element>.setState(WDState.REQUIRED);
Regards
Saravanan K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the correct type is WDState.
Regards
Sebastian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.