on 10-18-2006 6:45 AM
hi everyone ,
i am setting some properties like expiration time and logoffurl by coding in webdynpro i am using this code--
IWDApplicationPropertyInfo et=wdComponentAPI.getApplication().getApplicationInfo().findInApplicationProperties("sap.expirationTime");
if(et != null)
et.setAttributeValue("sap.expirationTime","100" );
but iam getting this error---
java.lang.IllegalArgumentException: Cannot set attribute value because RepositoryObject(com.sap.tc.webdynpro.progmodel.repository.IWDApplicationPropertyInfo:sap.expirationTime) does not have a (translatable) attribute named expirationTime.
can anyone please tell me how to resolve error.
Hi,
Try this:
et.setAttributeValue(WDConfigurationConstants.APPLICATION_PROPERTY_EXPIRATION_TIME,"100" );
Regards,
Satyajit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi styajit,
i tried you code but it is still giving the same error.
regards,
siddharth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.