Appeal procedure for a page element

Hi friends,

I have a page element and I need to return a value for the page element by using the procedure. For this I created a procedure
create or replace procedure xx_test_proc7(a number,b out varchar2) 
as
begin
select sum(sal) into b from scott.emp where deptno=a;
end;
And called this procedure as the below in the section by default, by specifying the type as 'the plsql function body '.
declare
x varchar2(20);
begin
xx_test_proc7(20,x);------>20------>hardcoded
dbms_output.put_line(x);
end;
But this element does not receive the value of the procedure.

What is the problem with her friends.

Brgds,
Mini

Hello

Your code should be based, so try

declare
x varchar2(20);
begin
xx_test_proc7(20,x);------>20------>hardcoded
RETURN x;
end;

Kind regards
Jari

Tags: Database

Similar Questions

  • Result passage of PL/SQL code for the page element

    Hello

    I have created a process in after the header to fill data to the page of the form elements.  The pl/sql code is like bellows.  Then I got the error message:

    ORA-06502: PL/SQL: digital or value error: character number conversion

    My question is that I do not see the difference in format between the page element and block pl/sql variables (e.g. : P31_STUDY_ID vs v_P31_STUDY_ID), they are either numeric or text field (in fact I have hidden field, but don't see conversion back to the digital field solved the problem).  And don't see needs to set the format mask.  Is there another way to detect the column that causes the problem, or if there is a syntax error with my assignment (from the variable element on the page)?  Thank you very much!

    ============================

    Declare

    number of v_P31_STUDY_ID;

    number of v_P31_STUDY_SITE_ID;

    v_P31_STUDY_SITE_NAME VARCHAR2 (255);

    v_P31_STUDY_SITE_NUM varchar2 (10);

    number of v_P31_STUDY_SITE_NAME_NUM_ID;

    number of v_P31_STUDY_SITE_OPEN_STATUS;

    v_p31_comments VARCHAR2 (255);

    Start

    Select

    tbl_study_site.study_id,

    tbl_study_site.study_site_id,

    study_site_name,

    study_site_num,

    STUDY_SITE_NAME_NUM_ID,

    STUDY_SITE_OPEN_STATUS,

    Comments

    in

    v_P31_STUDY_ID,

    v_P31_STUDY_SITE_ID,

    v_P31_STUDY_SITE_NAME,

    v_P31_STUDY_SITE_NUM,

    v_P31_STUDY_SITE_NAME_NUM_ID,

    v_P31_STUDY_SITE_OPEN_STATUS,

    v_p31_comments

    of tbl_study_site, tbl_study_site_attrib

    where tbl_study_site.study_id =: p30_study_name

    and tbl_study_site.study_site_id = tbl_study_site_attrib. STUDY_SITE_ID

    and tbl_study_site_attrib. STUDY_SITE_ATTRIB_ID =: P31_STUDY_SITE_ATTRIB_ID;

    : P31_STUDY_ID: = v_P31_STUDY_ID;

    : P31_STUDY_SITE_ID: = v_P31_STUDY_SITE_ID;

    : P31_STUDY_SITE_NAME: = v_P31_STUDY_SITE_NAME;

    : P31_STUDY_SITE_NUM: = v_P31_STUDY_SITE_NUM;

    : P31_STUDY_SITE_NAME_NUM_ID: = v_P31_STUDY_SITE_NAME_NUM_ID;

    : P31_STUDY_SITE_OPEN_STATUS: = v_P31_STUDY_SITE_OPEN_STATUS;

    : P31_COMMENTS: = v_p31_comments;

    end;

    =============================

    Identify the root cause. He's always on the format of the column, there is an error.  Thanks for your help.

  • Search MediaLocation for a page element

    Hello

    I am writing a plugin InDesign that needs to ask the MediaLocation for any movie on a page.

    I found 2 ways: first by selecting the page element and access the location through IMediaSuite:

    IActiveContext * iActiveContext = GetExecutionContextSession()-> GetActiveContext ();

    ISelectionManager * iSelectionManager = iActiveContext-> GetContextSelection();

    Ms. InterfacePtr < IMediaSuite > (iSelectionManager, UseDefaultIID());

    If {(ms)

    MediaLocation loc;

    MS-> GetMediaLocation (loc);

    }

    However, ideally, I do not have first select the page element.

    The second way, I found avoids having to select, but does not work for movies remotely because they have no link:

    LinkUID UID is Utils < ILinkUtils > ()-> FindLink (item);.

    LinkManager InterfacePtr < ILinkManager > (db, db-> GetRootUID(), UseDefaultIID());

    ILink * link = linkManager-> QueryLinkByUID (linkUID);

    InterfacePtr < const ILinkObject > linkObj (: GetDataBase (link), link-> GetObject (), UseDefaultIID ());

    InterfacePtr < const IMediaInfo > mediaInfo ((IMediaInfo*) linkObj-> QueryLinkedObject (IID_IMEDIAINFO));

    InterfacePtr < const IMediaContent > mediaContent (mediaInfo, UseDefaultIID ());

    MediaLocation loc = mediaContent-> GetLocation();

    Is there a way I can get the MediaLocation for movies the and remote, without having first to select the page element?

    Thank you

    Liz

    Hi Liz

    You need not search for the link to access IMediaContent. Access you IMediaContent of page elements that are:
    -kMediaPageItemBoss

    -kMoviePageItemBoss

    -kSoundPageItemBoss

    So if you have a UIDRef to the graphics framework (kSplineItemBoss), you must use IHierarchy interface to obtain the correct page.

    You can check if this is the right page using

    Utils()-> IsMediaItem (kMoviePageItemBoss, yourUID, youDB)

    And then

    InterfacePtr mediaContent (youDB, yourUID, UseDefaultIID());

    MediaLocation loc is mediaContent-> GetLocation();.

    PMString theStr = loc. writing;

    MediaLocation, you can get the information if it's remote URL or local file

    Concerning

    Bartek

  • Unique name for a page element validation.

    Hello. I have 2 items on the page: P2_DNAME and P2_LOCATION. Both are text fields. What I want to do, is that I need to create a validation. The P2_DNAME field must be unique. When entered a value in this field, he must check with the DEPT table and make sure there unique name.

    To achieve this, I created a name Unique service name validation. Who checks with the query "select 1 of the Department where dname =: P2_DNAME' and throws an error message." This validation is also executed when the user clicks the submit button. But I want that it will be executed when the user moves to the next field.


    My validation also does not work. I reproduced it in oracle apex.com

    WORKSPACE: XXKIRAN

    USER name: kiran28. [email protected]

    PWD:kiran123

    App.No:94949

    Page no.: 2


    Can someone please review and tell me what I'm missing?

    Hello

    Please, take this as a guideline how do it, not as a solution. You can for example create another 'helper' and return the result of your posting in routine (instead of the actual input box), and then you can create appropriate dynamic actions that handle the change event of the article that you return your result of validation. To be more precise...

    Create an element of P1_DEPT_VALIDATION_RESULT, in your PL/SQL code, assign a value to it according to the DEPT_COUNT as

    if dept_count = 0 then
         :p1_dept_validation_result := 'valid';
    else
         :p1_dept_validation_result := 'invalid';
    end if;
    

    and add this in the field "Article (s) to return". Then manage its change event (just change event cannot be removed, so don't forget to switch the button to "Suppress the event" non).

    Pavel

  • How to set a default value for a page element

    I work with an array of facilities that has the name and the address. The user can add information to the contact person on a separate page. Because the address of the establishment and his contact is generally the same, I want to add a default value to the contact address. The installation page is on 201 and the link to add a new line of contact is on page 202. I showed in the default value: P201_street to the address of the contact. But, when I run the page, contact the address field shows the: P201_street, not the address of the actual plant. Do I leave? Must be something obvious?
    Thank you very much.
    Judy

    Hello

    Use: P202_STREET1 for PL/SQL expression, or just P202_STREET1 if you use the value of the item condition.

    See you soon

    Ben

  • How to hide post text of item in page element

    Hi friends,

    I have a page titled Justification in which under the element text of this article post I give as
    <br><div style="color:blue" font size="1">(240 char max)</font></div>
    Inorder to view a note behind the element.

    But the element of justification page must don't come until after checking the page of another element called reason (which is an option button). So for this I wrote a DA(hide/show) for display of the justification of the point of the page only when the page right element is checked.

    But the problem is that the text of element position within this element of page Justification does not hide with this element (in the DA).


    How can I hide the text of item post in the justification for page element. so I can see this text when the reason page element box is checked as well as the justification for a page element.

    Brgds,
    Mini

    Hey Mini,

    I just write bad :/

    The function is $x_Hide () not $p_Hide ();

    Thnx

  • [AS] Cannot remove a Page element

    I'm confused as to how to remove a page element. It is a jpeg embedded in a document of AI, I can remove it by selecting and executing a simple script like this:

    Tell application "Adobe Illustrator"

    say active document

    delete selection

    end tell

    tell the end

    However, if I try to find and delete as part of a larger script, it won't clear. No error is thrown and everything else in the script works, but the item not be deleted. Here's a piece of the script that I had hoped to find and remove the element. Note that the script can find the item very well because I am able to copy its position property and it allows to place another point in that I paste.

    the value question for each page element of the document 1

    Repeat with e from 1 to the number of question

    put pourla to the point e of question

    If width of pourla = 26 may

    on theBounds position of pourla

    delete pourla

                        paste

    Paster point value 1 of the selection

    theBounds the value position of Paster

                   end if

    end repeat

    Any ideas would be a great help. Thank you.

    You might have better luck looking for elements of running through all the elements of the page if you want to remove is always an embedded JPEG images.

    This is an example

    Tell application "Adobe Illustrator"
    the docRef active document value
    Define rasters (each point on the page of the docRef) whose class is the point of frame
    Remove rasters
    Close docRef save Yes
    tell the end

  • APEX 5 - missing values in link for the PAGE that is modal if it has used some PAGE ELEMENTS in the VALUE of the

    Hi Experts,

    There is a problem in the APEX when I open a modal page-> submit modal page and refresh parent region (report one).

    When I first open a report from the region and click the modal page, everything is ok:

    Modal page values are defined in the sense of link that open to it.

    Submit after modal page by button (there is a process of dialogue), the dialog box is closed. On the parent page, there is a DA - dialogue close report parent refresh.

    After update - waiting indicator is indicated - all the element referenced in the link to open modal values are defined as empty values.

    Is there a problem in the links when I use it it set the values of the elements of the page? (not report items)

    I reproduced the problem on apex.oracle.com:

    https://Apex.Oracle.com/pls/Apex/f?p=16502:9

    user/pass: demo/demo

    "Just check the link in 1 region report-#OPEN_MODAL" report item. You can check the link with the appropriate values.

    After opening modal, simply click on the button. Dialog box is closed and updated in the region. Check the link again. Link is not valid because the values are empty. (screenshots above)

    concerning

    J

    Hi Jozef,

    the values of your page P9_NEW1 - P9_NEW5 items are not in persistent session state, they are only available in memory at the time when the page is rendered. Every time when you want to refer to an element in your report, and no matter if it is in the report SQL statement or as a substitution in a link, it must present the server as part of the "Refresh" / AJAX call so that the server can initialize this session state and you are able to reference it. You can do this by setting "Page elements must send" your report. In your case, you must set it to P9_NEW1, P9_NEW2, P9_NEW3, P9_NEW4, P9_NEW5. See the example updated, you provided.

    Concerning

    Patrick

  • Complete the URL for popupURL of a table/Page element?

    Hi all
    Someone please tell me if the URL to run a report BEEP can be filled with a table/page element when using popupURL and if so, how?

    Background:
    I have a Table called TBL_LETTERS with a column varchar2 REPORT_URL
    I have a Page (Pg 303) that fills a Page of text element (P303_REPORT_URL) with a URL string appropriate to the table.

    Here's my problem:
    I would like to replace my function javascript to work (see below):

    Run myLetter_40()
    {
    popupURL ("& BI_URL. Guest/DEV/TEST/FRM_40/MM_40/MM_40.xdo?_xpf= & _xpt = 1 & P_CASE_ID = & P303_CASE_ID. & P_PERSON_ID = & P303_PERSON_ID. & _xt = MM_40_xf = rich text ');
    }

    with something like:

    Run myLetter_40()
    {
    popupURL ($x("P303_REPORT_URL").value);
    }

    .. .but it does not work.

    With my knowledge of limited javascript, I can only imagine that the variables with success a value in my first example of assigned function do not succeed to my second, I'm probably just passing through all this as a simple string (like this: + & BI_URL.) Guest/DEV/TEST/FRM_40/MM_40/MM_40.xdo?_xpf= & _xpt = 1 & P_CASE_ID = & P303_CASE_ID. & P_PERSON_ID = & _xt = MM_40_xf & P303_PERSON_ID = rtf +), but would appreciate very much all the advice.

    What I need to
    a. create the string of REPORT_URL differently in the table so that when it is passed to the Page element it includes the required variable data?
    b. something completely different?
    c. the forget, it is not possible!

    PS. I use Apex 3.2.1
    Thank you in advance.
    Sue

    Published by: smp245 on August 21, 2012 14:19

    Hi Sue,

    you could build the url with javascript like this:

       popupURL('&BI_URL.Guest/DEV/TEST/FRM_40/MM_40/MM_40.xdo?_xpf=&_xpt=1&P_CASE_ID=' + $v('P303_CASE_ID') + '&P_PERSON_ID=' + $v('P303_PERSON_ID') + '&_xt=MM_40_xf=rtf');
    

    the javascript $v function belongs to the Apex javascript library and gets the value of an element of HTML page.

    Kind regards
    Erik-jan

  • Disable the entry on the loading of the page according to the level of page element

    Hi all

    I am trying to set the disabled property of an HTML input button when loading a page APEX. This can be achieved easily using getElementById and setting the * "off" * property in the body onLoad event.

    However, I need to keep the State of the button is disabled if the page is updated by the user or a mailing. I kept that State in a page element, however the + $x (PAGE_ITEM_NAME) + in the event onLoad of body does not return me the value stored in the page element. Calling the same code using an onClick of a dummy button me returns.

    1. What is the appropriate way to get the value of page_item during the loading of a page?

    2. If it is not possible to do it on a page load, is there a way to set the State of an entry button html to the disabled using a process page for example?

    Thanks heaps
    Raihaan

    Raihaan salvation,

    Let's make it a little different, that this approach gets you into trouble.

    Create an application process, called "GETLOCK" (components shared > procedures > Create), make sure that the "point" is set to "onDemand". Paste in the following source:

    DECLARE
      result NUMBER;
    
    BEGIN
      FOR c IN (select count(flag) lock_status from c_locking where rownum = 1) LOOP
        result := c.lock_status;
      END LOOP;
    
      HTP.P(result);
    
    END;
    

    Then, return to your page, to go to the definition of the page, paste the following code in the HTML header:

    
    

    Change Button_1 and Button_2 for button names accordingly (make sure that it is the 'id' attribute).

    Then, paste the javascript code in Page "footer text:

    
    

    What just you did, is to create an application process, which is called by an AJAX call in the header of javascript, that is triggered by the javascript code in the page footer.

    I think you already have your DML supported, with the shipment of your buttons. Now, everytime the page loads, it checks which button to turn off.

    It will be useful,
    Greetings,
    Rutger

  • Now I have firefox at the top of my screen, then file, edit etc, then Home tab and then back, to the front, my bookmarks and then a small space underneath for my pages... If he gat all smallet that resemble my iPhone!

    Now, I have firefox at the top of my screen, then file, edit etc, then welcome tab, then back, forward, then my bookmarks, and then a small space underneath for my pages... If you find any smalliet that it will look like my iPhone! ... I can get red of some or move them?

    Hello

    Please see customization. You can hide/show elements via View (Alt + V) > toolbars.

  • Mac keeps crashing "no directory for the bundleID element: com.apple.cloudd.

    My mac mini crashes several times a day.  I have collected several Console logs when the accident took place (see below for more details).  It seems that the problem is:

    "No directory for the bundleID element: com.apple.cloudd.

    I'd like to find out program that is causing the computer down (full machine reboots)?  How can I solve this problem?

    A few details...

    = Presentation of the material =.

    Model name: Mini Mac

    Model identifier: Macmini7, 1

    Processor name: Intel Core i5

    Processor speed: 2.6 GHz

    Number of processors: 1

    Total number of cores: 2

    (By heart) L2 Cache: 256 KB

    L3 Cache: 3 MB

    Memory: 8 GB

    Boot ROM version: MM71.0220.B03

    Version of the SCM (System): 2.24f32

    Serial number (System): C07NT9MAG1HW

    Material UUID: FDCB795C-A2BF-5D6D-94F3-F98871A90B89

    = NEWSPAPERS FOR EXAMPLE 1 =.

    Crash at 07:22 (screen displayed this time on the clock at the time of the accident)

    30/11/15 7:16:03.742 PM DashlanePluginService [29307]: iextension: here?

    7:19:40.671 30/11/15 PM firefox [21134]: set intl.ime.nstextinput.enable to true in: config to the difficulty of entry.

    30/11/15 com.apple.WebKit.WebContent [22900 7:20:37.499 PM]: ignoring controlTimebase defined by customer, because AVSampleBufferDisplayLayer has been added to a Synchronizer

    30/11/15 com.apple.WebKit.WebContent [22900 7:20:45.263 PM]: ignoring controlTimebase defined by customer, because AVSampleBufferDisplayLayer has been added to a Synchronizer

    7:20:55.956 30/11/15 PM firefox [21134]: set intl.ime.nstextinput.enable to true in: config to the difficulty of entry.

    30/11/15 7:25:11.064 PM distnoted [271]: time absolute # distnote proxy server: time civil 102.815157338: Mon Nov 30 19:25:11 2015 pid: 271 uid: 504 root: no

    30/11/15 7:25:12.403 PM nsurlsessiond [281]: no directory for the bundleID element: com.apple.cloudd

    30/11/15 7:25:13.712 PM ReportPanic [280]: unable to connect (panicHeaderLabel) out of (ReportPanicAppDelegate) (NSTextField): missing setter or instance variable

    30/11/15 7:25:13.712 PM ReportPanic [280]: unable to connect (panicMessageLabel) out of (ReportPanicAppDelegate) (NSTextField): missing setter or instance variable

    30/11/15 7:25:13.712 PM ReportPanic [280]: unable to connect (reportButton) out of (ReportPanicAppDelegate) (NSButton): missing setter or instance variable

    30/11/15 7:25:13.715 PM ReportPanic [280]: ReportPanic cannot stat /Library/Logs/DiagnosticReports/Kernel_2015-11-24-214348_kelley2015s-Mac-mini.p anic

    30/11/15 7:25:14.324 PM pboard [292]: try to break the link previous memory shared when starting returned an error.  Continue...

    = NEWSPAPERS FOR EXAMPLE, 2 =.

    Crash at 08:55 (screen displayed this time on the clock at the time of the accident)

    8:54:09.088 26 11 15 PM QuickLookSatellite [4488]: could not get the extension of sandbox for path=/Users/family/Library/Caches/com.apple.quicklook.satellite. Errno:1

    8:54:09.088 26 11 15 PM QuickLookSatellite [4488]: could not get the extension of sandbox for path=/Users/family/Library/Caches/com.apple.quicklook.satellite. Errno:1

    8:55:10.785 26/11/15 PM firefox [326]: set intl.ime.nstextinput.enable to true in: config to the difficulty of entry.

    8:57:58.043 26 11 15 PM distnoted [266]: time absolute # distnotete proxy server: time civil 114.108837760: Thu Nov 26 20:57:58 2015 pid: 266 uid: 504 root: no

    8:58:04.336 26 11 15 PM ReportPanic [271]: unable to connect (panicHeaderLabel) out of (ReportPanicAppDelegate) (NSTextField): missing setter or instance variable

    8:58:04.336 26 11 15 PM ReportPanic [271]: unable to connect (panicMessageLabel) out of (ReportPanicAppDelegate) (NSTextField): missing setter or instance variable

    8:58:04.336 26 11 15 PM ReportPanic [271]: unable to connect (reportButton) out of (ReportPanicAppDelegate) (NSButton): missing setter or instance variable

    8:58:04.421 26 11 15 PM ReportPanic [271]: ReportPanic cannot stat /Library/Logs/DiagnosticReports/Kernel_2015-11-24-214348_kelley2015s-Mac-mini.p anic

    8:58:04.426 26 11 15 PM nsurlsessiond [272]: no directory for the bundleID element: com.apple.cloudd

    These must be run as administrator. If you have only one user account, you are the administrator.

    Run the Console application in one of the following ways:

    ☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).

    ☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    In the Console window, select

    DIAGNOSIS AND diagnostic USE information reports ▹ System

    (not diagnose them and use Messages) in the list of logs on the left. If you don't see this list, select

    List of newspapers seen ▹ display

    in the menu bar.

    There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points downwards. You will see a list of reports. A report of panic has a name that begins with "Kernel" and ends with ".panic." Select the most recent. The content of the report is displayed at right. Allows you to copy and paste to validate all of the content, text, not a screenshot.

    If you don't see any report, but you know, there was a panic, you have chosen diagnostic and using the list of Log Messages. INFORMATION on the USE of DIAGNOSTIC AND choose instead.

    In the interest of privacy, I suggest that, before posting, you change the UUID ' anonymous, ' a long string of letters, numbers and dashes in the header of the report, if it is present (it cannot be). "

    Please do not post other types of diagnostic report.

    I know that the report is long, perhaps several hundred lines. Please report all this anyway.

    When you post the report, an error message may appear on the web page: "you have included content in your post that is not allowed", or "the message contains invalid characters." It's a bug in the forum software. Thanks for posting the text on Pastebin, then post here a link to the page you created.

    If you have an account on Pastebin, please do not select private in exposure menu to paste on the page, because no one else that you will be able to see it.

  • Set the value of the page elements using apex.submit

    Hey,.

    Does anyone have an idea how to set the value of several page elements using apex.submit?

    Here is my request, she works for this element of the page, but I want to first the value of the other elements of the page (i.e. P30_SHOW_REF) as well.

    select s.nr as NRR, 
    '<input type="button" value="clickme2" onclick="document.getElementById(''BUTTONS'').style.display = ''block'';apex.submit({request:''SET'',set:{''P30_KLT_NR'':'||s.nr||'});"/>' Button 
    from klant s
    

    Thanks in advance!

    Hi Julijan,

    Here is the example:

    apex.submit({
      request:"DELETE",
      set:{"P1_DEPTNO":10, "P1_EMPNO":5433});
    

    Concerning

    J

  • Apex 5, call a modal page, set page elements, in values referenced title page elements are not the same (correct) than the item itself

    Hello

    Apex 5.

    IR (departments) on page 2 I want to open a modal page 3 (classic report) with the detail data (from emp) for a Masters depno via a link on depno column.
    In Page 3, I created two elements P3_DEPNO and P3_DNAME. These elements are defined in modal page 3 of page 2.
    When I do these two visible elements on page 3 I can see, the values are set correct according to the value in column (depno) link on page 2.
    However, I would like to place these element values in the page title of page 3
    Title: PGE for DepNo: & P3_DEPNO., DepName: & P3_DNAME.

    It happens that the values mentioned in the title of the page are not the same (good) as in the items himself.
    Initially, they are NULL. Only when I refresh page 2 the values change but remain the same (last called depno) as long as I'm doing a new refresh of page 2.

    I wonder how I can run to display the values of the correct point in the title of the page corresponding to the values of the correct page element (that I have hidden).

    Y at - it something more to do, or it could be a small bug?

    I've created a little demo app on
    https://Apex.Oracle.com/pls/Apex/f?p=75955:2

    WS: AMLWS001

    Demo/demo (developer is)

    Please see the report 1.

    Thank you in advance!

    André

    Hi andremi,

    andreml wrote:

    Hello

    Apex 5.

    IR (departments) on page 2 I want to open a modal page 3 (classic report) with the detail data (from emp) for a Masters depno via a link on depno column.
    In Page 3, I created two elements P3_DEPNO and P3_DNAME. These elements are defined in modal page 3 of page 2.
    When I do these two visible elements on page 3 I can see, the values are set correct according to the value in column (depno) link on page 2.
    However, I would like to place these element values in the page title of page 3
    Title: PGE for DepNo: & P3_DEPNO, DepName: & P3_DNAME.

    It happens that the values mentioned in the title of the page are not the same (good) as in the items himself.
    Initially, they are NULL. Only when I refresh page 2 the values change but remain the same (last called depno) as long as I'm doing a new refresh of page 2.

    I wonder how I can make it work to display the values of the correct point in the title of the page corresponding to the values point right page (what I have hidden).

    Y at - it something more to do, or it could be a small bug?

    Page title is rendered before the page elements, that is why is not highlighted in your title.

    I don't think directly, we can use the page as a page element value.

    Creates a copy of yours and made the change it new App id - 45390

    There, I created a static area without a model before your report area and put your article into that.

    then displayed title PGE for DepNo: & P3_DEPNO, DepName: & P3_DNAME. for the area of your report.

    Kind regards

    Jitendra

  • Interactive report with display of the icon to set the page element

    Hi all

    I am currently using Apex 4.2.4, I have an interactive report using icons, each icon has a link to another page but a few I want to set a value in a page hidden in the same page element which is then used as a variable for a classic report.

    I have this work via link href in the icon as f? p ='|| FA.page |': 1 :'|| : app_session |': P10_ID_ITEM :'|| FA.link_name without error.

    My problem is that I wanted to put the value of the element without using a link href that I could handle the clicked icon to change the background color so that the user can have a Visual representation, where it was clicked, then using the value of the page item appears the classic report in another region with a partial refresh.

    Any help is appreciated, thanks.

    Can you provide a detailed explanation of the purpose of this report and the logic used in the report query? What are the rules to control which icons appear in the IR, what icons link to the second report on the page of IR, and icons to link to separate pages?

    For me, the report query seems too complicated and inefficient by returning the data it does, and if another level of data is added to the hierarchy or more data is added to the second level, it fails with:

    ORA-01427: einreihig subquery returns multiple rows

    I'm guessing that the intent is that the IR displays only the icons at the top level of the hierarchy and icons for posting a link to a different page when they have no descendants, or to display the related lines in the secondary report below the IR when they do. I created a new page with the report query modified to a route of tree and keep the upper level lines. It is much more effective than the original query and simplifies the logic necessary for the verification of end-nodes. Instead of generating a URL link (which violates the separation of concerns), the query returns of the discrete values that can be used to implement the HTML link in the Icon View link Custom property:

    with icon_tree as (
          select
              ic.id_icon
            , ic.icon_name
            , ic.link_name
            , nullif(connect_by_isleaf, 1) is_parent
            , level depth
          from
              icons ic
                connect by
                    prior ic.link_name = ic.id_parent
                start with
                    ic.id_parent is null)
    select
        id_icon
      , icon_name
      , link_name
      , apex_util.get_blob_file_src('P10_ICON_IMAGE', id_icon) img_src
      , nvl2(is_parent, '586', link_name) target
      , nvl2(is_parent, 'P586_ID_PARENT', null) parent_item
      , nvl2(is_parent, link_name, null) parent_id
      , :app_id app_id
      , :app_session app_session
      , :debug debug
    from
        icon_tree
    where
        depth = 1
    

    In the interactive report, Use Custom Icon Link is set to Yes, and the custom link is:

    
      
      
    #ICON_NAME#

    Public static ID icons and results are applied to the IR and the regions second report respectively for use as selectors in action dynamics and CSS. The protected value property for the page P586_ID_PARENT element must be set to No for the value can be defined by a dynamic action.

    Dynamic action with several real actions is needed to bind alternatives click behavior to the links on the icons that have descendants (i.e. where the data-parent-id attribute has a value):

    Event: Click

    Selection type: jQuery Selector

    jQuery Selector:.apexir_WORKSHEET_ICONS a:not([data-parent-id=""])

    Real Actions

    Seq: 10

    Action: Delete the class

    Class:selected

    Selection type: jQuery Selector

    jQuery Selector:.apexir_WORKSHEET_ICONS a

    Seq: 20

    Action: Add the class

    Class:selected

    Selection type: trigger element

    Seq: 30

    Action: Set value

    Wait for result: Yes

    Type of value: Expression of JavaScript

    JavaScript expression:$(this.triggeringElement).attr('data-parent-id')

    Selection type: Agenda

    Point: P586_ID_PARENT

    Seq: 40

    Action: Discount

    Selection type: Region

    Region: results

    Seq:50

    Action: Show

    Selection type: Region

    Region: results

    Seq: 60

    Action: Cancel event

    Finally, add a style sheet to the Inline CSS property page. Initially, this hides the secondary report and select the parent clicked icon:

    #results {
      display: none;
    }
    #icons .apexir_WORKSHEET_ICONS a {
      border: 1px solid transparent;
      border-radius: 3px;
      padding: 0.8em 0 0.5em;
    }
      #icons .apexir_WORKSHEET_ICONS a.selected {
        border-color: #6a9cda;
        background-color: #bbd1ec;
        transition: 0.6s;
      }
    

    However, after all it is the question of why you use an interactive report here if you turned off all the features of the IR? A dynamic list with a custom template box seems to be more applicable?

Maybe you are looking for

  • How much it costs

    Hi guys I want to change my iPhone all 6s 128G an again in apple, the screen is broken. So I need to know how much it costs

  • HP Pavilion a1777c: a few Driver issues Pavilion a1777c

    Gentlemen.I am looking for Vista drivers for an a1777c flag. I noticed on the driver download page for this model that some of the downloads are available in 32-bit or 64-bit. The drop-down list lists only 'Vista' with no designations of 32 or 64-bit

  • Tecra M4: two internal microphones? or just one?

    Dear users of Toshiba, For about a month now, I've been the proud owner of the Tecra M4 Tablet PC. I really like the machine and yet I discovered new options. Recently I started using voice recognition software (Tablet Input Panel > tools and Options

  • Corrupt file system cannot access chkdsk

    The file systems on the disk structure is corrupted and unusable.  Run chkdsk on the volume c: but cannot access Chkdsk as structure of files is NTFS

  • BEEPS from the BIOS - 107EM Presario CQ60

    Hello I have a Compaq Presario CQ60 under Vista with an AMD Sempron if-40. 3 GB RAM Phoenix BIOS. I have now when turn on about 30 Bios beeps pause 4 bleeps 6 beeps pause then the Windows boot manager asks me to launch Vista. Once in the window, the