Add a background header for a tabular presentation

Hello

Is it possible to add a background header for a tabular presentation? I tried this yesterday, so any help would be really necessary.


Tiina

Hello

I created this nice dynamic action
Select Advanced
-Event: After refresh
-Selection Type: region
-Region: {choose your region report}
-Condition: No strings attached
-Action: Run JavaScript code
-Fire on the Page loading: true
-Code:

var t=$("#report_MY_FORM table:first tr:first").clone();
$("#report_MY_FORM table:first").append(t)

-Selection Type: no

And don't forget to give static id of your form region. As I said in the sample, I gave MY_FORM.

Kind regards
Jari

Tags: Database

Similar Questions

  • I need to rename a column for a tabular presentation

    How to rename a column, I created for a tabular presentation?

    I added a new column to a tabular presentation (using 'add a new link in the column') and he gave me a name of column, called "link column. I tried to change, but it does not - note: I can't change a sql column does not exist outside Apex - I created it for the display of a calculation.

    I don't know that it can be done as I did before.

    change the column name photo columnnamechange.png

    Does not change the name of  photo colunnamechange.png so cannot reference in my calculation

    Well, I found a way to do it anyway. This should be changed in the definition of region > source.

  • Add the soap header for the data to the web service control

    Hello

    I use jdeveloper 11.1.2.4, I have to call soap webservice jet data control, what I I create the control of data using WSDL, but when run the SOAP header does not appear in call xml, so I create java code extends SOAPProvider and supplier of the set to the data control to the custom class as below:

    public class CustomSOAProvider extends SOAPProvider {
        public CustomSOAProvider() {
            super();
        }
    
    
        public void handleRequest(SOAPMessage soapMessage) {
            super.handleRequest(soapMessage);
        }
    
        public void handleResponse(SOAPMessage soapMessage) throws AdapterException {
            super.handleResponse(soapMessage);
        }
    }
    

    I need to add the header shot

       <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
          <wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
             <wsse:UsernameToken wsu:Id="UsernameToken-XXXX" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
                <wsse:Username>XXXX</wsse:Username>
                <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXX</wsse:Password>
             </wsse:UsernameToken>
          </wsse:Security>
       </soap:Header>
    

    Any suggestion

    Hani,

    Please check out the blog of Frank will give you the details on the handling of the https://blogs.oracle.com/jdevotnharvest/entry/how_to_access_the_ws_soap_message_using_ws_dc SOAP header

    K

  • Modify the search criteria for my tabular presentation...!

    Hey guyz I m back with a query related to my form of tables that I have developed with your help...
    I submitted my application to management 2 day... whatever it well spent, but they want change me the search criteria according to the needs of thr.

    1. they want to understand me a drop box that has all the fields in the table as dispalyed... EMPNO, STC, NAME, NATIONALITY, STATUS,
    and next to the drop box, they want to understand me a field blank as if NATIONALITY select in the drop down box and enter the nationality question in the search box button and press search, I should get all the emp with specific nationality

    EX: In the drop-down list select NATIONALITY and in the search box, I type GERMAN,... now, when I click I get all available in business German



    2. we got ratings for all the emp in percentages
    Now, select in the drop POSITION in the box enter (HP: 80 - 90) then I should be able to recover all the EMP working with HP position and ratings between 80-90%
    FOR EX: DROPBOX: Position
    TEXT ELEMENT: HP: 80 - 90
    Click on search, I get all the EMP with assessment between 80-90 and so on

    How can I change this... .creating a separate search for each column box would have been easy, but how do I apply this what the management wants me... ???

    Hello!

    You have the list item and the research element already created?

    PRE-REQUETE trigger on the table block (it's the easiest way)

    declare
    l_eva_min number;
    l_eva_max number;
    
    begin
    if
      :block.list_item = 'NATIONALITY'
    then
      :tab_block.NATIONALITY ´:= :ctl_block.search_item;
    elsif
      :block.list_item = 'EMPNO'
    then
      :tab_block.EMPNO := :ctl_block.search_item;
    elsif
       :block.list_item = 'POSITION'
    then
      :tab_block.POSITION := :ctl_block.search_item;
      if
        instr ( :ctl_block.search_item, ':' ) > 0
      then
        l_eva_min := substr ( replace ( :ctl_block.search_item, :ctl_block.search_item || ':' ), 1,
                              instr ( :ctl_block.search_item, ':' ) -1 );
        l_eva_max := substr ( :ctl_block.search_item, instr ( :ctl_block.search_item, '-' ) + 1 );
        :tab_block.EVALUATION := '# between ' || l_eva_min || ' AND ' || l_eva_max;
      end if;
    elsif
      ...
    end if;
    end;
    

    He is an untested prototype.
    Please make sure that the length of the assessment element query property is set
    length to hold the above query string.

    Concerning

  • How to access a column value in a Select list in a tabular presentation for each line

    Hello

    Environment: Using Oracle APEX v4.2.1 on an Oracle 11 g 2 DB

    In a tabular presentation using the following example query, i.e.:

    select
    "EMPNO",
    "EMPNO" EMPNO_DISPLAY,
    "ENAME",
    "HIREDATE",
    "SAL",
    "DEPTNO",
    "MY_LOV"
    from"#OWNER#"."EMP"
    
    

    I need access to every line of my sub form of table, the EMPNO of this line value, within a list of selection (query based LOV) in the column "MY_LOV."

    So, basically, the MY_LOV column in my table presentation, would be a list of selection (query based LOV) where MY_EMPNO =: EMPNO (first column in the select statement above), for each line of the tabular presentation.

    With the help of a picture ( Tom's Blog ) and assuming 'Deptno' column here is actually my new column, i.e. "MY_LOV, I want to know how this list of selection based on lov query would be able to access each EMPNO down in the form of tables, i.e. 7839, 7698, 7782 etc.?

    overview.png

    Any help would be appreciated.

    Thank you.

    Tony.

    Hi Tony,.

    Take a look at the API APEX_ITEM for LOV

    http://docs.Oracle.com/CD/E37097_01/doc/doc.42/e35127/apex_item.htm#AEAPI208

    Kind regards

    Brad

  • Look for the lines selected on a tabular presentation

    Hello guys and girls,

    I have a small problem trying to understand if/how I can check by pressing the "submit" button if there where no records selected in my tabular presentation.

    To explain better: I have a selection list in which the user select an employee. On this choice, a tabular presentation appears with the own products for this employee.

    The user must check at least one of the lines to go further.

    If the user does not select all and always press the "submit" button you should see an error message saying: "there are no selected product."

    What I was doing until now (stupid I suppose) was to create a Boolean as validation:

    DECLARE

    vRow directory;

    BEGIN

    BECAUSE me in 1... apex_application.g_f01. COUNTY

    LOOP

    vRow: = apex_application.g_f01 (i);

    If vRow is NULL then

    Returns false;

    on the other

    Returns true;

    end if;

    END LOOP;

    END;

    But does not work. If I have no active records it will say nothing and let me go. If I check something even record.

    Help, please.

    There must be something that I have no idea about.

    Thank you very much.

    Gabriel

    Checkboxes only support values for the lines. For example, a loop on the table will always return true since vRow will never be NULL. In addition, a table with a number equal = 0 will not be locked during all, again don't generate no errors.

    No loop, just check apex_application.g_f01. COUNTY. If it is 0, no checkboxes have been verified.

  • What should I do for default values when a new line is created in a tabular presentation?

    Hello all-

    I have a tabular presentation that requires a few columns to be entered by the user when he or she creates a new line, but other fields in the column can just default to certain values.  How to set these values by default so that the user doesn't have to be bothered with enter no data except those which MUST be entered?

    An example:

    Form1

    CITY OF COUNTRIES IN THE REGION

    APAC JAPAN TOKYO

    SIDNEY AUSTRALIA, APAC

    APAC KOREA-SEOUL

    REGION is almost always APAC, then I want that by default.  The user can always adjust if necessary, but I want to put it to the user, only to save having to enter a value.  When the user clicks on the button to add a line, that I want to load this value immediately and leave the two empty fields so the user can enter what they want.

    Thank you!

    John

    Hello

    Go change this column.

    Under attributes of tabular form, you will find options to set the default value

    Kind regards
    Jari

  • Tabular presentation displays lines not (although it should be)

    HI -.

    I have a page that contains a tabular presentation, which I call in an iframe. Frame recharge parent the tabular presentation when an item on a jquery tree is selected (settings for the new page).

    I open a page of the child who doesn't have any line in, choose 'Add new lines', then back to the parent page and select another node in the tree. Loading of the page of the child, but no data is displayed in my tabular form - even if there is data. I get a header and the line of paging only. If I click on the button "next" pagination, refreshes the page of the child and the data is displayed as I hope.

    I think that paging is being upset in some sort of page being refreshed by the parent to halfway between the creation of a new line and saving it.

    How can I say specifically the page re - load with regular pagination values? Or I'm doing something too hard?

    Thanks in advance - I would be recognizing all of the ideas, we're really stuck!

    Rochelle,

    Looks like you need to reset pagination when you click on the tree to recharge your tabular presentation, you can do this by putting "RP" in the URL that you call, here the section in the doc that explains the syntax of the URL:

    http://download.Oracle.com/docs/CD/E17556_01/doc/user.40/e15517/concept.htm#BEIJCIAG

    Then look at this description of URL:

    f? p = App:Page:Session:Request:Debug:ClearCache:itemNames:itemValues:PrinterFriendly

    ... you need to get PR in the position where it says ClearCache, for example (assuming that your tabular form is on page 10):

    f? p = & APP_ID: 10: & SESSION. : RP

    I just want to mention that when you use 4 APEX, you can actually refresh regions in a table through dynamic actions, without iFrames.

    Kind regards
    Marc

  • Total of the dynamics in a tabular presentation

    I have a tabular presentation where people will be be detailing a sum of money. They would like to enter the amounts in the lines of the tabular form and as they enter into their they want out automatically at the top of the form so that they can see that it will match the amount they're trying to detail. How can I do this? I looked into dynamic action, but it does not seem possible with a tabular presentation, so it is maybe possible with Javascript? I have no idea how to do it well. Can anyone help?

    Thanks in advance. Apex version is 4.0.1.

    The problem with dynamic action is that it would be able to calculate the total of lines that he can see. But for example:

    http://Apex.Oracle.com/pls/Apex/f?p=45448:17

    Calculates the total when you lose the focus of an element.

    The problem is the loading of the page, it is this same calculation several times - so either disable the execute on property to load the page and add a dynamic action similar to the loading of the page so that it works only once, or simply put up with it.

    Anyway, the DA:

    Event: change
    Selection type: jQuery selector
    jQuery selector: input [name = "f03"]
    Action: run the JS code.
    Code:

    var total = 0;
    $('input[name="' + this.triggeringElement.name + '"]').each(function(){
      total+=parseInt(this.value);
    });
    $s('P17_TOTAL', total);
    

    This could be also an action define the true value, which is a little better you declaratively specify which element to assign instead of having in the JS code. In the case of the defined value, simply the variable on the last line of the JS code.

    for example, set the value with JS would become:

    var total = 0;
    $('input[name="' + this.triggeringElement.name + '"]').each(function(){
      total+=parseInt(this.value);
    });
    total;
    
  • Tabular presentation - calculation question

    Hello

    I have a simple tabular presentation that shows the hours of work per month, role, the amounts of report by month, by the role and has a Total of hours report. Output looks like similar to this:

    JAN FEB MAR... TOTAL
    Administrator of 100 50 20 170
    100 40 20 160 developer
    Manager of 100 30 20 150

    300 120 60 480 total

    Our client would like another added line (cost) which is a calculation of each of the columns * 110. In other words:

    JAN FEB MAR... TOTAL
    Administrator of 100 50 20 170
    100 40 20 160 developer
    Manager of 100 30 20 150

    300 120 60 480 total

    Cost $33 480 $13 200 $6 820 $52 800


    Can anyone advise on how / where I have add this line 'Cost' to the State?

    This is the code for the report: (and I checked for each month and the total AMOUNT in the attributes of reports section)

    Select
    ROLE,
    JAN,
    FEB,
    MAR,
    APR,
    MAY,
    JUN,
    JUL,
    AUG,
    MS,
    OCT,
    NOV,
    DEC,
    TOTAL
    of PM_BUDGET_TOTALS;


    Thank you
    Laura

    Ah ok I see. It's a little different than what I thought.

    You can create items of individual page for COST fields several, fill it with SQL (using the type of source = SQL Query (single return value)) and put them on your area of report. If you then change the region and ensure that it is "the body of Page Template (1.» (les éléments ci-dessous le contenu de la région) ' to the Point of the screen, which can imitate so what you are looking for?

  • How to add the help text to the tabular columns?

    I have some tabular forms. I want to add help to the header of the column.
    APEX allows you to add page elements helping, but I don't see the option for the tabular columns. No idea/solution workaround?

    Thank you

    Hello

    I have a sample how to add Help ToolTip to the header of the report
    http://ActioNet.homelinux.NET/HTMLDB/lspdemo?p=63

    Mouse over the title, and see you help text.
    See this post for instructions
    Add help text

    PS: I think you can do better solution for example using dynamic action

    Kind regards
    Jari

    http://dbswh.webhop.NET/dbswh/f?p=blog:Home:0

  • How to use a Select list on a second primary key column in a tabular presentation?

    Hello

    I created a tabular presentation located on the details page of the user (form), that allows to manage roles for this user.

    The shape of table contains 3 elements:
    -> a checkbox
    -> user (PK) column is hidden, and its default value is generated by a function pl/sql (to submit the time), which refers to the element to username.
    -> the role of the column is displayed as a named select list LOV: add you a line, choose a role, submit, etc..

    But my ROLES table (not created by me...) contains 2 columns: USER and GRANTED_ROLE.
    The USER is the primary key, but a user can have multiple roles (= one line per role).
    GRANTED_ROLE is the second primary key, so that we can differentiate between one line of another.

    At the moment my tabular form has only one primary key (USER), so the GRANTED_ROLE can display as a list select.
    But, for this reason, in my opinion, remove the button do not work: all the lines of the user have the same key, so when I select a few lines to remove these, all lines in the form of tables are deleted.

    I don't know how my button Delete could recognize the subkey to remove only selected rows...
    Or maybe I should use a different type of region?

    Thanks for your help!
    Fanny

    In the process of ApplyMRD, try to specify the 'secondary key' column in the section "Source: Multi line Update and Delete"to the second column key in tabular form.»

    I have not tested this with your situation, but worth it.

  • Tabular presentation - always showing 20 ranks, even when there is no data

    Hello


    If you have a tabular presentation, and there is no data. It shows no lines and the message "no data found".

    But,
    Is it possible that it shows always automatically 20 lines, for example, that a user can fill.
    for example only 5 rows and 15 other lines left empty, and program will not save the 5 rows which are filled.

    Hi Davy,.

    what you need is a selection that adds as many lines as you need:

    SELECT *
    FROM (SELECT rownum, test_col
          FROM test_table t
          UNION ALL
          SELECT *
          FROM (SELECT rownum AS er, 'empty' FROM dual CONNECT BY rownum <= 99) e
          WHERE e.er > (SELECT MAX(rownum) FROM test_table));
    

    Best regards

    Tobias
    -----------------------------------------------
    http://Apex-at-work.blogspot.com

  • Tabular presentation - defining a line just to the first of the default value.

    Hi all

    How to set a default tabular form only in the first row?
    When I click on "add row" I want the new line have an empty value.

    Thanks in advance.

    Hello

    When you add a new line to the shape of the table, all existing lines must be recorded in the database. You can, therefore, to verify the existence of these files and set the value of a page hidden as a result element. The default value for an item of tabular presentation can then rest on this hidden item.

    This is possible by setting the Source used for "Always,...» "on the hidden item called, say, P1_DEPTNO_DEFAULT, and the Source to something like:

    DECLARE
     X NUMBER;
    BEGIN
     SELECT COUNT(*) INTO X FROM EMP WHERE DEPTNO = :P1_DEPTNO;
     IF X > 0 THEN
      RETURN '';
     ELSE
      RETURN :P1_DEPTNO;
     END IF;
    END;
    

    It is a Type of Source of "body of the PL/SQL function.

    In this example, we will check if there are all the records with a DEPTNO value that matches the P1_DEPTNO EMP. If there is, then the tabular presentation must contain at least one line already, so we return an empty string. If there is no record, the tabular presentation should be empty, so return us the value of P1_DEPTNO.

    The default settings on the DEPTNO column in tabular form would then be:

    Default type: (name of the application or page element) Element
    Default: P1_DEPTNO_DEFAULT

    Andy

  • MRU - tabular presentation - Validation

    Hello

    I have the following problem:

    -J' have a tabular presentation
    -This form has 4 columns
    -the 3rd column has a text field to type a number (it is also declared as 'number' in the table)
    -with a MRU certain changes in the 3rd column may be saved

    --> The user must type in the quantity of items the found.


    My problem:
    Some users may type in a white (not 0). -> and if he wants to save it, an error message is: internal error in the routine mru... There is an invalid number.


    My question:
    How can I validate the 3rd column that the user can type only number and not characters?




    Thank you very much
    LISA

    Lisa,

    I had a similar problem, although I used it to validate a deletion: validation in the form of integrity constraint?

    You can add validation: pl/sql returns the error message.

    and then apex_application contains an array of items in the form of tables... so, you could do something like:

    for i in 1..apex_application.g_f02.count loop
        --insert logic here
        if apex_application.g_f02(i) = 0 then
            return 'Please remove any values that are equal to 0';
        end if;
    end loop;
    

    g_f03 <-- that="" generally="" refers="" to="" the="" 3rd="" column,="" but="" you="" can="" confirm="" by="" inspecting="" the="" element,="" it="" will="" generally="" have="" a="" name="" of="" something="" like:="" f03=""><--- that="" is="" what="" you="" use="">)

    Digital test: http://www.techonthenet.com/oracle/questions/isnumeric.php

    Van
    Trent

Maybe you are looking for

  • Do not open attachments MATLAB in TextEdit

    I understand how to set type on a Mac applications. However, there is a problem. When I receive an email with a ".m" (MATLAB) file, it should open in TextEdit (on a Mac) because this is the app that I put on my machine. I also put types strangers and

  • Satellite A-L50-1 - distortion of the screen - restart is necessary

    Hi all I bought a Satellite L50-A-1of 6 months and 3 months, when the computer is 'ON' and if I move, I sound suddenly get a screen with distortion and I have no choice but to restart my computer. I thought it was a driver problem or an unstable vers

  • get essential windows live help please!

    why every time I try to download windows live essential for xp at the end he says: try to reinstall windows live programs. programs were not installed because installation has been cancelled. 0 x 80004004 abandoned I never cancel, what can I do? i've

  • in the group policy system restore

    When I try to start system restore, a message appears "restor died in grop polity" I did not know that Vista Home Premium has group policy

  • Windows update error 0 x 80070003

    Oriignal title: problem error code I have this a thing that is not set it says windows update error 0 x 80070003 (2015-12-13-T-01_36_45A) what should I do to solve this problem?