PopUp LOV Template Modifications

Hi,
I want to show TOTAL_ROWS in the pagination of PopUp LOV Template where it shows Row(s) X - Y by default. For example, By default it shows, Row(s) 1 - 10. But I want to show Row(s) 1 - 10 of TOTAL_ROWS so that it should also show total number of fetches that Popup has.
What is the syntax for that. I am trying with keyword TOTAL_ROWS, but its not serving my purpose.
Please help me sorting out this.
Thanks & Regards,
-Ajay

Phil,
That is a limitation... Probably because there is no place where you can set what popup template you want to use. However, you could put in the pop-up onload event something like this:
if(opener.pre_pop_up_function) {opener.pre_pop_up_function(this);}
And in the onunload event:
if (opener.post_pop_up_function) {opener.post_pop_up_function(this);}
I.e. if functions with those names are defined in the calling page, they will be called; if not, nothing happens. Generic enough I think.
I havent' tested it but it may work...
Luis

Similar Messages

  • Change Popup LOV template to put more spacing between rows

    I am trying to change the popup lov template to include a bit more spacing between the rows in the result set. So instead of seeing
    Test 1
    Test 2
    I want to see
    Test 1
    Test 2
    Looking at the html produced the rows are returned from a bit of javascript (using arrays and passback) and I can't figure out where to add anything that will change the spacing ie cellspacing doesn't do anything.
    The line I am interested in is - replace ( for < and ) for >
    document.writeln("(br /)(a href=\"javascript:passBack(v[1], v2[1]);\")Test(/a)");
    If I could just add a br at the close a tag...
    Does anyone have any ideas on this. I'm not keen to code a new popup lov, I was just wanting to tweak the existing.
    many thanks

    Hello,
    " I know this style isn't directly related to the t5PopupBody as you have suggested but it doesn't seem to make a difference"Your syntax will apply the new style to every link on your pop-up window. As there is non-others then the results, in this case it will make no difference.
    " I did something slightly different so I didn't have to worry about changing the css"That is OK, as long as you remember all the changes you are making to the original templates, because after upgrading – like in the near future to version 3 – some of the changes might disappear. That is why I prefer to use my own CSS file, on top of the original one.
    Regards,
    Arie.

  • Is it possible to edit the Popup-LOV window?

    Hi,
    I changed my Selection-List into a Popup-LOV.
    1.
    Now I want to edit this Popup-Window, that it shows more than 10 rows. Is it possible to edit this window?
    2.
    My return-value is the Primary Key of the chosen dataset. This is not very user friendly. :-S ... is it possible to "display the display value" in the textbox from the popup-LOV - and when I want to save the whole form-dataset it takes the primay-key-return-value?
    I hope, somebody understand my problem.
    Thanks so much,
    Elisabeth
    Message was edited by:
    user614754

    In APEX 2.0 this does not work for the actual code of the POPUP. I want to change the code in the POPUP window that appears so it resubmits the parent page when the item is selected after the passback but had to create a custom POPUP page as I could not edit the popup code with the passback code.
    If there is a way of editting the POPUP page template (not the link from the POPUP LOV Item) then please can someone let us know?
    Thanks
    Phil
    I've started a new thread on this as it is different and there does not seem to be a solution discussed so far
    POPUP LOV template modification
    Message was edited by:
    Phil UK

  • Change Font in Popup LOV?

    Hello All,
    Apex 3.1
    I need the font size for a value returned from a Popup LOV to be much smaller. How would I modify the popup LOV template in order to change the font of the values in the LOV, or if not the LOV itself, the font size of the return item?
    Thanks!

    Hi
    Go to Shared Components > Templates > Popup List of Values
    There you will find the name of CSS which is being used with this LOV. You need to change the CSS to get the required fonts.
    Zulqarnain
    MaxApex Hosting
    http://www.maxapex.com

  • 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...

  • 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"

  • 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?

  • Change Colour of PopUp Lov

    I have the following code for a popup lov
    select a,b from
    select '1' res, htf.escape_sc(su.sukey) a, htf.escape_sc(su.sukey) b
    from udm_su su, udm_lde lde
    where su.ldeid = lde.ldeid
    and su.sukey in (select su_generic
                     from vrp_cfg_gensuconv)
    and lde.ldekey = :F140_LDEKEY
    union
    select '2' res, htf.escape_sc(su.sukey) a, htf.escape_sc(su.sukey) b
    from udm_su su, udm_lde lde
    where su.ldeid = lde.ldeid
    and su.sukey not in (select su_generic
                     from vrp_cfg_gensuconv)
    and lde.ldekey = :F140_LDEKEY
    order by res, a, bWhat I want to do is dispaly the result of the first select statement in red
    and the second in blue
    Cheers
    Gus

    Gus C wrote:
    Apex 3.2Don't have 3.2 around to experiment with. If the above doesn't work in 3.2 then I'm inclined to think that it isn't going to. Which is odd as the indications are that the restrictions were introuced in APEX 4.0:
    <li>{thread:id=1338180}
    <li>{thread:id=2126522}
    Part of the problem is that LOVs rendered as select lists (which is most common) cannot contain HTML elements ( +{thread:id=898835}+ ), but the less common Pop-up LOV renderings can.
    If this is a critical requirement, then 2 possibilities come to mind:
    1. Fairly complex modification of the Pop-up Page/LOV templates to include JavaScript/AJAX that will execute for this list, figure out how many entries need to be each colour, and iterate over the options adding the require styles.
    OR
    2. Use a report on a pop-up page rather than an LOV.
    Both look like more trouble than this is worth.

  • 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,

  • Apex 2.2 popup lov doesn't return chosen value

    Hey,
    I've built a page within one of my applications in apex 2.2 that has an item based on a Popup LOV. I have a pre-built dynamic LOV.
    When I run the page the popup icon appears and I can launch the popup. The filters work, and the result set appears. However, if I attempt to click on a value, nothing happens. The window remains opened and no value is returned to the parent window. The browser window shows no sign of javascript errors.
    I'm using Theme 11 and the standard popup template.
    I've tried this is a different workspace, using the same lov sql etc, and it works ok!
    I've tried it elsewhere in a new page within my problematic application, and the problem is replicated there too.
    What could be going wrong?
    Cheers,
    John

    Hi,
    I have to create a page , with dynamic Popup using query. I am using APEX_ITEM.POPUP_FROM_QUERY(). Dynamic popup is generated, i can able to open the popup, when i click the link of the generated records. It does not return the value.
    I feel that , it's like your error.
    could you please help me ou.t
    Thanks
    kam

  • Possible bug with popup LOVs

    Hi,
    I have created a Popup LOV (fetches first rowset and filters), the moment I open the popup and try to search for anything by hitting the "Enter Key" I m getting error "The requested URL /pls/otn/wwv_flow_utilities.gen_popup_list was not found on this server."
    Also, if I have some value in the popup box and click on the little popup icon, I am getting the same error.
    I have created a sample page http://apex.oracle.com/pls/otn/f?p=50942:21
    Thanks,
    Manish

    Manish,
    The page you saw, http://apex.oracle.com/pls/otn/f?p=50195:1 is a sort of master/detail/detail report.
    There are two hidden items on the page to keep track of the "currrent" customer and order. The links in the customer report and order report simply redirect back to the same page, setting the hidden field to the pk for the selected customer or order.
    The Customers and Orders queries are
    select decode(customer_id,
                 :P1_CUST_ID, 'CURRENT',
                 'Select') sel_label,
           customer_id,  cust_last_name||', '||cust_first_name cust_name,
           cust_street_address1||'<br>'||Cust_city||', '||
           cust_state||'  '||cust_postal_code address
      from demo_customers
      select decode(order_id,
                   :P1_ORDER_ID, 'CURRENT',
                   'Select') sel_label,
             order_timestamp, order_total, order_id
        from demo_orders
    where customer_id = :P1_CUST_IDYou can see in each of these there is a decode which compares the hidden value to current pk, if it matches it returns CURRENT, otherwise Select, this column is given an alias of SEL_LABEL. This is used as the text for the link and it is also used in the template.
    When a new current Customer is selected I have a process that will set the first order as current for that customer, it is
    declare
        cursor data_cur is
           select order_id, order_timestamp
             from demo_orders
            where customer_id = :P1_CUST_ID;
    begin
        open  data_cur;
        fetch data_cur
         into :P1_ORDER_ID, :P1_ORDER_DATE;
        close data_cur;it is conditional on
    :P1_CUST_ID is not null and
    :P1_ORDER_ID is nullThe template is a copy of the current themes alternating colors template. Most themes have a similar template. The report template can have up to 4 column templates, with or without conditions. The APEX engine will evaluate the conditions and use the first one that is true (or no condition).
    The difference in most alternating color templates is the class applied to the td tag, one data one data alt, ie. t12data and t12dataalt.
    In my example the first column template is defined as
    <td class="t12dataalt"#ALIGNMENT#>#COLUMN_VALUE#</td>with a PL/SQL based expression of
    '#SEL_LABEL#' = 'CURRENT'You can see that it references the SEL_LABEL column and looks for the value of CURRENT
    The second column template has no condition and is defined as
    <td class="t12data"#ALIGNMENT#>#COLUMN_VALUE#</td>Hope that helps
    Larry
    Don't forget to mark replies helpful or correct ;)

  • Can I specifiy initial search for Popup LOV?

    I have a popup LOV in an updateable table that works great (thanks to help from this forum!).
    When the popup LOV first opens, I would like to have a default search pre-executed since I can predict the search the user will want to see initially. The search will narrow the records down to a handful of results which the user will need to pick from.
    Is it possible to popup an LOV with a search already executed?

    Hi Albowicz,
    I tried to adapt the popup template to do this, but there's more work then I thought.
    I would have thought that if I put into "Filter Text Attributes" of Search Field a value="<your initial search>" it would have taken that, but no. APEX doesn't see I entered that and will create an empty value="" nevertheless.
    But you can still use my idea, by adapting the popup template, by using javascript in the "Page Body Attributes", where you call a function that set the field to some value ( document.forms[0].p_filter.value="Dimi";).
    Alternative you may have a look how to create a custom popup page: Re: how to create popup LOVs with multiple columns and filters ?
    Hope that helps,
    Dimitri

  • 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.

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • 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.

Maybe you are looking for

  • Stutters only in Full Screen...

    Hi, I have a strange problem with qt. Watching h.264 material that is streamed with DSS and encoded with the x264 library in mp4live (have compiled it with tweaked encoding parameters). The bandwidth is fine, the material is between 100 and 400 kbits

  • My iphone 5's top button problem

    My iphone 5's top button which i used for key lock is doesn't work. i live in İstanbul in Turkey. ı called apple store which name is Zorlu Apple center, about this buttom problem, they couldn't help me because of my iphone seen ABD. Can you help me.

  • Clients upgraded with CU3 still shown with lower version from SCCM console

    Hello, A couple of months ago, I upgraded all my clients with CU3.  As I still have about 2% of clients not shown as upgraded to CU3 when I look in the console, I started to investigate on client side. It appears those clients properly got the upgrad

  • To find whether a date is b/n a date range.

    Hi All,          I want to find  whether the system date  falls between from_date and to_date fields of a table.  Pls help me. Thank you, praveena

  • Oracle Temporary/Memory table

    Hi Friends, Can oracle provides any facility that we can create temporary table in memory? Pls provides me idea about it. - Hiren Modi