Getting a widget's REAL state

Hi folks,
I'm trying to determine a widget's REAL state.
The widget is in a gridfield which has been set to FS_DISABLED, but
the field's state is FS_USAGESTATE.
Is there an easy way to a widget's effective state taking into account all
it's containers? I'd rather not recurse up through the parents checking
their state, because in some of our windows, that hierarchy is quite
deep.
Thanks in advance.
Cheers,
Duncan Kinnear,
McCarthy and Associates, Email: duncanMcCarthy.co.nz
PO Box 764, McLean Towers, Phone: +64 6 834 3360
Shakespeare Road, Napier, New Zealand. Fax: +64 6 834 3369
Providing Integrated Software to the Meat Processing Industry for over 10 years

Not quite true. You also have an HttpServlet; Thanks for the response, but I'm afraid I don't have an HttpServlet - my code is not inside a servlet, but is in a method that gets called by a servlet, passing the request and response as parameters. I can't alter the method signature.
I assume getRealPath in HttpRequest is deprecated due to problems with multiple web-applications running alongside each other, so my initial thought of initialising a static field from the servlet's init method and using that may cause problems in future.
It looks like I'll have to use a properties file, but would prefer not to have to do that.

Similar Messages

  • Update Contract conditions in Real State

    Hi,
    I am working with real state moduel, while creating the contract offer user when selecting the conditions wants to select one condition on the basis of which i through some abap code should populate all the conditions.
    The thing is can anyone tell me if there is a BADI or enhancement for this where i can put my code.
    Thanks

    Hi
    I was able to solve the problem by using BADI_RECD_CONDITION,
    I implemented the funtion named as  CHECK_ALL.
    In this function used the following code
    io_object - > method import parameter
    *To get Contract details
      CALL FUNCTION 'API_RE_OF_GET_DETAIL'
        EXPORTING
          io_object    = io_object "Object containing the  
                                   "reference for cont. offer
        IMPORTING
          et_condition = lt_condition
        EXCEPTIONS
          error        = 1
          OTHERS       = 2.
    *Manipulated the conditions and then updated them using
    *   update contracts
        CALL FUNCTION 'API_RE_OF_CHANGE'
          EXPORTING
            io_object    = io_object
            it_condition = lt_condition_change
          EXCEPTIONS
            error        = 1
            OTHERS       = 2.
    These functions provide us with the updated data which the user has entered and not saved, that is the runtime data.
    Regards,
    Khusro Habib

  • Workflow for Contract in Real State Flexible

    Iu2019m working with Real State Flexible, specifically with the Real State Contract TCode RE80 or RECN.
    My issue here is that I need to trigger a workflow event when any Notice is created in the "Term" subscreen over the Contract.
    The BOR for the Contract is BUS1505
    Thanks for any help

    Please check with Workflow Template
    WS17900006
    WS 17900005
    I also found you have standard event that gets triggered for your requirement. Please check in SWEL Tcode for event trigger.
    Thanks
    Arghadip

  • When my lightroom opens up I keep getting an error message that states, "Lightroom encountered an error whne reading from its preview  cache and needs to quit" I have relaunched it a number of times and keep getting the same message.

    when my lightroom opens up I keep getting an error message that states, "Lightroom encountered an error whne reading from its preview  cache and needs to quit" I have relaunched it a number of times and keep getting the same message. Any thoughts on how to fix this?

    You need to delete your preview cache and have Lightroom rebuild it.   Cache location can be found here.
    https://helpx.adobe.com/lightroom/kb/preference-file-locations-lightroom-41.html
    Why And How To Clear Your Lightroom Cache - Lightroom Fanatic

  • How do I get my widgets to come up on my desktop not on a new screen

    how do I get my widgets to come up on my desktop not another screen

    System preferences > mission control > uncheck "show dashboard on a new screen"

  • I just downloaded itunes onto my new laptop and I am trying to burn songs onto a cd that I had purchased previously and I am getting an error message that states I must authorize this computer. What does that mean?

    I just downloaded itunes onto my new laptop and I am trying to burn songs onto a cd that I had purchased previously and I am getting an error message that states I must authorize this computer. What does that mean?

    If the computer's running Mac OS X, move the cursor to the very top of the computer's screen, click on Store, and choose Authorize this Computer.
    If the computer's running Windows, press the Alt and S keys and choose Authorize this Computer, or click here, follow the instructions, click on Store in the menu bar, and choose Authorize this Computer.
    (95452)

  • I am getting "ORA-00900: invalid SQL statement"  error.?

    I did installed oracle 11gR2. and used "DBMS_METADATA_DIFF.COMPARE_ALTER('TABLE','TBL_A','TBL_A','USER1','USER2')"   to see the result like below,  but I am getting "ORA-00900: invalid SQL statement"  error.   Any idea?
    I am using:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL> desc user1.tbl_a
    Name                                      Null?    Type
    FIELD_A1                                  NOT NULL NUMBER
    FIELD_A2                                           VARCHAR2(20)
    FIELD_A4                                  NOT NULL NUMBER(5,2)
    FIELD_A5                                           VARCHAR2(10)
    FIELD_A6                                  NOT NULL NUMBER(2)
    SQL> desc user2.tbl_a
    Name                                      Null?    Type
    FIELD_A1                                  NOT NULL NUMBER
    FIELD_A2                                           VARCHAR2(50)
    FIELD_A3                                           DATE
    FIELD_A4                                           NUMBER(5,2)
    FIELD_A5                                  NOT NULL VARCHAR2(10)
    SQL> select dbms_metadata_diff.compare_alter('TABLE','TBL_A','TBL_A','USER1','USER2') from dual
    expected result:
    DBMS_METADATA_DIFF.COMPARE_ALTER('TABLE','TBL_A','TBL_A','U1','U2')
    ALTER TABLE "U1"."TBL_A" ADD ("FIELD_A3" DATE)
      ALTER TABLE "U1"."TBL_A" DROP ("FIELD_A6")
      ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A2" VARCHAR2(50))
      ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A4" NUMBER(5,2) DEFAULT 0)
      ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A4" NULL)
      ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A5" NOT NULL ENABLE)

    Thanks for reply rp,
    I got result using "select dbms_metadata_diff.compare_alter('TABLE','TBL_A','TBL_A','USER1','USER2') from dual"

  • How do you get dojo widgets (javascript library) to work in a portlet

    I am trying to get Dojo widgets (the JavaScript library or toolkit, http://www.dojotoolkit.org/) to work in portlets, but have not gotten past errors "could not load" for the widgets. I have tried widgets in both dojox and dijit. Has anyone gotten this to work?
    WCI uses a version of Dojo from 2007 internally, and appears to assign it to the "auidojo" namespace. I tried implementing a suggestion using djconfig to use the namespace "mydojo" for the installation of the current Dojo version, which I have put on the imageserver. Using Firebug, it appears that dojo.js as well as the paths to the widgets are recognized (using modulePaths) and used correctly.
    I am not a Dojo guru, so suggestions from someone who has this working would be appreciated!

    Here is a sample image from a previous plan completed  a few versions back.
    All that was done.. was to create a green fill, hundreds in this map. Have all lawn elements on a single layer. Select the layer, apply the photocopy effect, change the detail and darkness options to achieve this look and apply. It kept the green color, and applied the photocopy effect to the fills.
    Now it changes the object or objects to black and white. The plans that are rendered are to large to rasterize and recolorize objects. Copy the lawn layer with all the filled objects, placing the copied layer on top and applying the photocopy effect to it, plus a transparency... then shifts the color rendition of the underlying object.. I am playing a guessing game of transparency adjustment and, picking the correct green shade underneath to achieve the same effect, almost impossible to match and way to time consuming.
    I cannot get blending to work on separate fills with the photocopy and based on trial and error with that method... applying the effect to hundreds of fills would crash the file and my system.
    What was... was perfect...now.. a great simple effect has been removed from my toolbox... struggling with finding a replacement.

  • HT204053 I cannot log into iCloud using my Apple username and password.  I keep getting an error message that states "CANNOT SIGN UP - The Apple ID is valid but is not an iCloud account."  How do I fix this?

    I cannot log into iCloud using my Apple username and password.  I keep getting an error message that states "CANNOT SIGN UP - The Apple ID is valid but is not an iCloud account."  How do I fix this?

    You are getting this message because you are attempting to create an iCloud account on a PC.  You can only create iCloud account on an iOS device (iPhone, iPad or iPod Touch) running iOS 5 or higher, or on a Mac running OS X Lion (10.7.2) or higher.  After creating your account on one of these devices you will then be able to sign into the account on your PC.

  • When i try to download software for Ipad I get an error message that states "the network connection timed out".

    I need help download software for my Ipad. I get an error message that states "the network connection timed out"

    Disable or Turn off you firewall and and anti-virus software and try the download again.
    Stedman

  • When using Firefox as my browser, my "back" button no longer works? And by the way...getting help is a real pain in the butt on this site!!!!!

    When using Firefox as my browser, my "back" button no longer works? And by the way...getting help is a real pain in the butt on this site!!!!!

    see -- http://kb.mozillazine.org/Kill_application
    which explains how to completely exit (quit) your Mozilla application
    Try closing Firefox completely
    *Close Firefox properly '''File > Exit''', not with the "X" which just closes the window.
    *Use the Windows Task Manager "Processes" tab to make sure that firefox.exe is not running and also that the plugin-container.exe is not running.
    If that does not work, try restarting the system.
    If still no luck try restoring bookmarks from last backup, or better create your own .json backup and restore from that.
    *http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox#Creating_bookmark_backups
    *''If you had to go this far, please provide feedback if restoring bookmarks alone fixed the problem. I think I may have done that once with success, but never see that suggested -- I'd try most anything to not lose history or bookmarks. But then I could restore files from my profile and restore latest bookmarks backup from current profile.''
    The following will result in complete loss of history if it comes down to deleting places.sqlite, so rename files rather than deleting. With Firefox down.
    Of course you have backups of your profile you could replace rename and
    replace those files instead.
    Locked or damaged places.sqlite - MozillaZine Knowledge Base
    :"Toolbar buttons such as Back/Forward are disabled "
    :http://kb.mozillazine.org/Locked_or_damaged_places.sqlite

  • How do i get icloud widget to appear on my mac?

    How do i get icloud widget to appear on my mac?

    There isn't an iCloud widget.  You'll find iCloud in system preferences but it requires OS X 10.7.2 (Lion) or higher.

  • Updates getting stuck in V2 processed state

    Hi,
    In our ERP production system EP0, update entries are getting stuck
    in 'V2 Processed' state.
    Details of the same show that the collective run state is in initial
    state for functional module 'MCEX_UPDATE_03'.
    Please find the attached screenshot of details.
    These updates are gettin stuck for specific transactions like MIGO.
    We have already tried running the report RSM13005 but it has not helped.
    Please look into it urgently as the system is a production system.
    Thanks in advance.
    Regards,
    Suresh
    Edited by: suresh k on Sep 26, 2008 2:38 PM

    Hi
    As you checked in transaction SM13 they are stucked in Initial state. There was various states associated with the update like INIT and ERR.
    What is INIT status:
    Update records which have not yet been processed have the status INIT or AUTO. INIT refers to a complete update record (header, function module call of update and data elements are present), which has not yet been processed however.
    What to do: SM13 -> Update records -> Update -> All records/Single
    you can set the update administration so that all records with the status 'INIT' or AUTO' (all update records which have not yet been updated) are processed (as far as possible).
    Warnings: please check with the user who posted the updates in the first place - make sure that they have not already reposted the update manually. If you are in doubt, please re-enter the data manually rather than using this update function.
    Hope this helps!!
    Kind Regards
    Esha
    Edited by: Esha Rajpal on Sep 30, 2008 5:06 AM

  • Now i have tryied everything i need help getting premier pro trial real help pls!

    now i have tryied everything i need help getting premier pro trial real help pls!

    Hi,
    Are you facing issues installing Premiere pro trial?
    Please mention your operating system.
    Error(If you're getting any)
    Thank you,
    Mohd Naseem

  • Two statements, get results from the first statement?

    Ok maybe I made it sound a little harder than it is, but this is what I am trying to do. I have a result set from from a database call when I pass in the username and password . In the 1st call I get the Users info: User_ID, first_name, lastname, etc...
    But I either need to get info from the first statement, and pass it to the 2nd statement or just do two statement calls calling the same info and passing it to my user object? I dont know which if any is faster, or better. The only thing I need from the first statement is the user_id. In the 2nd statement I need the user_id to find out the user permissions.
    Here is the original code when It was getting the user info and permissions from the same table. try
               dba = new DbAccess();
               java.sql.Connection con = dba.getConnection();          
    java.sql.DriverManager.getConnection("jdbc:oracle:thin:@kares:1523:appd","user","pass");  
               ps = con.prepareStatement("SELECT USER_ID, LAST_NAME, FIRST_NAME, LOGIN, PASSWORD," +
               "X, Y, Z FROM RD_USERS WHERE LOGIN=? and PASSWORD=?");
               ps.setString(1, user);
               ps.setString(2, pass);
               rs = ps.executeQuery();
               // set the user attributes
               if ( rs.next() )
                  loginValid = true;
                  setUserId(rs.getInt("USER_ID"));
                  setLastName(rs.getString("LAST_NAME"));
                  setFirstName(rs.getString("FIRST_NAME"));
                  setLoginName(rs.getString("LOGIN"));
                  setPassword(rs.getString("PASSWORD"));   
                  X = rs.getBoolean("X");
                  setX(X);
                  Y = rs.getBoolean("Y");
                  setY(Y);
                  Z = rs.getBoolean("Z");
                  setZ(Z);
               else
                  setLastName(null);
                  setFirstName(null);
                  setLoginName(null);
                  setPassword(null);
                  setX(false);
                  setY(false);
                  setZ(false);
               rs.close(); rs = null;
               ps.close(); ps = null;
               //dba.close(); dba = null;
            } The code above gets the info from one table, I now need to get the X, Y, and Z from a different table, but I need the USER_ID first. So, the first table is set up with the user_id and user info, and the 2nd table is set up with the user_id and user permissions

    Thanks DrClap I started on the the query and I did it a little differently, but it should hopefull do the same thing. my tables are constructed as so:
    USER
         USER_ID
         FIRST_NAME
         LAST_NAME
         USER_NAME
         PASSWORD
         ETC....
    USER_PERMISSIONS
         USER_ID
         PERMISSION X
         PERMISSION Y
         PERMISSION Z
         ETC....
    My Select looks something like this
    ps = con.prepareStatement("SELECT a.USER_ID, a.LAST_NAME, a.FIRST_NAME, a.USER_NAME, a.USER_PASSWORD," +
               "b.X, b.Y, b.Z FROM RD_USERS a, RD_PERMISSIONS b WHERE USER_NAME=? and USER_PASSWORD=?");
    This is where I come to a crossroads, Can I add on another AND to say "WHERE a.USER_ID = b.USER_ID
    and do I use the =, or is it ==, or .equals(). Thanks in advance.
    orozcom

Maybe you are looking for

  • Office Web Apps - "Could not find trace string in ULS logs" unhealthy?

    I have reviewed everything I could find on unhealthy WAC clusters as my problem seems unrelated to certificate or missing components.  I've already digested http://www.wictorwilen.se/office-web-apps-server-2013---machines-are-always-reported-as-unhea

  • How to restore  library after computer crash

    how do i restore my i tunes libray after my computer crashed

  • A205-s4777 crashing - video processor?

    I have had my A205-S4777 for a couple years now without any major problems.  Starting a few months ago, it started either powering itself down or completely freezing at seemingly random times.  The first thing I did was reformat the hard drive and do

  • Best settings for web video

    I am going to encode some videos of a Dr.'s office I shot with a Canon xh-a1 in widescreen sd to the web. I am thinking 320x240 but do not know what the best type of file to use for the web.  Also I have noticed that there are black borders at the to

  • Component tab in Contract - ME33K

    Hi Where i can find component tab for subcontract(item category - L) - Contract display option - ME33K. Thanks...Gopi