on 10-27-2006 10:53 AM
Hi,
In EP5 we can maintain all the properties .properties file. So we can change this property value after creating iView in portal.
How can we maintain where to maintain these properties in Web Dynpro.
ex: I have SMTP address which I am using in my Controller class. I want to change this adress later time so where I need to maintain in Web Dynpro.
Thanks
Tats
Double CLICK on application.
In its perspective, tab "Application properties", add here properties that you wish.
By code:
String PROP = wdComponentAPI.getApplication().getApplicationInfo().findInApplicationProperties("PROP_NAME").getValue();
Message was edited by: Roberto Tagliento
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roberto,
Thanks for your reply.
I could able to get values in my Web Dynpro Controller class.
I have created iView in portal for this Web Dynpro application. Where can I find this property which I am maitaining Web Dynpro application.
If I want to modify my value how it is possible.
Thanks
Tats
http://help.sap.com/saphelp_nw2004s/helpdata/en/44/7026f32007053de10000000a1553f6/frameset.htm
In this example work with IAdminBase object:
IAdminBase myAdmin = (IAdminBase)iCtx.lookup(myObject);
but i guess must be the same also other object, like "iView", "pages",....
Hi Roberto,
I think you are not clear at my query.
In EP5 we have an option to edit all the properties values in portal after creating iView.
In Web Dynpro we are creating properties in application. How can we modify these properties value in portal after creating iView for this Web Dynpro.
Thanks
Tats
Above i link you the help where teach how access to PCD (Portal Content Directory, all portal object like iView) via Java.
I never done something like that, in your project you must had PORTAL JAR files and use them.
Sorry haven't a ready source that do that, and haven't time to do (for play) now.
Hi Tats,
If I understand you correctly, you want to be able to configure properties created in WD from the portal Property Editor.
In 2004, there is no such integration. You run your Web Dynpro application in a black box.
In 2004s, you can set properties in the Application Parameters property of a WD iView. Your WD application can then retrieve them.
In the next release of NetWeaver, you will see the WD properties in the property editor.
Hope this helps.
Daniel
Tatayya,
Take a look at:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/b8/aa343e32ff1033e10000000a114084/frameset.htm">Configuration Service</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/39dcb1e5-0601-0010-51b2-c522e518213e">Web Dynpro Application: Configuration, Deployment and Execution</a>
Configurations create this way can be edited after application deployment using VisualAdmin.
Valery Silaev
SaM Solutions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.