Disabled button of popup lov

hello, i have a popup lov.
i need to disabled this item
but if a user click on the button associate to popup lov the value is changed
how i can disabled this button?
thanks
Daniel

Daniel,
It's actually not a button at all. It's an anchor tag that displays an image. The href attribute of the anchor tag is the key - it makes a JavaScript call. If you're ok using jQuery for the solution I'd be happy to put one together for you. Put up an example application on apex.oracle.com. Let me know the workspace/username/password you want me to use...
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen
http://sourceforge.net/projects/plrecur

Similar Messages

  • Disable/enable popup LOV image anchor in tabular form

    Hello all,
    I am trying to find the solution how to enable/disable popup LOV's image anchor. When I disable the popup item, then only the text field is disabled but the image is still active and opens the LOV window. I have tried to implement some solutions but without success.
    I have created DA (fired after refresh of needed region) with code below which disables the needed field.
    $('td[headers="DEPTNO"] input').each(function(i)
                $('td[headers="DEPTNO"] input:text').disabled="disabled";
    $($('td[headers="DEPTNO"] input:text')[i]).addClass('apex_disabled');
    Could anyone help me with a code which will also disable the image?
    Thanks in advance!
    My testing appl:
    www.apex.oracle.com
    *WS:* kurintest
    *username:* [email protected]
    *passwd:* kurintest
    *appl. name:* disable_popup_icon
    -Jiri                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hello Jiri,
    Please see your page:
    I have changed the dynamic action:
    $('td[headers="DEPTNO"] input').each(function(i)
                $('td[headers="DEPTNO"] input:text').disabled="disabled";
    $($('td[headers="DEPTNO"] input:text')[i]).addClass('apex_disabled');
         $($('td[headers="DEPTNO"] a')[i]).click(function(e) { e.preventDefault(); });
    $($('td[headers="DEPTNO"] img')[i]).addClass('apex_disabled');
    Hope it helps!
    Regards,
    Kiran                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Popup LOV, set value by clicking on a button.

    Hello,
    I have a Popup lov item on customers, and I have a button beside popup too to create new customer. I would like to set the new customer id/name in popup lov, that i have after clicked on new customer button. (from Javascript). With normal select list " $s('P58_COMPANYID', 58)" is working, but with popup lov not.
    What is the problem?
    András

    Hi András,
    are you using APEX 4.0? Because there $s has a third parameter to provide the display value for a "Popup Key LOV". For example
    $s('P58_COMPANYID', 58, 'Superman');Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • Disabling Popup LOV (named LOV) cell in my tabular form

    Hello.
    I have a tabular form.
    I have a column where I insert values based on the named list of values. I make the field of "Popup LOV (named LOV)" type. However, ApEx allows the values to be either picked from the popup list or entered manually into the field's text field. I want to prevent the user from being able to manuall enter the values into the field and force the use of the popup LOV.
    I know that selecting Popup LOVs for regular items in a region make the text field "disabled" disallowing direct entering of values. However, for tabular forms' fields, this does not seem to be the case.
    Is there a style I can add to the attribute to make this happen?
    thanks
    Boris

    Hi Boris,
    I'm glad that you are learning things through this forum!
    You can't validate tabular form items using the normal Item Level validation - as this is for page item names only (that is, P1_EMPNO for example).
    You can do validation using PL/SQL in a Page Level Validation. There are a number of examples on how to do this on this forum. Here's one by Denes: [http://htmldb.oracle.com/pls/otn/f?p=31517:41]
    When you submit a tabular form page, Apex creates collections for each "fnn" set of items. "f01" items are stored in APEX_APPLICATION.G_F01, "f02" items are stored in APEX_APPLICATION.G_F02 and so on. To validate any item, you loop through one collection and check its value or the values in the same position on the other collections.
    In Denes's example, he is looping through the "f02" items (that is APEX_APPLICATION.G_F02 from 1 to APEX_APPLICATION.G_F02.COUNT) and checks the values in the "f07" (APEX_APPLICATION.G_F07) and "f08" (APEX_APPLICATION.G_F08) items. The items are stored in their collections in the same order as they appear on the page, the first item in G_F01 is on the same row as the first item in G_F07 and so on. The validation(s) to perform will depend on your requirements.
    In the example, Denes is using a "Function Returning Error Text" validation. In these, you either return a string containing the error or NULL (meaning no error has been found).
    Andy

  • ENHANCEMENT REQUEST: Option to disable HTML escaping in Popup LOVs

    It would be nice to have the ability to format Popup LOV entries with HTML. The default behaviour escapes all special HTML charaters, like <, >, &.
    The API documentation for APEX_ITEM.POPUP_FROM_LOV describes a parameter "p_escape_html" which can be set (YES|NO).
    There is nowhere in the Popup LOV templates, or in the page item LOV sections to toggle this.
    The ability to turn html escaping off would be nice.

    It would be nice to integrate the popup window
    functionality into the branching page process
    section. An option to create a branch of type 'Page
    in this Application (PopUp)' would make developing
    easierI understand what you want to do but I don't understand the logic.....
    what you want seems to defy the definition of Page Branching.
    You are NOT branching....you want a popup ! basically.
    I think BRANCHing - in the realm of HTML DB design and technical implementation - has very definitive meaning.
    And it has rules/logics to enforce that design as Vikas' example shows.
    When Branch from P1 to P4 , P1 is "out/finished" and P4 is "in". ---- but you want BOTH page still....But I see your purpose is not for functionality of the application but as you indicated "make developing easier"

  • Theme 23 does not display popup LOV in tabular form

    I created new application using new Theme 23. In tabular form the popup LOV button does not show. While using this theme the column LOV button is soooooo small it is not visible. If I move the cursor on the side of the field eventually I cursor handle will change and I can click and popup LOV will show. When I switch to an older theme (e.g. 21) the LOV button shows just fine.
    Does anyone can offer a solution? Can I expect more this type of problems in the new theme 23?

    I examined exported application file. Indeed the problem is p_column_id parameter. It should be decimal number for translated application. Characters %2C in p_column_id value stands for comma. It should be dot instead. Parameter value should be p_column_id=30289208519476123679.915121.

  • Return multiple values for the popup LOV

    Hi folks,
    I have one challange. I have a search engine and there is an popup lov and its having three Display and 3 Retun value such as
    select
    p.A || ', ' || pi.B|| ', ' || km.C|| ' ' d, p.A || ', ' || pi.B|| ', ' || km.C|| ' ' r
    from tableA km,tableB p,tableC pi
    where km.col1=p.id and km.col1=pi.id and km.C is not null
    when i click on the pop lov it will display 3 values shuch as SAP+DBA+HR and in popup lov iteam its will return 3 values
    such as SAP+DBA+HR this return values are from 3 cloumn names from same table ie. A column, B column, C column
    and when i click on submit button this return values from 3 columns values should assign to the 3 column such as
    A=SAP, B=DBA and C=HR and search fetchs the result in a Report.
    Its some thing new, is it possible..:)
    ok will be waiting for your reply..:D
    Regards,
    Suri
    Edited by: user634694 on Feb 25, 2009 3:14 AM

    Hi Varad,
    am facing problems i wrote dynamic sql its working fine for 2 and 3 fields like (SAP+ORCL) and (SAP+ORCL+HRA) but for the single value like SAP the results are not comming properly. my code is
    If (:P25_TEST Is not Null ) THEN
    V_Sql := V_Sql||q'!
    And
    (multipleInstr1(R.Pillar,:P25_TEST)&gt;0 )
    or INSTR ( '+' || Upper(:P25_TEST) || '+', Upper(R.Pillar))&gt;0 ) and
    ((multipleInstr1(R.Product_Line,:P25_TEST)&gt;0 )
    or INSTR ( '+' || Upper(:P25_TEST) || '+', Upper(R.Product_Line))&gt;0) and
    ((multipleInstr1(R.Category,:P25_TEST)&gt;0 ) or (R.Category is null)
    or INSTR ( '+' || Upper(:P25_TEST) || '+', Upper(R.Category))&gt;0 )
    End If;
    where multipleInstr1 is a function created to search results even its delimited by '+' it ignors '+' delimiter and
    :p25_test is the popup iteam which takes values like SAP+ORCL+HRA or SAP+ORCL or SAP how its possible to get this results.
    Its turning too complicated for cheking condetion for a single popup iteam, can we get any solution for this or not..
    Hope will do respond
    Thanks and Regards,
    Suri

  • Issue with Popup LOV field not clearing out "default" value

    I am using APEX 4.0 & Oracle 10g
    I have a form that displays a default value on a "Popup LOV" field (say P1_POPUP) when the Form is initially displayed to the user. The default value is part of the Popup LOV list of values. If the field is "manually cleared" *i.e. I clear the default value by backspacing and don't touch the LOV) and I Refresh (submit) the form (REFRESH button to display the same Form again), the default value is still displayed.  
    In Post Processing, I debugged the value of P1_POPUP to see if holds the default value and yes it does. I was expecting no value in P1_POPUP.
    Is this an APEX standard behavior?
    Any way how I can get rid of this value on an manually clearing action of this Pop Up field?
    Looking forward for your response.
    Thank very much in advance.
    Ed.

    I apologize, the default value was NULL indeed. However, it seems like I may need to manually clear this value so that it will not be displayed.

  • Popup LOV and read only

    Hi there,
    I want to use a Popup LOV instead of a select list. The thing is with Popup, the user can manually fill the text field value. Is it possible to use a Popup and have a read only textfield, to make sure the user's entry will be valid ?

    I try to fill disabled="disabled" into popup LOV of Tabular form element but don't work, the      
    behavior of text field is the same with or without this setting.
    My version of oracle apex is 3.1.1.00.09 installed on an Oracle 9.2.0.6 database.
    Someone have any ideas to resolve this problem?
    Thank you in advance.
    Gabriele

  • Background colour of Popup LOV

    Hi,
    The disabled text-box of the popup LOVs in my application do not appear 'greyed' out when viewed in IE (they are fine in FF and GC). I am using Theme 13. Where can I change the background colour? I can't seem to find anywhere in either the template (preferred choice) or even the individual item's options to add the code for the style change.
    Thanks
    Lucy

    Ok. This looks like a bug in the Theme Template.
    Does not exactly look good, but better than before in that at least the text and links are visible !
    a. Edit the Popu LOV Template from Shared Components for the Slate Theme
    b. In Search Field - Before Field Text add the style as given below
    <div class="t1PopupHead" style="background-color:#ffffff;">c. Add the above style to Ressult Set - Before Result Set as well
    <div class="t1PopupBody" style="background-color:#ffffff;">Might be a known issue, will check it out.
    Regards,

  • HTMLDB 1.6 Popup LOV navigation not working

    Hi all,
    I've recently migrated from 1.5 to 1.6.
    The pop-up LOV's navigation buttons (ie: Next) do not work. I click them but nothing happens. Any ideas?
    This happens regardless of the query used...
    Thanks...

    Thanks! That did solve the problem;
    The problem resides in the Popup LOV template. Under the field "Next button text" the default value is Next &gt(ampersandgt) <-- substitution is occuring on the screen);
    And "Prev Button text" value is &lt(ampersandlt); Previous
    If you remove the "&lt" or "&gt" from each of these the pagination works properly.
    I decided to look into a different template, my template was Template 3, business look. I checked out Template 9 and it used a different value "< Previous" I pasted this into my template and it worked. Looks like the "& gt or lt substitution " conflicts here...

  • Javascript error on List Manager (Popup LOV)

    Hi all,
    I have a problem with checkboxes and list managers (based on popup LOV).
    I have a form containing several checkboxes and list managers; in a region of the form (the one before the last one) I have 10 checkboxes but just the first one work, the other ones give me this error when I tried to insert a record:
    ORA-20001: Errore in DML: p_rowid=21, p_alt_rowid=ID, p_rowid2=, p_alt_rowid2=. ORA-20001: Valore numerico :1 non valido per la colonna EDUCATION (it's italian, the translation for the last part is "numerical value :1 not valid for the EDUCATION column).
    Furthermoe, I have problems with list managers too: when I open the popup for some of them and choose the value from the popup window, I get a Javascript error: "Obejct doesn't support this property or method"; some (just some) of the list managers works.
    The strange thing is that if I delete a list manager or a checkbox, another list manager or checkbox starts to work, as if it was a rule about the max total number of list manager/checkboxes.
    I want to highlight that the total number of items in the form is less than 100.
    Thanks a lot in advance for your help.
    Cheers,
    Matteo

    Hi,
    The issue is because Apex actually generates TWO items for each List Manager items and both of these count towards the maximum of 100 items per page. As an example - this is ONE list manager item from my test page:
    &lt;fieldset id="P222_LM1" class="listmanager"&gt;
    &lt;table cellspacing="0" cellpadding="0" border="0" summary=""&gt;
    &lt;tbody&gt;
    &lt;tr&gt;
    &lt;td&gt;
    &lt;noscript&gt;
    JavaScript not supported
    &lt;/noscript&gt;
    &lt;script type="text/javascript"&gt;
    &lt;!--
    function filter_escape(in_value) {
                out_value = escape( in_value );
                return out_value;
            function genList0_p_v99_()
               w = open("wwv_flow_utilities.gen_popup_list" +
                           "?p_filter="  +
                           "&p_name=" + escape('p_v99') +
                           "&p_element_index=" + escape('') +
                           "&p_form_index=" + escape('0') +
                           "&p_max_elements=" + escape('') +
                           "&p_escape_html=" + escape('') +
                           "&p_ok_to_query=" + escape('YES') +
                           "&p_flow_id=" + escape('33642') +
                           "&p_page_id=" + escape('222') +
                           "&p_session_id=" + escape('2926501920944144') +
                           "&p_eval_value=" + escape('') +
                           "&p_translation=" + escape('NO') +
                           "&p_item_id=" + escape('6753181500127769527') +
                           "&p_lov=" + filter_escape('6753181500127769527') +
                           "&p_lov_checksum=5D6157CA388C164818106815D15EFFC6",
                           "winLovList",
                           "Scrollbars=1,resizable=1,width=400,height=450");
               if (w.opener == null)
                 w.opener = self;
               w.focus();
    //--&gt;
    &lt;/script&gt;
    &lt;fieldset id="P222_LM1_ADD_fieldset" class="lov"&gt;
    &lt;table cellspacing="0" cellpadding="0" border="0" id="P222_LM1_ADD_holder" class="lov" summary=""&gt;
    &lt;tbody&gt;
    &lt;tr&gt;
    &lt;td class="lov"&gt;
    &lt;input type="text" id="P222_LM1_ADD" value="" maxlength="2000" size="27" name="p_v99"/&gt;
    &lt;/td&gt;
    &lt;td&gt;
    &lt;a href="javascript:genList0_p_v99_()"&gt;
    &lt;img width="13" height="13" alt="Popup Lov" src="/i/list_gray.gif"/&gt;
    &lt;/a&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/tbody&gt;
    &lt;/table&gt;
    &lt;/fieldset&gt;
    &lt;/td&gt;
    &lt;td&gt;
    &lt;input type="button" onclick="appendToList(document.forms[0].p_v99.value.toUpperCase(), document.forms[0].p_v02);document.forms[0].p_v99.value=''" value="Add" name=""/&gt;
    &lt;input type="button" onclick="deleteListElement(document.forms[0].p_v02)" value="Remove" name=""/&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
    &lt;td colspan="2"&gt;
    &lt;select id="P222_LM1_LISTMGRDATA" width="225" multiple="multiple" size="10" prompt="" name="p_v02"&gt;
    &lt;option&gt;8021
    &lt;/option&gt;
    &lt;option&gt;8001
    &lt;/option&gt;
    &lt;/select&gt;
    &lt;script type="text/javascript"&gt;
    &lt;!--
    gUtil.select.clean(document.forms[0].p_v02);
    //--&gt;
    &lt;/script&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/tbody&gt;
    &lt;/table&gt;
    &lt;/fieldset&gt;Note that the popup item is p_v99 and the list item is p_v02.
    Question to the Apex developers:
    Given that the popup item does not really need to be submitted with the page, could this not use a different naming convention?
    Andy

  • Bold value from popup LOV

    Hi,
    style="font-weight:bold" or class="fielddatabold" in the element's HTML Form Element Attributes work perfectly for the text field. I cannot get the same result for field with disp.value from popup LOV (display value,return key). I can change font family for example, but cannot bold. Any suggestions ?

    Thanks a lot for your answer. I got the same idea, but cannot see any place to manage returned values on this template. Description from pop-up key LOV seems to be turned "disabled", and will get the grey colour on the screen. However, if I will change to Select list, it looks fine.

  • Compute the window's URL of a POPUP LOV item

    Hello,
    I am using Application Express 4.1.
    I want to open the popup window of a popup LOV item when I click on a button which is on the same page.
    The URL of the popup LOV window looks like:
    wwv_flow.show?p_flow_id=300&p_flow_step_id=403&p_instance=1862497391551148&p_request=NATIVE%3D0BF14BB1E17791744D35BEBACED33B707AF740A5D0F8159D03641E52D40C81C9
    I managed to build this URL but I am missing the end of it:
    wwv_flow.show?p_flow_id=&APP_ID.&p_flow_step_id=&APP_PAGE_ID.&p_instance=&APP_SESSION.&p_request=???????
    Does anyone know where this 'NATIVE%3D0BF14BB1E17791744D35BEBACED33B707AF740A5D0F8159D03641E52D40C81C9' come from? It is different every time I log into the application.
    What I am trying to do here is to have a button next to a text with autocomplete item that opens a POPUP LOV. That is why I need this URL.
    Thank you for your help.
    Nicolas

    Sorry indeed I did not write back earlier but I got bizzy inaugurating an iMac I just bought on ebay. Quite a change from my ole' Ti !!!
    Even when I try to open a recent stream and do Ctrl+U, it stays blank. I use this procedure to copy the url of streaming sequences on the web that cannot be read on QT to paste them into i.e. wmp. And that's not possible anymore. I downloaded a new version from QT, but there a cookie or something with the pro version I bought that re-installs the same flaw over & over. When I go to the register menu, the license n° is already there, and I cannot get rid of my scewed up version.
    Now about this page code thing, I can't believe one cannot choose the reader he wants ! I don't know how to work on page codes. I want to the internet plug-ins in the library & removed the qt file, but no dice, I'm condamned to use only qt in safari or firefox!
    If you have a clue, thanks for a kind reply.
    Again sorry it took me so long to answer.
    Hope to read you soon, Kirk
    Steph

  • Bugreport: Popup LOVs in jQuery mobile Smartphone Applications

    Hi APEX Team,
    I just looked at Popup LOVs for mobile, as this is a supported item type.
    Unfortunately this wasn't adapted to JQM and still has a Desktop definition.
    Somehow the created HTML isn't valid, seems there are duplicate CSS-File inherits and some unnecessary closing tags.
    Also the pagination doesn't work. When requesting the next set of rows the font switches to tiny and doesn't show any results anymore.
    Wishlist: Improve Popup LOV Templates so that developers have full control over structure of the page, the search items, buttons and result sets. Then we could adapt the template to use JQM Dialog. Having control over opening link (javascript) and choosing the result (javascript) would also be fine :-)
    thanks,
    Peter
    get Syntax Highlighting for the Application Builder: http://apex.oracle.com/pls/apex/f?p=APEX_DEVELOPER_ADDON:ABOUT:0:::::
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at and http://www.wirsindapex.at
    Fantastic Plugins for APEX: http://www.tryfoexnow.com

    Thoughts anyone?

Maybe you are looking for

  • Acrobat 8 to 9 broke macro

    My code was iterating thru a PDFs content to find certain text and make that text a variable named "title". Then when I printed the pages to AdobePDF I used "title" as the szTempTitle. It worked great printing the two pages and naming the file whatev

  • Multipart/mixed mime problems with mail

    So from what I've gathered Mail has problems with multipart/mixed mime type emails. I wrote a PHP script that sends customers their orders as a PDF attachment as well as the order processing department. If Mail doesn't support multipart/mime what is

  • Re : Error Message reported on Exporting a ProjectPlan

    Hi, The following problem is endlessly appearing when I am attempting to backup a project plan from a workspace earmarked for backup. I have tried the following. Creating a new workspace and including all the plans and theron taking an export. This a

  • Outlook Password Not Working

     Hi all, I ma having an issue with Outlook 2013. It seems that for some reason it will not recognize my Username and password for Synching folders. It works for sending and receiving messages, but when it tries to synch folders it comes back as wrong

  • CUCM Session Management Edition Configuration Example

    Hello: Can somebody help with an example of configuration of the session management edition installed in a CUCM version 9 that has to be the central for dial plans and pstn access, it has work with other CUCMs version 9 (leafs)......i will appreciate