Dynamic Refresh Region with APEX 4.0

Greetings!
With APEX 4.2, when you want to refresh a region that depends on an page-item-value, there are different ways to submit that item with the dynamic action ("Page Item zu Submit"). But this is not imcorperated in APEX 4.0 yet. Is there a way to work around that? I have tought about an apex.submit({...}) call, but I am not sure, where to insert it, also that would be a.. well... submit, not ajex.
Thanks for any help,
so long,
tobi

Thanks for the hint, but its still not working. I have another item, that gets the value of the item passed to on key-up event. This works. But no refresh of the region.
My setup looks like that now:
Event: Key Release
Selection Type: Item
Item: ... an auto complete text field
Condition: is not null
True Actions:
1) Action: Execute PL/SQL Code
 Fire on Page Load, Stop exec on error
 PL/SQP Code: null;
 Page Items to Submit: ... that same autocomplete field
2) Action: Refresh
 Fires on Page Load
 Selection Type: Region
 Region: ... the report region with the where clause comparing the text field.
The identical action I created for the Get Focus Event, because that happens, when the user clicks on the dropdown list to select an item, then the text field gets focused again. Thats when I want the report to update.
Only when I hit the enter key (what I actually dont want to happen, and thats another issue) the page gets submitted. Then the report is displayed with the new selection. But I dont want the user to wait for the page reload process.

Similar Messages

  • How to create a dynamic table region with dynamic VO

    Hi All,
    I have a requirement to create a dynamic table region with a dynamic VO.
    I need this because at runtime only the user will select the table name. So based on that table name, i have to create a table region to display the records.
    I already created a dynamic VO. Could anyone share the code for dynamic table region creation.
    Thanks in Advance.
    Thanks and Regards,
    Myvizhi

    Hi All,
    I have a requirement to create a dynamic table region with a dynamic VO.
    I need this because at runtime only the user will select the table name. So based on that table name, i have to create a table region to display the records.
    I already created a dynamic VO. Could anyone share the code for dynamic table region creation.
    Thanks in Advance.
    Thanks and Regards,
    Myvizhi

  • How to create a dynamic table region with dynamic VO in processFormRequest

    Hi All,
    I have a requirement to create a dynamic table region with a dynamic VO.
    I need this because at runtime only the user will select the table name. So based on that table name, i have to create a table region to display the records.
    I already created a dynamic VO. Could anyone share the code for dynamic table region creation.
    Thanks in Advance.
    Thanks and Regards,
    Myvizhi
    Edited by: Myvizhi Selvi on May 20, 2013 6:21 PM

    Hi,
    You can use following sample code to create advance table columns dynamically with colum groups as well.
    It assumes that you have already created advance table with ID EmpTblRN.
    Below code returns column heading dynamically and if you keep your VO column names and attributes
    same in all the cases (COL1, COL2.....) then you can easily use a loop to create advance table columns.
    It is attaching VO attributes to OAMessageStyledText bean in the last.
    Hope it helps.
    OAAdvancedTableBean advTable = (OAAdvancedTableBean)webBean.findChildRecursive("EmpTblRN");
    Serializable [] param = {currentWindowSeq.toString()};
    Datum[] colHeadingArray = (Datum[])am.invokeMethod("getColumnHeading", param);
    String oldGrpName = null;
    String newGrpName = null;
    OAColumnGroupBean columnGroup = null;
    DictionaryData columnFormat = new DictionaryData();
    columnFormat.put(WIDTH_KEY, "4%");
    for (int i = 0; i < colHeadingArray.length; i++)
    try
    oracle.sql.STRUCT os = (oracle.sql.STRUCT)colHeadingArray;
    Object[] colHeadAttr = os.getAttributes();
    newGrpName = (String)colHeadAttr[0];
    if(newGrpName!=null)
    if(!newGrpName.equals(oldGrpName))
    // Create a column group, create the set the column header,
    // and add the column group under the advanced table
    columnGroup = (OAColumnGroupBean)createWebBean(pageContext, COLUMN_GROUP_BEAN, null, "ColGroup"+i);
    OASortableHeaderBean columnGroupHeader = (OASortableHeaderBean)createWebBean(pageContext, SORTABLE_HEADER_BEAN, null, "ColGroupHeader"+i);
    columnGroupHeader.setText(newGrpName);
    // Retrieve from message dictionary
    columnGroup.setColumnHeader(columnGroupHeader);
    advTable.addIndexedChild(columnGroup);
    oldGrpName = newGrpName;
    // Create a column, create the set the column header, and add the column
    // under the column group
    OAColumnBean column1 = (OAColumnBean)createWebBean(pageContext, COLUMN_BEAN, null, "Column"+i);
    OASortableHeaderBean column1Header = (OASortableHeaderBean)createWebBean(pageContext, SORTABLE_HEADER_BEAN, null, "Column1Header"+i);
    column1Header.setText(colHeadAttr[1].toString());
    column1.setColumnHeader(column1Header);
    column1.setColumnFormat(columnFormat);
    columnGroup.addIndexedChild(column1);
    // Create the actual leaf item under the first column
    OAMessageStyledTextBean leaf1 = (OAMessageStyledTextBean)createWebBean(pageContext, MESSAGE_STYLED_TEXT_BEAN, null, "Leaf"+i);
    //OARawTextBean leaf1 = (OARawTextBean)createWebBean(pageContext, RAW_TEXT_BEAN, null, "Leaf"+i);
    leaf1.setViewAttributeName("Week"+(i+1));
    String destination = "OA.jsp?page=/xxqc/oracle/apps/per/leaveadvance/webui/EmployeeLeaveDetailPG&personId={@PersonId}";
    destination = destination + "&startDate="+colHeadAttr[1].toString()+"-"+(String)colHeadAttr[0];
    destination = destination + "&addBreadCrumb=Y&retainAM=Y";
    leaf1.setDestination(destination);
    OADataBoundValueViewObject cssjob = new OADataBoundValueViewObject(leaf1,"Color"+(i+1));
    //leaf1.setAttributeValue(oracle.cabo.ui.UIConstants.STYLE_CLASS_ATTR, cssjob);
    leaf1.setAttributeValue(UIConstants.RENDERED_ATTR, cssjob);
    column1.addIndexedChild(leaf1);
    catch(Exception e)
    System.out.println("e"+e);

  • Plsql dynamic region with more than the maximum number of items

    Hi,
    I need suggestions! :)
    I have to make a page with many many items. We have a table storing the content of a SQL script, each statement is an individual row in the table. The page I'm trying to make must display each statement in an individual textbox/textarea (and two others items for different attributes).
    In a dynamic plsql region, the maximum number of items seems to be 1990, after that, a "Page not found" is launched. So, after 643 statements, I reach the limit...! :(
    A solution could be to generate "custom" textfield or textarea (htp.p('<input type=text name="stmt1" value="StmtText">');), but, is it possible to access their values when the page is submitted ?
    Second solution is to make a pagination every 600 statements, but I don't like it!
    Anything else ?
    Thank you!
    Jonathan

    Anton,
    at least to my knowledge there you will have the same limitation. Because the limitation is that the f procedure of APEX doesn't have more parameters to support more fields. It's not a limitation of the APEX Builder.
    It would only work if you assign all your items to the same name, so that they are transfered in an array, like the tabular form.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • head content & dynamic metadata with APEX?

    Most government and public sector work now mandates the inclusion of various forms of metadata located in the page header, such as [Dublin Core|http://www.ietf.org/rfc/rfc5013.txt], keywords and PICS information. Usually this information is included as name/value pairs using [&lt;meta&gt;|http://www.w3.org/TR/REC-html40/struct/global.html#h-7.4.4.2] elements.
    I wondered what techniques are being used in APEX to inject this (and other) information into the page header, when it needs to be determined dynamically from parameter values and retrieved from the database?
    In a recent Oracle Portal project this proved less straightforward than hoped. Convinced things would prove easier in APEX I've considered 3 approaches so far:
    1. If the elements are fixed for the page, the metadata elements can of course simply be typed into the page HTML Header (why doesn't Portal have this?!)
    2. With a small number of fixed elements with dynamic content, include e.g. &lt;meta name="keywords" value="&KEYWORDS." /&gt; elements in the HTML Header or page template header, and generate the substitution value using application items and computations.
    3. For a variable number of elements or other more complex scenarios, move the &lt;/head&gt; tag into the page template body ([still find the division of the page template definition baffling|http://forums.oracle.com/forums/thread.jspa?messageID=1289074&#1289074]) and put a region position placeholder (e.g. #REGION_POSITION_04#) before &lt;/head&gt;. A template-less PL/SQL Dynamic Content region can now be set at this display point to call whatever PL/SQL is necessary to inject elements using htp.meta or htp.p.
    Any other thoughts?
    Edited by: fac586 on Oct 9, 2008 9:26 PM
    Just discovered #REGION_POSITION_04# is substituted in the page definition header area. Said I found that confusing...

    I am used to do that all the time at www.spesadove.it where i generate the title, the page description, the keywords basing on the content of certain database tables. See an example here:
    http://www.spesadove.it/pls/apex/f?p=19883:10:0:::RP:P10_SALE_ID:383
    In short, i set the value of certain items in before header computations, then i retrieve the value inside meta tags by using substitution strings like &P0_KEYWORDS. or &P0_TITLE.
    Bye,
    Flavio
    http://www.oraclequirks.com

  • LOV dynamic refresh in CR2008 with BOXI3.1

    Hi,
    I'm in a confusion whether the LOV for the prompts refresh dynamically when the crystal report is opened.
    It is a universe based report. I heard, in XIR2 it is a problem and it wont behave similar to WebI.
    When i tried in CR 2008 with BOXI3.1 unvierse, it DID refreshed dynamically and the LOV was changing for every user as row level security was applied. But at times, it doesnt refresh, which puzzles me.
    Will the LOV refresh dynamically in CR2008 with BOXI3.1or it will not?
    Please confirm.Many thanks.

    Yes it refreshes the LOV from Universe. For more details please go through the following document
    [http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/20984c2b-17f1-2b10-1091-d18977f7cd8f&overridelayout=true]
    in CRXIR2 if it is not refreshing the LOV from universe we have to follow these steps
    Registry Entry Information
    Subkey: HKEY_LOCAL_MACHINESOFTWAREBusiness ObjectsSuite 11.0Crystal ReportsDatabaseAlwaysRefreshUniverseLOV
    Type: STRING
    Recognized Values: Yes, 1
    Default Value:
    Creation Method: Hot Fix Installation
    Subkey: HKEY_LOCAL_MACHINEsoftware usiness objectssuite 11.5crystal reportsdatabaseAlwaysRefreshUniverseLOV
    Type: STRING
    Recognized Values: Yes,1
    Default Value: 0
    Creation Method: Hot Fix Installation
    Known limitations:
    When this registry key is in use, it may take longer to open a universe report in Crystal Reports designer or to view a report on-demand in a Business Objects Enterprise web application. Performance is affected because the Business Objects Enterprise Web Intelligence Report Server is called when a report that is based on a universe is opened, which adds more work to the server.
    In XIR2, the "Always Refresh List of Values" check box must be selected within the report. This option is on the Query Panel of Crystal Reports, within the properties of the object in the Query Filters section for each object that uses a list. By default, the "Always Refresh List of Values" option is enabled.
    In a universe, the object being used must have the "Automatic refresh before use" property enabled. For more information, see the "Using lists of values" section in chapter five of the Designer Guide.
    HTH
    Raghavendra.G
    Edited by: Raghavendra Gadhamsetty on Nov 18, 2009 6:48 PM

  • How to use the d3.js library with Apex Charting

    Hello.
    I am using Apex 4.1.0 with Oracle 11gR2 and Oracle App Server (mod_plsql).
    I'm trying to incorporate the d3.js library (a visulaization framework) in my Apex charts but am not having much success.
    I found this article in which David Mann uses the library within an Apex 4.x application:
    http://ba6.us/d3js_application_express_basic_dynamic_action
    I replicated his exact steps in my own application but without success. I do not see how he was able to get his application to work. Indeed, the tutorial does not even use a dynamic action despite what the article title says.
    Has any one used the d3.js library with their Apex application. If so, would you be willing to share how you went about it?
    Thank you very much.
    Elie

    EEG wrote:
    Hello fac586.
    Thank you very much for responding/helping.
    In the article I referenced I did note David's statement about using a "modern" browser with d3.js (one that recognizes css3 syntax); otherwise, the framework will not respond. And so, I was careful to run my Apex application in IE9.x as well in Firefox 16.x. But all I see is an empty region with a title. No chart. Nothing.
    I suspect my one of my problems here is in getting the chart to refresh every "n" seconds. For this, I think the dynamic action would be used, though I'm not sure how to go about doing so.That's included in the sample code (line 99). Strangely Dynamic Actions don't seem to include a native timer event...however there is a plug-in.
    More problematic, though, is that I am not seeing any chart whatsoever in the region. I would have expected to see some chart data, even if it is not automagically refreshing.
    I've created my example in my EEG workspace on apex.oracle.com:
    Workspace: EEG
    Username: [email protected]
    Password: galaxy (note: all lowercase)
    Please see application 27083 called Elie_Goodies, page 25. This page has an associated tab called, appropriately enough, "d3.js Library". The Safari console showed a couple of JavaScript errors.
    1. The URL used to include the d3 code in the blog article:
    <script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script>is returning HTML, not JavaScript. Changing it to that given on the d3js.org site:
    <script src="http://d3js.org/d3.v2.js"></script>includes the correct script.
    2. There was a syntax error in a script in the Run Code region. I think there was some kind of issue arising from copying from the blog article: it looked like line endings hadn't been respected as the code wasn't formatted properly. Pasting it from the blog into Coda's editor and then into the APEX Region Source text area fixed the format, and it then ran first time.
    Thanks for the heads-up. I'll also be looking further into d3.

  • Delete row from report and refresh region

    Hi
    Using apex 4.0
    I have a requirment like on one page there are two regions.
    There are two text boxes and insert button, by setting value into text box and pressing insert button data is saved in one table.
    And second region is for report which is selecting data which was inserted in first region. It is working correctly. Now in report region,
    there should be delete link/button to delete particular row and refresh that region.
    I have created delete link in second region and called java script function to delete from table. However that region is not refreshed and showing
    old data.
    I have tried with dynamic action to refresh region. But i am not getting sequence it is treating, first java script function will be called and then
    dynamic action will be executed or what? Because dynamic action is not refreshing region.
    Please let me know correct way to implement this requirement or correct me in my steps.
    Thanks in advance

    hi om,
    I had a similar issue.
    I am using a sql query to delete.
    "delete from dbo.[@XX_TDL1] " & _
                "where LineId = " & CStr(rownum) & " and code = '" & pAddonVars.TDHCode & "'"
    It's not pretty but it works.
    jw

  • Dynamically refresh a list box in a web report

    Dear All,
    I am having a serious issue with one of my web reports. I am using Oracle 9i PL/SQL Cartridges for developing my web reports. The problem is :
    I have a drop down box for department and also a list box for locations.
    I want to dynamically refresh the locations list box whenever the user selects a department.
    I know I have to refresh the page somehow to get the list box requery from the database.
    Can anyone please send me a sample code or suggest how to do it. I am new to PL/SQL cartridges.
    Thank You

    hello,
    althought his is not a PL/SQL cartridge forum i'll give it a shot.
    the basic behind the solution would be that your procedure need input values that would be used to create this cascading effect. so you would have e.g. input values for region and country for a form that should provide selection fro region country and city.
    when the procedure is called for the first time without any parameters, it would generate a drop down list for the first (region) parameter. when the user selects a value javascript would kick in that would submit the form that basically calls itself, but this time passing the value for the region parameter.
    now the procedure would create two drop down lists (region and country) because it had a value passed for region. both drop down lists would have a javaScript event that would submit the form. the only difference would be that the region list would need to clear the value of the country value before submitting so changing the region would produce a new country list.
    i hope that was clear enough. as for the code example. that is simple javaScript and you can find tons of examples on the Web. just look for "JavaScript" and "OnChange".
    regards,
    philipp

  • Issue with Apex and IE , losing data for items on submit

    Hi All,
    I am facing one problem in APEX when i run my page on IE 8. When i submit the page i lose the data for all my items while the same does not happen on Firefox mozila and Google chorme.
    Actually i have one select list which has one dynamic action associated with it when i select the options from this list other object become enable and disable with that action and page get submit.
    but when i select this list in IE page get submit and my value which i selected also get lost.
    Please let me know if this is some issue with IE or Apex as soon as possible.
    This is bit urgent.
    Thanks

    Modify your code as below and run the page in debug mode and note the value shown for p610_x DECLARE
    l_vc_arr2 APEX_APPLICATION_GLOBAL.VC_ARR2;
    BEGIN
    wwv_flow.debug('value for p610_x is ' || :p610_x);
    l_vc_arr2 := APEX_UTIL.STRING_TO_TABLE(:P610_X,'~');
    FOR z IN 1..l_vc_arr2.count LOOP
    htp.p(l_vc_arr2(z) || '
    END LOOP;
    END;varad

  • Apex 4.2.2 PDF Printing with Apex 2.0 Listener

    We recently installed Apex 4.2 with the Apex 2.0 Listener and can successfully print interactive reports and classic reports to PDF.  I viewed Mark Sewtz PDF Printing with Apex 4.2.2 and saw how he is using third party tools to format reports.  We have also looked into the Jasper Report Integration Toolkit, but have only got it working on the Tomcat environment, not WebLogic.
    I'm trying to download a classic report in PDF format with our logo displayed at the header.  In the print attributes section, there is a section for header.  I've tried adding the following in the header section:
    <img src = "http://hr.unm.edu/common/images/unm_dept_logo.gif">
    No Logo Prints
    #APP_IMAGES#unm_dept_logo.gif
    Prints in header:
    wwv_flow_file_mgr.get_file?
    p_security_group_id=3930016164431413%26p_flow_id=106%26p_fname=unm_dept_logo.gif
    #WORKSPACE_IMAGES#unm_dept_logo.gif
    Prints in header: /i/unm_dept_logo.gif
    I've also added the logo in the report region, prior to the columns printing, but no logo downloads to PDF.
    Does the Apex Listener only render text?  Is there any way to get the logo to print in the header without using a third party tool?  Any suggestions are greatly appreciated.  Thanks!

    Hi,
    There are different options to include images in your PDF exports. What's important to understand though is that with the PDF export functionality we separate the formatting from the actual data. So the formatting is defined in your RTF or XSL-FO templates and the data is stored in the XML that APEX generates based on your report data. We have several formatting options exposed on the print attributes pages, i.e. you can define page formatting, dimensions, fonts, colors, etc - all of these are applied to what we call generic XSL-FO templates. Those templates are generic in that they can be used with different reports, having variable numbers of columns and variable column names. Those formatting attributes can not be used however with named column templates, such as those that you generate with BI Publisher or those third-party tools I talked about in my Blog.
    So if you want to use these formatting options, you need a generic report layout - which you get out of the box using the built-in layout. But you also have the option to create your own generic report layout (see Shared Components -> Report Layouts). When creating a custom generic report layout, you'll get a copy of the built-in layout as a starting point. Once created, you can manually modify this layout to meet your needs. As you edit this template, you'll find a number of #....# substitution strings. This is what APEX uses at runtime to fill in your formatting values as well as to assemble your generic layout based on your result set.
    Now one way to include your own image would be to add an image reference to this generic report layout. You can't use the page header or footer attributes on the print attributes page for that because the FOP rendering engine does not understand or translate HTML. It renders XSL-FO. So to add your own image reference, you need to use XSL-FO mark-up. If you want to add an image to your page header, look for the #PAGE_HEADER# substitution string in the "Page Template" attribute of your generic report layout. You should be able to find the following:
    <fo:inline xsl:use-attribute-sets="page-header">
        #PAGE_HEADER#
    </fo:inline>
    Now assuming you have a file stored in your local images directory on localhost, you could add the following external graphic reference:
    <fo:inline xsl:use-attribute-sets="page-header">
        <fo:external-graphic src="http://localhost:8080/i/cloud.gif" content-height="scale-to-fit" height="30px"  content-width="150px" scaling="non-uniform"/>
        #PAGE_HEADER#
    </fo:inline>
    Once you're done with your chanages, save the report layout and edit your report. Go to the print attributes and select your generic report layout and then run your report page and export the PDF. Provided the APEX Listener is able to find this external image reference, it will now be included above your report in your PDF document.
    Regards,
    Marc

  • A region with borders only no title or title bar

    Hello Expert,
    I am trying to create just a border around the region, In essence a region with just border and no title or title bar. There is no simple approach available for this option. Can anybody shed some light on this matter.
    APEX Version : 4.1.0.00.32
    Theme : Builder Blue 2 (I guess it is theme 2 in the APEX)
    I tried various option utilizing border-less region template, report region, report region without title, No Template etc. along with following CSS style code, which I added into header section of the Page.
    This option creates border on top of the region elements but do not cover the region elements like items, that also only in template with no button or titles
    <style type="text/css">
    #CRR {border-style:solid; -- CRR is a static ID for the region
    border-width:1px;}
    </style>
    I also tried creating a template with new region and removed the title class and button class, which created a region without border but there is no line on the top only on the sides, which looked so weird. I am not sure what is the right solution, but a solution with new region template which only creates border and no title and title bar is good.
    Kindly please let me know an approach if anybody is aware.
    Thanks,
    CP

    Hi,
    That is certainly helpful as it does create the border, however the border is created for two regions.
    I have total four regions. At the top is breadcrumb region, below that is Report region displaying basic details. The third region is a list region waith navigation tab only and it is borderless region. The fourth regions has all the form items for which I wan the border only. With your suggestion, I am able get the border but it is now covering both region 3 and 4. I just want only on 4th region. The foruth region template I modified to "Region without button and titles" the way you suggested.
    The Region 3 and Region 4 has same class .bl-body, hjowever I didn't put any static id to region 3. I tried with naming the static id in region 3 with different name, but that didn't change anything.
    Ideally I would prefer a new region template so I can use it for multiple pages.
    Here is what I did,
    Opened shared components in the application, selected templates link. Copied a specific template (Report Region) as a new template and in the definition where there is a code, I removed few lines of code. which is follwowing
    Removed Code
    <div class="rc-blue-top"><div class="rc-blue-top-r">
    <div class="rc-title">#TITLE#</div>
    <div class="rc-buttons">#CLOSE##PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</div>
    </div></div>
    this removed the title and those buttons, but the border was only to left , right and bottom and there was gray backgroud.
    Full Code
    <div class="rounded-corner-region" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>
    <div class="rc-blue-top"><div class="rc-blue-top-r">
    <div class="rc-title">#TITLE#</div>
    <!-- <div class="rc-buttons">#CLOSE##PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</div>
    </div></div>
    <div class="rc-body"><div class="rc-body-r"><div class="rc-content-main">#BODY#</div></div></div>
    <div class="rc-bottom"><div class="rc-bottom-r"></div></div>
    </div>
    Thanks for the previous input.
    Further help is highly appreciated.
    Thanks,
    --CP                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Dynamic select list with one static 'not_listed" option

    Hi guys,
    I want to create a dynamic select list with one static 'not_listed' option.
    One possible alternative is to add the 'not_listed' record into database, but I really dont want to go that way unless there is no other way around.
    Can anyone shed some lights on this?
    Many thanks,
    William

    As usual : "It depends"...
    If you have a foreign key defined on that field, Scott's reply won't work - unless you define '0 - Not listed' in the database. You can use selec 'not listed' d, to_number(null) r from dual though...
    Another - more declarative way - is in the on 'Edit Page Item' page, in the 'List of Values' region set 'Display Null' to 'Yes' and 'Null Display Value' to ' - Not listed - '.
    Roel

  • Dynamic select list with displaying a description

    Hi,
    I want to have a select List, my list refer to a lov, and the lov refer to a table contaning 2 columns : code and description,
    The list must display only the code, but I want having an item beside the list dispaling the description....
    I have used a select list with the query :
    select code d, code r from prog_theme order by 1 desc
    and Now : what is the way for displaying the description
    Thanks!!
    Lila

    Ok, here goes the top down approach...
    In the HTML header of my page, i have this reference to a js file containing the javascript - <script src="#WORKSPACE_IMAGES#108.js" type="text/javascript"></script>
    Then in an HTML Region I have the following code to create the divs that will be shown and hidden - <div id="divREGION" class="divs">Select region to get list of countries.</div>
    <div id="divCOUNTRY" class="divs">Select country to get list of cities.</div>
    <div id="divCITY" class="divs">Select city and then press "Get Employees". </div>
    Note that these divs contain static content. You may be able to create dynamic content for these divs by creating dynamic query regions and putting div tags around the region (i havent tried this, it may require template modification).
    The select boxes have this code in the "HTML form elements attributes" - onFocus="javascript:showHideDiv(this,true)" onBlur="javascript:showHideDiv(this,false)"
    This onFocus and onBlur call the showHideDiv() function, passing in the object reference of the select box and a true/false to show/hide the related div.
    The actual javascript function that is contained in the 108.js file is:
    function showHideDiv(objThis, inBool){
         var divid = "div" + objThis.id.substring(3);
         if (inBool) {
         ShowDiv(divid);
         else {
    HideDiv(divid);
    That function in turn calls either the ShowDiv() or HideDiv() functions, depending on the true or false, passing in the ID of the div to be changed...
    function ShowDiv(divid){
         eval('document.all'+ '["' + divid + '"]' + '.style' +'.display = "inline"');
    function HideDiv(divid){
         eval('document.all'+ '["' + divid + '"]' + '.style' +'.display = "none"');
    Hope this helps.

  • URGENT: Extend EBS with APEX (new Tab Menu = Function/ html call to APEX)

    Hello everyone,
    we are trying to extend EBS with APEX applications:
    - Created function XX with type = JSP (HTML Call = GWY.jsp?targetAppType=APEX&p=100:1)
    If we add/ call this function on a standard EBS main menu, it works fine and calls the APEX page with the correct URL (configured on system profile "FND: APEX URL").
    But we want to add these APEX functionality on a Level 2 Tab Page / EBS Subtab menu (Menu type = "HTML Sub Tab").
    Is it possible to add the APEX page to this level?
    I mean, add APEX page on a "frame" associated to the new EBS subtab menu (like a "region" on the EBS page) ?
    Thanks in advance for any help or support.
    AG.
    Edited by: user8194796 on 16/Fev/2012 1:52
    Edited by: user8194796 on 16/Fev/2012 1:54

    Hi;
    please check below thread and note and compare it wiht your steps
    How to install APEX  in R12 Environment
    Regard
    Helios

Maybe you are looking for

  • ITunes store does not show in iTunes

    I just reinstalled a fresh version of iTunes (V10.5.3.3) on my PC (XP, SP3). The program starts OK, but clicking on 'iTunes Store' at the left, leaves me with an empty window at the right part. No menu at the top (Music, Films, App Store, etc) and no

  • Displaying a data error when NOT in use...

    So the phone is in my pocket and as I'm listening to some MP3s this error pops up. It happens randomly and usually when the phone is in my pocket. So if I'm in a meeting and it vibrates... I'm inclined to pick it up and see if it's a text or somethin

  • How to ignore DOCTYPE when parsing xml java?

    Hello i am trying to parse some sml files that have: <!DOCTYPE ModuleRoot SYSTEM "C:\xxx\xmlapp.dtd"> i don;t have the dtd file how can i ignore it by changing my code and not changing the xml file. DocumentBuilderFactory documentBuilderFactory = Doc

  • Stop loading of swf which is still in progress

    Hi all, I have three buttons (_a, _b, _c) which uses a similar instance of contentSWF.as class to load a SWF(content1..swf, content2..swf, content3..swf). using loader class Now when i press the first button, in the contentSWF.as the following code t

  • How do I run scripts in Acrobat.

    This is simple I know but my only experience is with Indesign and there is an SDK and a pallette that the user selects from. I am not sure if acrobat shares any similarities. Any help or direction would be appreciated.