Headings in a Region ..

Hi everyone,
I have created a from based on a table which has 60 columns.In the Form i have to put some headings like
--PERSONAL INFORMATION
--EMPLOYER INFORMATION to devide those fields to groups.How can i put heading between the field which r in the same region.
Thanks

Have you already thought about creating some new HTML regions for grouping your fields? Just re-assign them to the new regions.
If you want to have a separator in a region, just create a "dummy page item" of type "Display as Text (doesn't save state)" with the label of your choice.
I think that should work.
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/

Similar Messages

  • Font issue in OAF -urgent

    hello friends, i think this is simple, but i could not find solution.
    1)i have table region,data is populating fine.want to display one text message above table region with same font of table region column headings.
    example:
    here some text(any) as same font of below need to display -> (here which item do i have to select to display some text)
    column headings in table region ->username user id ...
    2) i used rawtext item to dsiplay, but its coming bit bigger than table columns header font.
    Thanks
    krish.

    Krish,
    One way to achieve this is to change the CSS class for column Header & Use same css for the message also
    Step 1 - Set the column header CSS dynamically in PR like
    <h6>
    // Get a handle to the column's header
    OAColumnBean columnBean =
    (OAColumnBean)tableBean.findIndexedChildRecursive("<columnBeanId>");
    OASortableHeaderBean colHeaderBean =
    (OASortableHeaderBean)columnBean.getColumnHeader();
    colHeaderBean.setText("<newText>");
    CSSStyle customCss = new CSSStyle();
    customCss.setProperty("text-transform","uppercase");
    customCss.setProperty("color", "#387C44");//#F6358A -purple
    colHeaderBean.setInlineStyle(customCss);</h6>
    Step 2 - Set the same for the message item.
    * import oracle.cabo.style.CSSStyle;*
    Regards,
    Gyan

  • Performance issue for Report Regions

    We have an app which has as it's "Home Page" a portal-style page. The "portlets" are separate regions. Some of these regions are HTML forms, but most are report regions, invariably with PL/SQL returning the SQL query.
    On our dev box this portal renders fine, in no more than 5 seconds (acceptable). On the production box a couple of the portlets go crazy, usually taking between 1-2 minutes each. I know this because I added the #TIMING# string to each region footer. The portal page has a META tag to refresh every 120 seconds.
    The first thing I did to debug was to take the PL/SQL function body returning the SQL query, replace all the variables (which are just local vars, app items and page items) with hardcoded values, strip all quotes and run the "cleaned up" SQL query in SQLPlus. It executes very fast.
    So my conclusion is that the problem lies with the application server (which is Oracle iAS). Is this a logical conclusion? What should my next move be to get to the bottom of this?
    Even without the problem portlets the portal refresh speed varies widely, between <1 sec and >10 sec.
    The application also has other pages displaying the portal regions individually. These pages (including those with the "problem portlet" queries) render ok (ie, order of 5 seconds or less). This tells me that there is an issue with having a bunch of query-based regions on the same page.
    My guess is that I might need to examine the logs and/or httpd/modplsql settings of the app server. Number of simultaneous connections?
    What would happen if hundreds of users used this app concurrently, navigated to the portal page and left it like that to auto-refresh every 2 minutes? Are such pages a no-no in HTMLDB?

    Some more information:
    When I run the page in debug mode, I see the following timings for one of the problem portlets:
    11.53: show report
    11.54: determine column headings
    11.54: parse query
    60.95: binding: ":F118_BUNDLE"="F118_BUNDLE" value="1"
    60.95: binding: ":P52_STMETRICS_PRODBRANCH"="P52_STMETRICS_PRODBRANCH" value="RDBMS_MAIN"
    60.95: binding: ":P52_STMETRICS_PLATFORM"="P52_STMETRICS_PLATFORM" value="LINUX"
    61.35: print column headings
    61.35: rows loop: 15 row(s)
    [report is printed here]
    61.49: FORMITEM: P52_STMETRICS_PLATFORM HIDDEN
    61.54: FORMITEM: P52_STMETRICS_PRODBRANCH HIDDEN
    This tells me that the bulk of the time (50 seconds in this case) is eaten up in parsing the query. What is this symptomatic of?
    Another problem I've just noticed. It takes about 5 seconds to open up a region for editing (Region Definition) in HTMLDB. When I click "Apply Changes" (even without editing anything) it is taking on the order of minutes for the changes to be applied to the page. Our app server was bounced just before I noticed this.
    These are the params in our DAD:
    <Location /pls/toolsdb>
    SetHandler pls_handler
    Order deny,allow
    PlsqlDatabaseConnectString ...
    PlsqlDatabasePassword ...
    PlsqlDatabaseUsername ...
    PlsqlDefaultPage ...
    PlsqlDocumentPath docs
    </Location>

  • 2 Report -Regions combine in 1 Report-Region but 2 different SQL-Querys

    Hallo,
    I have a question.
    I have a page and within this page 2 different report-regions. Each of this regions has its own sql-query.
    Now I would like to concentrate them in 1 report with one title. But there are still 2 differnet sql-query
    that I can't combine. My issue is that I only want to show the result in one report.
    Does this work or is there a workaround I could do?
    Thanks, Jade

    Hi,
    As the report region's title is just whatever text you've entered, you can just put the title on the second report onto the first report and set the second report to use "No Template". You would probably need to remove the pagination settings for both reports - select No Pagination and set the row count to a high number.
    The final bit would probably require a new report template - you can create a copy of the existing report template that you're using - and remove the Column Heading Template setting. This is only necessary if you need to remove the column headings from the second report. There would be a gap between the two reports - not sure if you need to remove this as well? If so, you would have to adjust both templates to remove the this from the bottom of the first report and the top of the second report.
    I think that how you go about this will depend on exactly what you need to see between the two reports - if they need to look as though they are just a single report then you may have to complete all of the above steps.
    Andy

  • PL/SQL based report headings throw ORA-06502

    I have a report that presents a view containing over 500 columns. This is data generated by an ETL process (for a data mining app), and the view's column names are dynamically defined each time the data are compiled. I've got scrolling set up within the region and the report works fine (all ~500 columns) with headings based on Column Names. However since column names change, I must use the Region Source option to 'Use Generic Column Names (parse query at runtime only)' and define Headings Type as PL/SQL. I've written a function to build the ':' delimited field list from the data dictionary and it all works just fine for a small number of columns (i.e., when the view is defined as only a few fields). When I try the complete data (~500 columns), the report region shows "ORA-06502: PL/SQL: numeric or value error: character string buffer too small". I've confirmed (in sql*plus) that the function returning the ':' delimited field list works fine. Anyone know if there a limit to the number of columns that HTMLDB can handle for dynamic headings? Or a workaround??

    Thanks for the reply. Couple of follow up questions...
    1) Is there a workaround to generate dynamic (run-time) headings that exceed the 4000 char limit?
    2) Page 1 of my app runs an PL/SQL process. One of the results of the process is a redefinition of my view's column names. Page 2 reports the view (~500 fields). Instead of PL/SQL function-based column headings, can either Page 1 or Page 2 directly update Page 2's report "static" column headings behind the scenes as some sort of page process?

  • PL/SQL Report Headings Type question

    Hi,
    If I set a report to use a Heading Type of "PL/SQL", is there a way to get the region id of the report from within the PL/SQL function that I provide in the "Function returning colon delimited headings" section?
    #REGION_ID# (available in a report template) doesn't seem to work.
    Thanks,
    Eric

    Report region ids are not accessible to developers for use in the App Builder. You have to run the page, see what the generated region id is and then go back and hardcode it whereever you need.
    I understand that this is going to be improved in the next release, the region id is going to be a user-defined attribute.

  • Report Sorting with PL/SQL Headings

    Hi,
    I have PL/SQL Headings for my reports. Is there a way to use the sorting feature nevertheless?
    I tried to put the sorting syntax in my PL/SQL Headings, but it breaks at the first colon.
    BTW: How can I get the region_id? Is there a "hidden" substitution string like &APP_ID.?
    return 'Projekt' || ':' || to_char(sysdate,'WW/RR') || ':' || to_char(sysdate,'WW/RR') || ':' || 'Bericht'
    Regards, Juergen

    Hi Juergen,
    Column heading sorting does not work when using a PL/SQL function to determine the column headings in the current version. This issue has been resolved and it will be working in the next release. There is no substitution string to determine the region ID and I would not recommend hard-coding URLs in your headings PL/SQL function because the URL sort syntax used might change in future versions.
    Regards,
    Marc

  • Export all sql reports in a region to csv or pdf

    Hello there,
    I have a region on a particular page in apex and that region has about 12 different sql query reports.
    I have enabled csv option for each of them so there are 12 links to export each report. However
    I would like to have only 1 link which will save the contents of all the reports to csv or pdf. The
    column headings are different for some of these reports but wanted to know if something like this
    is possible.
    Thanks in advance for reading this.

    You might try wrapping the regions in html regions that essentially give you the ability to specify a valign=top for the report regions.
    So, your regions look like this:
    30 Report Start - contains region source = (div)<table width="100%" cellspacing="0" cellpadding="0"><tr><td valign="top">
    40 Approved Tests Report (Column 2) Conditional
    45 Report 2 Start - contains </td><td valign="top">
    60 Unapproved Tests Report (Column 2) Conditional
    65 Report 3 Start - contains </td><td valign="top">
    80 Approved Count by Build Report (Column 2) Conditional
    85 Report End - contains "</td></tr></table>(/div)"
    Replace () with the angle brackets
    Maybe there is a more elegant solution with templates or page level CSS or something..
    But that should work.
    Edited by: Bob37 on Sep 17, 2010 3:33 PM
    Edited by: Bob37 on Sep 17, 2010 3:33 PM

  • Non scrolling region with watermark in RH-HTML?

    Hello, I always worked with RoboHelp for word and would like
    to try and import everything into HTML-Projekts. I don't have any
    experience with it and can't find some functions.
    Is it possible to define a non scrolling region for the
    heading of my html-Topics? If yes, how can I do it and can I define
    a watermark for my headers? (Our headings are white on a dark blue
    logo).
    Thanks for your help in advance!
    P.S.: I still work with RH 5

    Yes it can be a bit of a learning curve but most of us have
    been through it on these forums so you'll find lots of useful
    advice from the participants. As far as the <BODY ONLOAD... tag,
    you have to add this yourself if it does not exist. What the
    article suggests is a bit of good old "under the hood" cowboy style
    authoring. It shouldn't really be attempted unless you are fairly
    proficient with HTML and have taken a backup of your project first.
    As was stated in the link, it is a good idea to get out of the
    habit of wanting those non-scrolling regions.

  • PL/SQL output in a region

    Greetings,
    I have the following pl/sql routine that I'm playing with, eventually wanting to create a custom report building the HTML myself based on another table. My problem is that this code will only work within a process. Is there any way to include it inside a region so that I an apply a template to the eventual output of the data?
    declare
    type my_cursor_type is ref cursor return emp%rowtype;
    my_cursor my_cursor_type;
    my_cursor2 my_cursor_type;
    f emp%rowtype;
    f2 emp%rowtype;
    begin
    open my_cursor for SELECT * from emp;
    LOOP
    fetch my_cursor into f;
    exit when my_cursor%notfound;
    htp.p(f.ename);htp.p('---');htp.p(f.empno); htp.br;
    open my_cursor2 for select * from emp where empno = f.empno;
    LOOP
    fetch my_cursor2 into f2;
    exit when my_cursor2%notfound;
    htp.p(f2.empno); htp.br;
    end LOOP;
    close my_cursor2;
    end LOOP;
    close my_cursor;
    end;
    Thanks in Advance,
    -- Cliff Moon
    -- UTPA Webmaster

    Looking for an answer to:
    Report by Date with Date Headings.
    ? :) I'll take a stab at it tonight sometime.
    Anyway, you can't do ref cursors in HTML DB. Additionally, there is no way to apply templates to anything but a SQL query or a function body returning SQL query.
    Tyler

  • Error adding editable region in nested template Header

    I have a base template for the website (establishing basic
    menus), and a secondary template using that base template, which
    establishes a common table layout for one part of the site. Having
    created the PHP to drive the page, I need to lock down that
    secondary nested region - otherwise any edit I make to my secondary
    &quot;table-defining&quot; template is not passed through
    to the final pages using the secondary template. I have
    successfully created a secondary editable region in each part of
    the &lt;body&gt; area, and sure enough, it locks down text
    outside the secondary editable region just as DW help says it
    should. So far so good.
    Now the problem - I cannot create a region inside the
    &lt;head&gt; editable region to lock down that region too.
    Normally one would want keywords and so on to be variable from page
    to page, but as I am filling variable keywords from a database, it
    makes sense to lock down the &lt;head&gt; too. Does anyone
    know why that generates an error &quot;cannot create an
    optional region here&quot;? Is there anything that can be done
    about it?

    Posts are hard to read when they are all crammed together
    like yours. Try
    making some paragraphs!
    Nevertheless, I think I understand what you are saying., but
    honestly, I
    just wouldn't do it that way. Anymore, my templates are just
    one editable
    region in the body, and a bunch of server-side includes. I
    find nested
    templates much too complex, and troublesome to work with, and
    have really
    never found a scenario where I could do things with them that
    I could not do
    more easily with other methods.
    > However, I have an Editable
    > region with the HTML Head area, and DW does not permit
    me to add a
    > 'secondary-template Editable Region' within it to lock
    it down.
    Is it only you working on the site? Who are you trying to
    'lock down'? If
    it's only you, I'd forget about this. Invariably the things
    like this that
    you think are a good idea come back later to bite you.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "suddensurprise" <[email protected]> wrote
    in message
    news:[email protected]...
    > Murray 'ACE' wanted to understand why I am using nested
    templates.
    >
    Primary
    > Template or 'base layout' I have a primary template
    which establishes
    > the
    > top, left and bottom borders for the site. These contain
    Spry menus - if
    > I
    > change the menu on the primary template, all pages will
    be updated. The
    > primary template has a 'work area box' which is where
    the page content
    > goes for
    > each different page.
    Secondary or 'nested' template Next I have a
    > secondary template, or nested template. It starts with
    the primary
    > template
    > but this time the 'work area box' is set up with a
    product table and
    > various
    > fixed column headings. The table is filled from
    different database
    > records
    > using PHP and MySQL. Therefore the secondary or 'nested'
    template
    > establishes
    > a common format for the product table. For example, a
    change to a heading
    > in
    > the secondary template is updated into all pages using
    it. And to
    > reiterate, a
    > change to the Spry menu bar on the primary template will
    update the
    > secondary
    > template and all pages created from that template.
    Similarly, I have
    > several
    > other secondary templates, all created from the primary
    template, all
    > setting
    > standard sections of the website so that multiple pages
    can be updated at
    > once
    > via a single template change.
    Note: the code in the secondary
    > template
    > needs to be 'locked' so that edits within it are passed
    on to its slave
    > pages.
    > This is done by creating an empty Editable region at the
    beginning of the
    > 'work
    > area box' I talked about.
    Other Approaches? If anyone knows a
    > better
    > way of enabling site edits to be passed consistently
    down into different
    > standard-section blocks of the website, I would welcome
    your input.
    >
    The
    > Problem Now to reiterate the problem with which I
    started this thread.
    > In
    > a secondary template it works fine creating a second
    Editable Region
    > within the
    > Body of the HTML document - the rest of the code in that
    'primary template
    > editable region' is now locked out as is required.
    However, I have an
    > Editable
    > region with the HTML Head area, and DW does not permit
    me to add a
    > 'secondary-template Editable Region' within it to lock
    it down. I am
    > wondering
    > if anyone in the Community knows why or can suggest a
    solution. Regards
    > Richard
    >

  • Problems with PL/SQL Column Headings

    Hello,
    I experienced a strange behaviour and perhaps someone can verify it. Perhaps it's a bug, perhaps only some misunderstanding ...<br>
    I created a Region with the Wizard: <br>
    FORM<br>
    TABULAR FORM<br>
    Update Only<br>
    Table EMP (all Attributes)<br>
    Accept rest of Wizard defaults<br>
    Create Region<br>
    OK, everything works fine.<br>
    Now I switched the column Headings to the Type "PL/SQL" and entered in the opening entry field: return('X:EMPNO:ENAME ...... (all Names)...) <br>
    As well everything works fine, the columns are well named. Now I included into the SQL-Statement an additional attribute as a constant.<br>
    select <br>
    "EMPNO",<br>
    "EMPNO" EMPNO_DISPLAY,<br>
    "ENAME",<br>
    "JOB",<br>
    'X', <--------------- <br>
    "MGR",<br>
    "HIREDATE",<br>
    "SAL",<br>
    "COMM",<br>
    "DEPTNO"<br>
    from "#OWNER#"."EMP"<br>
    Now I went back to the Report Attributes to include the new column into my return statement.... but the statement vanished. The little entry field for the PL/SQL-Statement to return the colon delimited header-list is not there and no more available. In the Radiolist for the Headings type it is selected but -as said- not there. (When I go back and erase the additional constand column, the entry-field for the PL/SQL-Statement reappears.)<br>
    Does someone has the same experience or better, a solution ? (APEX 2.2)<br>
    Thanks<br>
    Andree
    Message was edited by:
    Andree

    Works !<br><br>
    Thank you, Scott !<br>
    A.

  • Custom Report Headings Type forces headings to initcap

    APEX V4.2.3.00.08
    When I choose "custom" for my report headings type in a classic report they are forced to Initcap.  How do I have mixed case in a report heading?  I don't want words like "in","of" etc forced to initcap.  I don't think I've seen this problem before. Could be a bug in V4.2 ??
    thanks in advance
    PaulP

    PPlatt wrote:
    I'm using Theme 13 Blue Gray, Region template is "Reports Region".  the Report Template is "Template 13 Standard".  This is the bit of code in the Standard template under "Column Heading Template" that formats the report header
    <th#ALIGNMENT# id="#COLUMN_HEADER_NAME#" class="t13ReportHeader">#COLUMN_HEADER#</th>
    Is there some code I can put here that overides the inherent "Capitalization" without having to update the CSS file which contains the t13ReportHeader class?
    You could, but it wouldn't be recommended. In 4.2, modify the page templates and add the following CSS override to the Inline CSS property:
    th.t13ReportHeader {
      text-transform: none !important;
    Why are you using such an ancient theme in 4.2?

  • Report region columns constrained to 4000 chars?   Hitting LOV problems.

    Hi all,
    I've hit a problem that I'm hoping will have a simple answer.
    Quick overview of issue:
    APEX 3.01 application running against a 10gR2 DB.
    We have an LOV defined that works just fine on various forms but in report regions where the LOV is available via a drop down column value in the report region HTML table we are hitting the error:
    report error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Some judicious debugging reveals that this seems to be because we are trying to load in more than 4000 characters into the LOV drop down in the report regions HTML table column (it's a moderately large LOV)..
    This suggests that the default column type in a report region HTML table is VARCHAR2 and thus that there is a default 4000 character limit on any such column values, would that be a fair assumption? I know that the actual report row size always used to be limited to a total of 32k but this limit is a new one to me.
    If there is such a limit, does anyone have any suggestions on how to work-around it i.e. is it possible to redefine report region column values to be other datatypes/dimensions or should we be looking at using an alternative such as a pop-up instead?
    Many thanks.

    Hi Scott,
    Okay, what we have is a fairly simple Dynamic Page with two report regions (both standard type of 'SQL Query'). The second report region is the one causing us the headache. The column headings are set to 'Custom' but apart from that everything seems as it should be.
    The following query populates an HTML table being generated in the second report region (problem line in bold):
    SELECT apex_item.hidden(7,task_id)||
    apex_item.select_list_from_lov(1, estimate_type, 'TASKSMK', NULL, 'YES', 0,'** Select Task **',NULL, NULL) as "Task Type",
    '<img src="/i/themes/aqa/required.gif" alt="Required Field" tabindex="999" />'||apex_item.text(2, description,30,4000,'required="true"') as "Work Item(s)",
    dbms_lob.substr(apex_item.select_list_from_lov_xl(3, username, 'PEOPLE', NULL, 'YES', 0, '** Select Resource **', NULL, NULL),4000) as "Resource",
    apex_item.text(4, days,5,5) as "Days",
    apex_item.text(5, start_date,11,11) as "target Start (dd-mon-yyyy)",
    apex_item.text(6, NVL(end_date,ADD_MONTHS(start_date,1)),11,11) as "Target End (DD-MON-YYYY)",
    rownum link
    FROM
    (SELECT t.task_id,
    e.estimate_type,
    t.description,
    t.username ,
    t.days,
    t.start_date,
    t.end_date
    FROM estimate e, task t
    WHERE e.project_project_id = TO_NUMBER(:F172_PROJECT_ID)
    AND e.active_yn = 'Y'
    -- and t.days > 0
    AND t.ese_id = e.id
    --AND e.creation_date = (SELECT MAX(ei.creation_date) FROM estimate ei WHERE ei.project_project_id = e.project_project_id AND ei.active_yn = 'N')
    UNION ALL
    SELECT 0 task_id,
    0 estimate_type,
    NULL description,
    '0' username,
    NULL days,
    sysdate start_date,
    ADD_MONTHS(sysdate,1) end_date
    FROM dual
    CONNECT BY LEVEL < = TO_NUMBER(:P19_ROWS_CNT))
    All appears well until the number of values being returned in the second LOV (retrieved by the apex_item.select_list_from_lov_xl) exceeds 4000 characters and then we get the error first detailed. The substr around the function isn't usually present, it was added during the debugging, if I allow one more character than the 4000 or remove the substr completely then I get the error again. If the same function is used to retrieve the LOV on a normal Dynamic Form field then all is well, it only seems to have a problem when present in the HTML table being generated.
    Are we doing something silly here?
    Thanks.
    Message was edited by:
    jac

  • Conditional Display Of Headings on Grouped Report

    I have a grouped report in 2 seperate tables. I want to print the values of 'H1' and 'H2' (which are my headings for 'Group:' and 'Name:') only 1 time per page. The grouped data needs to print on every occurance. How do I do that?
    Group: 1 Name: Bob
    ___001
    ___002
    ______2______Tom
    G
    H1 GROUP_FIELD H2 NAME
    F SECTION PERIOD E
    E
    G= <xsl:for-each-group select="DOCUMENT/REGION/ROWSET2/ROWSET2_ROW" group-adjacent="GROUP_FIELD">

    try this
    you can say it as display it as header of the table & repeat on top of every page in table row properties.
    And the H1 and H2 is in the loop, so it would ideally repeat for all the instances of row.
    May be we can limit for only one time, and not as one time on every page.
    in that too, you have value which is changing next to the H1 and H2.
    so it is adding little more confusion to your requirement.
    alternatively send me the xml and template and existing sample output.

Maybe you are looking for