LOV as parameter for method stuck as read-only, needs to be selectable

Hi,
I have a method that calls a stored procedure, and I need to pass in a value selected from an LOV.
I build a VO based on a SQL query. I drag in the method as a form. Then convert the input text to an LOV and select the corresponding VO. The form displays the first value from the select instead of providing an input field with search.
Pls advise.

Found answer in
Re: Stored procedure and LOV

Similar Messages

  • Possible to make an item editable for certain users and read only for other

    Is it possible to make an item editable for certain users and read only for others?
    I've been able to accomplish this by taken the select statement that I used to define an authorization scheme, placing it in the Read Only condition of the item. However, I would like to simply reference the authorization scheme to utilize caching, and to help keep things cleaner for future maintenance.
    Is it possible to reference an authorization scheme in an item condition similar to the way another item can be referenced by preceding it with a colon (i.e. :P1_First_Name)?

    Thank you, your suggestion worked.
    It would be nice on a future release of APEX if a drop-down box existed under the Ready Only section that would allow an existing Authorization Scheme to be selected or negated when applying the Read Only attribute to a form item.

  • How to get the value of a parameter/field in a ADF Read-Only Form

    Hi,
    My requirement is as follows. Could anyone shed some light on this issue.
    I am showing the records from db table using ADF Read-Only Form ( which uses ViewObject created for the table). Now I want to capture(get) the value of a field in this form and then have to invoke an action based on the value in this field. I mean to say the next page depends the value of a field in this form.
    Please suggest how can I achieve this functionality?
    Thanks in advance.
    ~Sivaji

    That's indeed what Sivaji needs.
    In the page definition you can add a value to the parameters of a certain method. Like RJundi mentioned, point to the attribute of the current row.
    Example:
    The value of the read only textfield will be something like this:
    #{bindings.EmployeeName.inputValue}points to an attribute value in the pageDef of the page:
        <attributeValues id="EmployeeName" IterBinding="AllEmployees">
          <AttrNames>
            <Item Value="EmployeeName"/>
          </AttrNames>
        </attributeValues>The attribute value has also an iterator binding defined in the page def:
        <iterator id="AllEmployees" RangeSize="10"
                  Binds="AllEmployees" DataControl="MyService"/>If you want to 'pass' the attribute of the current row to the service, you can create a methodaction (eg: public void printEmpName(String name)) in the page def or you can drop the method from the datacontrol on to the page. After dropping the method, a screen will appear asking to fill in a value for the parameter ('name' in this example). Fill in '#{bindings.EmployeeName.inputValue}' if you want to pass the EmployeeName of the current row.
    Hope it helps,
    Koen Verhulst

  • External  Hard Drive stuck on Read Only

    I just moved an external hard drive that had been attached to a Vista PC over to my Mac. However, I can't edit anything on the disk from my Mac, because it's in Read Only mode. I'm sure Vista set some sort of security on it, but from Vista I gave every group possible Full Access to the disk. Is there any way to override Read Only mode from the Mac, or in the alternative, does anyone know how to override the security settings from Vista?

    Indeed, if the disk was reformatted (possibly by the first person who used it) Vista is set to format to NTFS by default. In this case, you will not be able to write to the disk.
    If you want to be able to write to the disk, you should pull all your important information off of it and onto the Mac's hard drive (if possible). Then click the smiley (Finder) and go to *Applications > Utilities > Disk Utility* Locate the volume of the hard drive in question in the pane on the left, it will be the second hard drive, slightly below the hard drive. The Format: listed toward the bottom of the window will tell you whether or not the drive is NTFS. If it is, go to the erase tab and Set the Volume Format to either Mac OS Extended (Journaled), or MS-DOS File System.
    MS-DOS formatting will allow the drive to be read and written to by both PC and Mac, but the Mac will not be able to read or write from this format as quickly as it can in disks that are it's own Mac OS Extended (Journaled) format.
    *It's recommended, for performance and integrity, that you format the drive with Mac OS Extended (Journaled).* This type of disk will be readable on a PC without third party software, but only with third party software. If you're going to capture or play video off of this drive, then don't even consider the MS-DOS format.
    If you can't see the option for MS-DOS, make sure you're selecting the drive itself, it should be just above the drive you selected and should start with a number followed by GB and a manufacturer name.
    Also, realize that FireWire is faster than USB 2.0, in case this drive has both, use FireWire and not USB 2.0 (for improved performance in either format).
    By the way, welcome to the world of Mac, you will see it truly is a community.

  • ORA-00060: deadlock detected while waiting for resource with Tbs Read-only

    Hi all,
    We're using Oracle 10.2.0.1 and 9.2.0.4.
    I'm testing the performing of a procedure that inserts, like this:
    CREATE OR REPLACE PROCEDURE P$TAD_TEST
    IS
    TYPE T_T1_C1          IS TABLE OF T1.C1%TYPE INDEX BY PLS_INTEGER;
    TYPE T_T1_DT           IS TABLE OF T1.DT%TYPE INDEX BY PLS_INTEGER;
    P_C1 T_T1_C1;
    P_DT T_T1_DT;
    P_RESULT NUMBER;
    BEGIN
    FOR j IN 1..4032 LOOP
    P_C1(j) := j;
    P_DT(j) := SYSDATE + (j/24/60);
    END LOOP;
    FORALL i IN P_C1.FIRST..P_C1.LAST SAVE EXCEPTIONS
    INSERT INTO T1 VALUES (P_C1(i), P_DT(i));
    EXCEPTION
    WHEN OTHERS THEN
    P_RESULT := SQLCODE;
    END;
    The table T1 is partitioned across 10 tablespaces. The test consist to take
    these tablespace read-only and perform the procedure, and analyze the results,
    like erros.
    but when I perform the procedure, The alert.log indicates the error
    ORA-00060: deadlock detected while waiting for resource.
    Why this occurs only the tablespaces are read-only?
    thank you!!!!

    Hi,
    yesterday we got this error again(in fact twice) and we were able to get the trace file. It says this is NOT oracle error. i was wrong in suspecting Oracle. This is the trace file details. i dont know how to debug this. Any help appreciated.
    *** 2010-06-15 16:24:29.243
    *** ACTION NAME:() 2010-06-15 16:24:29.231
    *** MODULE NAME:(JDBC Thin Client) 2010-06-15 16:24:29.231
    *** SERVICE NAME: 2010-06-15 16:24:29.231
    *** SESSION ID:(482.4266) 2010-06-15 16:24:29.231
    DEADLOCK DETECTED ( ORA-00060 )
    [Transaction Deadlock]
    The following deadlock is not an ORACLE error. It is a
    deadlock due to user error in the design of an application
    or from issuing incorrect ad-hoc SQL. The following
    information may aid in determining the deadlock:
    Deadlock graph:
    ---------Blocker(s)-------- ---------Waiter(s)---------
    Resource Name process session holds waits process session holds waits
    TX-00300021-0000b52d 209 482 X 247 474 S
    TX-002a0009-00011b24 247 474 X 209 482 S
    session 482: DID 0001-00D1-0000000A session 474: DID 0001-00F7-00000008
    session 474: DID 0001-00F7-00000008 session 482: DID 0001-00D1-0000000A
    Rows waited on:
    Session 474: obj - rowid = 0000CED4 - AAAM7UAAxAAAVgSAAA
    (dictionary objn - 52948, file - 49, block - 88082, slot - 0)
    Session 482: obj - rowid = 0000D8BF - AAANi/AAuAAB+z/AAA
    (dictionary objn - 55487, file - 46, block - 519423, slot - 0)
    Information on the OTHER waiting sessions:
    Session 474:
    pid=247 serial=31796 audsid=25502259 user: 62/USER
    O/S info: ....
    program: JDBC Thin Client
    application name: JDBC Thin Client, hash value=2546894660
    Current SQL Statement:
    INSERT QUERY1
    End of information on OTHER waiting sessions.
    Current SQL statement for this session:
    INSERT QUERY2
    Thanks,
    AK

  • Editor stuck in read only mode

    Am able to connect to a 9i database, but am unable to edit any code. Logon appears successful, connection made, and am able to query the database. However, when I open stored procedures for editing, the edit window doesn't respond to any keystrokes.
    The editor behaves as though I were in some kind of read-only mode. However, when I exit the procedure, I am prompted to save "changes".
    James Brockman

    Logged this as a SR on Metalink and the problem seems to be down to use of colons in my connection names.
    I was using a naming convention of
    host:SID     for accounts connecting as system and
    host:SID:schema     for accounts connecting as specific schema
    Which nicely groups and orders my connections by host. Sadly this prevents edit of stored pl/sql units (package, procedures, functions)

  • Is there any workaround for log LNs in read-only env. UNEXPECTED_STATE

    I'm at 5.0.43 and encounter the same problem mentioned in The Berkeley DB Java Edition Package: BDB JE Library Version  11.2.5.0 (Release 5.0.55) Change Log
    Fixed a bug that caused an exception such as the following, when opening an Environment in read-only mode. This occurred under certain circumstances when a clean shutdown (final checkpoint) was not performed when the Environment was last used by a read-write process.
    I have below 2 questions:
    1) I want to know if there's any workaround to this problem without having to upgrade BDB-JE.
    2) Just want to make sure we will not have data compatible issue if we have to upgrade to the latest version
    Thanks for your help.

    This is a transient problem when opening in read-only mode.  It does not cause corruption or a compatibility issue.
    If you open the environment read-write and perform a normal shutdown (Environment.close), then it should be possible to open the environment read-only again.
    However, it is possible that it could happen again if the read-write process exits without calling Environment.close.  The only way to guarantee it won't happen again is to always call Environment.close in the read-write process before opening it read-only, or upgrade to the latest version of JE 5.
    --mark

  • Role for system data dictionary read-only access

    [NOTE: this is for 9i]
    What grants must a role have to have read-only access to
    the system data dictionary tables (e.g.: ALL_SOURCE,
    ALL_OBJECTS, ...)?
    Or, is there somewhere in the docs that talks about this
    kind of role?
    Thanks in advance,
    Robert

    Well, the answer to your explicit question would be that it would need SELECT on each of the data dictionary views that do not have SELECT granted to PUBLIC. To find out what those are, you could do:
    SELECT table_name, privilege
    FROM dba_tab_privs
    WHERE grantee = 'SELECT_CATALOG_ROLE'however, it would probably be easier just to grant it SELECT_CATALOG_ROLE :-)
    John

  • Firefox is already running. "Check access rights" - Read Only, revert back and selected automatically!

    I Have follow the steps releated issue "Firefox is already running, but not responding. To open a new window, you must first close the existing Firefox process, or restart your system".
    However, issue is solved for sometimes by following steps (1 & 2) but the issue created again. Regarding step 5, I cannot applied it, because when I uncheck "Read Only" it revert back again!!
    Please advise.
    Note:
    We are running the Firefox through Citrix XenApp Presentation 4.5.
    Thank you

    Do you get that all the time or only if you close Firefox and want to restart Firefox?
    See also:
    * "Hang at exit": http://kb.mozillazine.org/Firefox_hangs
    * "Firefox hangs when you quit it": https://support.mozilla.org/kb/Firefox+hangs
    *http://kb.mozillazine.org/Profile_in_use
    *https://support.mozilla.org/kb/Firefox+is+already+running+but+is+not+responding

  • How Do I:  Fill a read-only field based on selections from 2 DDlists?

    Follow-up from issue:  
    http://forums.adobe.com/message/2417876#2417876
    I have 2 drop-down lists...  "Department" and "SubDepartment"
    The selection in DDlist "Department" spawns a unique list in DDlist "SubDepartment"
    I select the proper items from both DDlists.
    When I do this, I want read-only text field "NameOnIDBadge" to be populated with a pre-defined entry.
    Example:
    In "Department" DDlist, select item "Finance & Administration"
    In "SubDepartment" DDlist, select item "Food Service" from the list that appears
    THEN:
    In read-only text field "NameOnIDBadge" the following predefined read-only text appears:  "Contract Food Serv."
    (Thanks to Paul, I already know how to make the selection in DDlist "Department"  affect the selection list in DDlist "SubDepartment"
    but I don't know how to make the selection of both DDlists create a new pre-defined entry in a text field.)
    I have attached a mockup of the file I am working with...

    I tried that but a few things went wrong.
    1. After I select "Food Service" in the second "SubDepartment" DDlist, a Javascript error message pops up (see attached), and I have to click it to make it go away.  Then the text "Contract Food Serv" appears in the text box.
    2. If I select a different value in the Department DDlist, the rawtext still remains in place... it should clear out.
    3. The raw text seems to be based on the selection of the SubDepartment DDlist only.  However, I need specific raw text to be generated based on the combination of BOTH DDlists.   (It could happen that a totally different Department DDlist could have the same item in its corresponding SubDepartment DDlist.  In that case, the rawtext would be completely different.)
    Correct example:
    Department DDlist = Finance & Administration
    SubDepartment DDlist = Food Service
    NameOnIDBadge = Contract Food Serv  <-- CORRECT
    Incorrect example:
    Department DDlist = Clinical Services
    SubDepartment DDlist = Food Service
    NameOnIDBadge = Contract Food Serv   <--  INCORRECT   (it might be something else)

  • My external hard drive is read only, need to transfer data off it, reformat the drive then copy back

    my data from my pc is on a hard drive, 1tb formatted windows ntfs.  So I need to copy data, reformat hard drive to mac format, then reload it.
    is that correct?  any tips if so?  only 270 gig is data, about 730 is empty
    internal hard drive has about 950 gig free.

    Correct.

  • Dynamically making read only for a field in get_data(CL_EHHSS_INC_BINFA_UI_FRM)

    Hi Experts,
    I am making read only for a field based on condition in get_data method of class CL_EHHSS_INC_BINFA_UI_FRM.
    But it is not working. Pls find the code for the same.
    LOOP AT CT_FIELD_USAGE INTO lw_field WHERE NAME = 'OC_INC_TYPE'.
       lw_field-read_only = ABAP_TRUE.
       MODIFY ct_field_usage FROM lw_field TRANSPORTING read_only.
       ev_field_usage_changed = 'X'.
    ENDLOOP.
    Pls help me what is wrong in this coding.
    Regards,
    Reny Richard

    Hi Richard,
    Please check if   this loop is executing for the correct desired event(say on click or from the start ). & the field name specified is correct or not through debugging. And check by placing the parameter ev_field_usage_changed = 'X'. after the loop statement.
    Below is a sample code for making the field read only.
    field-SYMBOLS: <fs_field> like line of CT_FIELD_USAGE.
       loop at CT_FIELD_USAGE ASSIGNING <FS_FIELD>.
         case <FS_FIELD>-NAME.
         when 'OC_INC_TYPE'. " name of the field
             <FS_FIELD>-READ_ONLY = 'X'.                " ' ' for editable
         ENDCASE.
    CV_FIELD_USAGE_CHANGED = abap_true.
    Regards,
    Harsha

  • Default value for Read-Only Picklist Field

    Hi, all--
    I would like to have a default value ("Undetermined") for the "Associated Account" read-only picklist value. I have an account record of this value for this purpose. This is because if there is no value in the field, the record will not be included in a report that includes the field. I do not want to make the field required at this point.
    Field management doesn't appear to allow any default value for read-only picklists. Does anyone know how to get around this, either at the lead record stage or at the lead report stage (without resorting to an analytic, which won't work for what we are doing)?
    Thanks.

    That's a great question. It doesn't appear as though you can select it from the typical method of Admin | Application Customization | Lead | Lead Field Setup | Associated Account.
    Have you tried creating a workflow to populate the field using Before Modified Record Saved?

  • Read Only for "Group" and "Others" via SMB

    I see when Windows vista users of my OS X 10.5.8 server save a file to the server, the permissions show on the server as Read & Write for the owner and Read Only for 'Group' and 'Others'.
    Is there a way I can make the OS X server always make 'Group' and 'Others' always be Read & Write?
    Thanks!

    It's using a shared component LOV cleverly called LOV_YN which consists of a static LOV with
    1 Display=Yes, Return=Y
    2 Display=No, Return=N
    The settings in the LOV section on the item iteself:
    Named LOV: LOV_YN
    Display Extra values: No Dynamic translation: Not translated
    Number of columns: 2 Display null: No
    Null display value is blank as is null return value
    Item was setup as a radio group and was only converted over to a select list to work around this issue. Let me know what else you need and thanks again.
    Rgds/Mark M.

  • Strange behavior when Popup LOVs has read-only condition and Bug Report

    Hi,
    I observed an inconsistent behavior of Popup LOVs when the read-only condition is true. In that case the defined lov query is used to map the internal value of the page item to the display value defined in the lov query.
    What is the reason for this behavior? Because if the Popup LOV is in "edit mode" the page item value is just displayed without looking up the display value. The display value is just used for the popup lov. Mapping the value is normally a behavior of the popup key lov.
    -> The result is that different values are displayed if the page item is in edit or read-only mode. That's not really the behavior someone would expect.
    BTW, there seems to be a bug with "Display Extra Values" set to "Yes" in the case read-only is true. If the lookup doesn't return a value it just displays [ ], but because the property is set to yes it should display the value. The Popup Key Lov has the same bug.
    Thanks for bringing some light into that behavior
    Patrick
    Oracle APEX Essentials: http://essentials.oracleapex.info/
    My Blog, APEX Builder Plugin, ApexLib Framework: http://www.oracleapex.info/

    Patrick,
    I've added your comments to a task already in our queue to examine all item types for correct behavior in read-only mode. I've noticed the quirks with display extra values also.
    By the way, still interested in your thoughts re: Re: Bug Report: Images broke when using get_blob_file_src and not authentic .
    Scott

Maybe you are looking for

  • Bug in java.awt.geom.Rectangle2D.contains method

    I cannot understand why not awt.geom.Rectangle2D.contains() return the right value??? Or maybe i don�t understand it properly. Check out this code snippet import java.awt.geom.*; public class Test     public static void main(String[] args)        //R

  • My iphone 4s wont sync with itunes when i plug in it just says waiting to sync?

    got m new iphone 4s ive set it up on itunes but i want to put more music on and when i plug it in it just says waiting to sync and the after about a min a message comes up with iphone cant sync because time is too long or something similar.

  • Display Hint after 3 incorrect clicks

    I have recorded a training simulation and very much enjoy the "Hints" which are displayed when you rollover a click box. However, I would like to know how you can automatically display the hint after 3 incorrect clicks (or clicks outside of the click

  • How to make select option in module pool

    Hello, Can anybody tell me how to create a select option in module pool screen..? thanks

  • Video storage space

    I cannot record any more video on my iPhone 5 because I've run out of space. What can I do to resolve this?