Application Properties in Webdynpro

Hi,
I need to use Application properties in my webdynpro application so that i can change some settings by using the Application XML.
I add a Name and Value in the Application Properties and try to retieve the same using the following code.
IWDApplicationPropertyInfo myCol = wdComponentAPI.getApplication().getApplicationInfo().findInApplicationProperties("TIMEIDHELP");
wdContext.currentContextElement().setTimeID(myCol.getValue());
I am always getting the answer as null.
Can someone help me on this?
Regards,
Balaji

Hi Stefan,
It does work . But theproperty that i set here needs to be configured from outside the application.
So i tried to change the value of the property in the xml file of Application properties and restart the dispatcher and my application from the admin tool and try to run the applciation but still the old value is picked up.
Can you please help.
The location of the xml file is
....\j2ee\cluster\server0\temp\webdynpro\public\local\DYNPro\webdynpro\Applications\com.test.DynApplication
Regards,
Balaji

Similar Messages

  • Portal Properties in webdynpro

    Hai
    I am developing a portal application in webdynpro.
    i would like to make some properties which can be changed in the iview properties. with normal portal applications this is possible through the portalapp.xml
    is this possible in webdynpro to, and how should i define these properties. (not like application properties)
    Regards
    Naga Raju

    Hi,
    Do you want the proeprties to be set through portal.
    We can create a property file in src/configuration/Applications/< application name> and set values of the property file in Visual Admin. Is this workaround ok ?
    Regards
    Bharathwaj

  • Application Properties file

    Hi,
    I have a java DC which should be able to read some application properties like
    mdm.servername
    mdm.repositoryname
    mdm.username
    I have tried using the ApplicationConfigHandler class in which I created a EAR and Web Module DC and when I run this web module dc as standalone, the properties file "sap.application.global.properties" gets loaded successfully.
    But when I call this webmodule Dc's method to load properties from a Java DC , all the properties are null.
    Is there any other way that I can load properties in java DC which can be modified without having to redeploy the java dc.
    Thanks
    MLS

    Hi
    Use [configuration services |https://help.sap.com/saphelp_nw04/helpdata/en/b8/aa343e32ff1033e10000000a114084/frameset.htm] in order to created application-specific properties that can be modified at run-time.
    Good luck,
    Ola

  • Calling Java webdynpr application in ABAP webdynpro application

    Hi All,
    I have a requirement to call a Java webdynpro application from ABAP Webdynpro application. Is it possible? If any of you have done, please let me know how to do it.
    Regards,
    Basha.

    Hi,
    And as you said it Java Webdynpro application, it should be possible to generate the URL for the Application at runtime.
    I also haven't tried, but it should work. Please let me know if LinkTOURL doesnt suffice, we can try and check if it works.
    Thanks,
    Anand

  • Difference between component configuration and application configuration in webdynpro

    what is the difference between component configuration and application configuration in webdynpro?

    Hi Rohit,
    With the component configuration, you can control the behavior of each individual component within a Web Dynpro application or the user interface of individual views. For each component, several records of configuration data can be created.
    Using the application configuration, it is now possible to assign the configuration required in the current application to all the components used.
    In short : Component Config belongs to WDP Component and Appl'n Config. belongs to WDP Appl'n.
    Check this document for more information.
    Web Dynpro for ABAP - Component and Application Configuration
    Thanks
    KH

  • Calling A Webdynpro Application From Another Webdynpro Application

    Hi,
    i want to call a webdynpro application from another webdynpro application with sending parameters.
    i used this method,
    CALL METHOD cl_wd_utilities=>construct_wd_url
        EXPORTING
          application_name = lv_webapp
        IMPORTING
          out_absolute_url = lv_url.
    CONCATENATE lv_url '?param1=' lv_param INTO lv_url.
    data lo_window_manager type ref to if_wd_window_manager.
    data lo_api_component  type ref to if_wd_component.
    data lo_window         type ref to if_wd_window.
    lo_api_component  = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    lo_window         = lo_window_manager->CREATE_EXTERNAL_WINDOW(
        URL = LV_URL
    lo_window->open( ).
    but this method shows the parameters on the address bar.
    is there a method to send the parameters to another webdynpro application without show the parameters on the address bar?
    Can somebody help me pls?
    Thanks.

    I've used a server cookie before. This was built for BSP, but it is really usable anywhere.  It just writes the data temporary into the database.  This way you can just pass one meaningless URL parameter - like a GUID and use this key to read the data (the server cookie) upon initialization of the new application.  I generally serialize all the data that I want into one server cookie by serializing a class. I can then restore whatever attributes of the class that I want on the receiving side.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/bd/4cd23a09313b37e10000000a11405a/frameset.htm

  • Application.Properties Loosing Content

    I am using Action.Properties to set error codes and display them as part of my validation.
    I am setting the Error in a Validate class using the following Syntax
    errors.add(ActionErrors.GLOBAL_ERROR,new ActionError("error.FirstField.invalid"));
    I am routing control back to homepage incase of an error and printing the same using
    <html:errors/>
    This Works Just FIne, Until i re-build the application.
    Once i re-Build, the content in application.Properties disappears. Just Gone!
    Have you guys had the same problem or do i have the patent this rare finding, LOL

    If you are loosing the complete application.Properties file, the reason may be that you are putting this file at wrong place. I think you are putting it in classes folder and when you re build the complete application, all the existing files are flushed by the newly genrated class files. If you are using any advanced editor like WSAD, you should put this file in a package in Java Source. So that when you rebuild the project, it will be copied as it is in the classes folder. And accordingly you need to change the path of this file into struts-config.xml.

  • Application.properties

    Hi,
    My application is based on struts frame work.
    I am writing application.properties file to Internationalize the messages.
    Now i am strucked in between. i want to add html tags between the messages in application.properties file
    for example...
    new.message=<table>
    <tr>
    <td>
    <li>Add name</li>
    <li>Add age</li>
    </td>
    </tr>
    </table>
    But when i used this in my actual JSP page like
    <bean:message key="new.message "/>. but its showing blank page. I want to know...can i use html tags in properties file. If so how can i achive it. please help me
    Thanks in advance

    all these should be in one line...there shouldnt be any breaks...
    new.message=<table><tr><td><li>Add name</li><li>Add age</li></td></tr></table>
    regards
    shanu

  • Struts and Application.properties

              I think this has been broached before, but if someone could restate the answer, I
              would be most obliged:
              It appears that WLS 6.1 SP2 does not load properties files (like the typical Struts
              Application.properties) when it loads a webapp. This leads to an exception in my
              Struts apps (that work fine on Tomcat 4.0.3) when it can't find any of the application
              tags.
              Anybody run into this?
              

    Name it whatever you want. All that matters is the part before the .properties extension matches what you put in the struts-config.xml:
    <!-- Main resource bundle, contains errors and some generic stuff. -->
    <message-resources parameter="com.company.app.MainResources"
         null="true"/>
    <!-- Alternate resource bundle, contains some special things maybe. -->
    <message-resources parameter="com.company.app.AltResources"
         key="altResourceKey" null="true" />
    // and have the files...
    appdir/WEB-INF/classes/com/company/app/MainResources.properties
    appdir/WEB-INF/classes/com/company/app/AltResources.properties
    // and use them with the bean:message tag...
    <bean:message key="some.main.key" />
    <bean:message bundle="altResourceKey" key="some.alt.key" />The only thing that matters is that several Struts tags, like the <html:errors /> for ActionErrors will only use 1 message resource file. The html:errors tag can specify an alternate resource file, but all the error keys used for that html:errors instance must be in that same bundle. So usually I put all my error messages in the main one and if it's a large app, I put several other resource files for different areas of the app.

  • Web DynPro Application properties Help.

    Hai All,
    I need help in how to use the Help menu text in the application properties, and parameters tab in the application.
    Thanks and Regards,
    G.Sreevathsava.

    Help Menu Text -  Text that is to be displayed as a browser window heading for the help link
    Parameters tab - refer this - http://help.sap.com/saphelp_nw70/helpdata/en/7b/fb57412df8091de10000000a155106/content.htm

  • Classic planning application properties

    Hello,
    How to view created classic planning application properties as what options had selected when creating application from Classic Application Wizard, Select, Calendar, Currencies, Plan Types, etc.
    Regards.

    One of the ways:
    Take a LCM export of planning application and have a look at ApplicationDefinition.xpad file.
    Once backup is done, you can find it at: in 11.1.2.1:
    Oracle\Middleware\user_projects\epmsystem1\import_export\<user>\<Dir>\resource\Configuration\Properties
    Cheers...
    Rahul S.

  • Can LabVIEW application properties (e.g. Callees) be accessed from visual studio (C++)?

    Hello folks,
    Can LabVIEW application properties such as "Callees" be accessed from C++?
    Best Regards,
    Chris

    chassan wrote:
    Hello folks,
    Can LabVIEW application properties such as "Callees" be accessed from C++?
    Best Regards,
    Chris
    You can enable the ActiveX interface in LabVIEW and use its Automation server interface. This interface exports a subset of the VI Server interface to ActiveX. A subset becauseof security concerns. You do not want an arbitrary ActiveX client (possibly remotely) to look at your entire project and change about anything they like.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Struts Application Properties

    I think this has been broached before, but if someone could restate the answer, I
              would be most obliged:
              It appears that WLS 6.1 SP2 does not load properties files (like the typical Struts
              Application.properties) when it loads a webapp. This leads to an exception in my
              Struts apps (that work fine on Tomcat 4.0.3) when it can't find any of the application
              tags.
              Anybody run into this?
              

    Name it whatever you want. All that matters is the part before the .properties extension matches what you put in the struts-config.xml:
    <!-- Main resource bundle, contains errors and some generic stuff. -->
    <message-resources parameter="com.company.app.MainResources"
         null="true"/>
    <!-- Alternate resource bundle, contains some special things maybe. -->
    <message-resources parameter="com.company.app.AltResources"
         key="altResourceKey" null="true" />
    // and have the files...
    appdir/WEB-INF/classes/com/company/app/MainResources.properties
    appdir/WEB-INF/classes/com/company/app/AltResources.properties
    // and use them with the bean:message tag...
    <bean:message key="some.main.key" />
    <bean:message bundle="altResourceKey" key="some.alt.key" />The only thing that matters is that several Struts tags, like the <html:errors /> for ActionErrors will only use 1 message resource file. The html:errors tag can specify an alternate resource file, but all the error keys used for that html:errors instance must be in that same bundle. So usually I put all my error messages in the main one and if it's a large app, I put several other resource files for different areas of the app.

  • Planning application properties

    Hi,
    Can you please help on how to delete the planning-application properties under the administration tab--> Manage Properties --> Application Properties , i have added two properties, but i just wanted to delete those now. how can i delete.
    Thanks
    Suresh

    i tried it, but i can able to delete text from the cell, but can't able save. while i am trying to save at the time it saying "one or more duplication properties found.properties can't be saved to the system database".
    i can't able to delete entire column/row from the planning.
    Any other option other than this.
    Thanks
    Suresh
    Edited by: Suresh Reddy on Oct 28, 2010 8:48 AM

  • Struts - Application.properties and ApplicationResources.properties

    Java Guru's,
    Could some one tell me the difference between Application.properties and ApplicationResources.properties and which one shd i use in my application.
    Thank you in Advance ..

    Name it whatever you want. All that matters is the part before the .properties extension matches what you put in the struts-config.xml:
    <!-- Main resource bundle, contains errors and some generic stuff. -->
    <message-resources parameter="com.company.app.MainResources"
         null="true"/>
    <!-- Alternate resource bundle, contains some special things maybe. -->
    <message-resources parameter="com.company.app.AltResources"
         key="altResourceKey" null="true" />
    // and have the files...
    appdir/WEB-INF/classes/com/company/app/MainResources.properties
    appdir/WEB-INF/classes/com/company/app/AltResources.properties
    // and use them with the bean:message tag...
    <bean:message key="some.main.key" />
    <bean:message bundle="altResourceKey" key="some.alt.key" />The only thing that matters is that several Struts tags, like the <html:errors /> for ActionErrors will only use 1 message resource file. The html:errors tag can specify an alternate resource file, but all the error keys used for that html:errors instance must be in that same bundle. So usually I put all my error messages in the main one and if it's a large app, I put several other resource files for different areas of the app.

Maybe you are looking for

  • HP Color  LaserJet Enterprise M750n

    encoding problems on printer correct print on another printer how to solve the problem? driver version 5.9.0.18326 Spoiler (Highlight to read) may be problems in the firmware? may be problems in the firmware?

  • The limitation of Virtual Memory

    hi all..... When exporting the huge data volume to excel, the process always terminated by time-out and dumps error. I read a lots of post and SAP notes. I found the root cause of lacking of memory. I have 8GB memory on OS.The limitation of virtual m

  • Safari is driving me nuts!

    I'm using a 27" iMac, 2.7 GHz Intel Core i5, 8GB RAM, Lion 10.7.1 and Safari 5.1, and I do not have Little Snapper installed. My biggest problem is getting the Safari can't connect to the server error, which I seem to get all the time. There's no rhy

  • Need new laptop charger for my Qosmio G50

    I've got a Toshiba Qosmio G50 laptop that I bought quite a few years ago and the charger for it finally konked out on me from heavy use and bending of the cord. I've been trying to search for a charger for it with the same specifications as the one I

  • Thought for the day

    A first class stamp bought today Costs less than a second class Bought in May.