Layout of Regions

Hmmm, more layout poblems :)
It's funny that most of the problems I seem to be having with APEX are layout problems!
I'm just not sure of how to get even simple layout designs into APEX.
eg. this time I've got 2 regions...
|   | |   |
|   | |   |
|___| |___|They are in 2 separate columns (columns 1 and 2).
And I want to add another region on top or below that has controls (like buttons) in it, but I want this region to span the width of all of the page's columns (or at least those 2).
I kinda wish there was a layout manager for regions, like the one for items.
eg. a region is a table, and it is inside another table (the page table).
You should be able to select (without editing the templates) where each region is in the page table, and how many rows/columns it spans.
Can this be done?
-EDIT-
I don't mind if I have to write the HTML to get the exact layout I want. In general, that would be easier for me - just to create an HTML page with the stuff I want in it.

would you mind explaining this a little more. I think I've accomplished essentially what you described, but for 4 reports to display with three on the top line and one spread across bottom line. I had to add an 'After header html region' that contained only the <table><tr><td> tags, the a Report within the 'Region position 3' the another html region with </td></tr><tr><td> then another report region followed by another html region with </td></tr><tr><td colspan="3"> then the longer report, then a html region in the before footer area that closed off the table data, row, and table.
It essentially showed up the same as having 3 reports in the "region position 3" area in col 1,2, & 3. and then having the 4th larger report in col 1 of a before footer region.

Similar Messages

  • Opening a Word document in a form layout html region

    Hi all,
    In an Interactive Report I use
    select '<img src="#WORKSPACE_IMAGES#'||package.f_get_document_type ( doc.id )||'" title="Document" width=20 height=20>'
    ) document
    from table
    to show an icon that eventually downloads (and shows) a word document.
    Now I have a form layout html region and I want to have the same icon\link to show a document.The document however is not in the same table as the rest of the page is based on.
    How can I show the document on this page?
    Kind Regards,
    Maurice
    Environment = Apex 4.0 database 11G
    Edited by: maurice.niezen on Aug 31, 2010 2:10 AM

    One way, create a hidden item, and return the value into it from your package (by having a computation that calls the function package.f_get_document_type(:P1_DOC_ID) . Let's say it's called :P1_DOC_TYPE
    There's a new item type in Apex 4, which is Display Image.
    When you get to settings in the item creation wizard, specify what the image is based on. From there, you can set it to be 'Image URL stored in Page item Value. Then on the source page, you can just specify the URL, #WORKSPACE_IMAGES#&P1_DOC_TYPE.

  • [svn:osmf:] 10700: Extending layout and regions unit tests.

    Revision: 10700
    Author:   [email protected]
    Date:     2009-09-29 15:02:28 -0700 (Tue, 29 Sep 2009)
    Log Message:
    Extending layout and regions unit tests.
    Modified Paths:
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/MediaFrameworkTests.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/gateways/TestRegionSprite .as
    Added Paths:
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/layout/TestLayoutUtils.as

  • Issue with layout / repeat region part 2..

    Seems I haven't cracked this just yet - basically have a
    details page that is split into three - with a candidate's details
    at the top left, their work profile at the top right, with a long
    CV text appearing below both.
    All the fields are from the Candidates table, except the
    profiles - so the profiles need to be a repeat region to list them
    all.
    I can't for the life of me get the layout to work as I'd like
    - it's as tho' anything appearing afer the repeat region won't
    display.
    See here :
    link
    Below the CV header the CV field should appear - as in :
    <tr>
    <td colspan="2" valign="top"
    class="labelcell">CV</td>
    </tr>
    <tr>
    <td class="profilecell"><?php echo
    $row_Candidates['CV']; ?></td>
    </tr>
    But when you view source, the <?php echo
    $row_Candidates['CV']; ?> is AWOL, and appear as :
    <tr>
    <td colspan="2" valign="top"
    class="labelcell">CV</td>
    </tr>
    <tr>
    <td class="profilecell"></td>
    </tr>
    Anyone spot what's up here?
    Just as I thought I had this page's layout done and dusted,
    as usual, there had to be something not quite right!
    Iain

    Iain -
    I'm gonna have to take a look at this first thing in the
    monring man, sorry.
    I had a problem that got me all tied up.
    If you want, email me at crash blat cdcdigital dotcom and
    i'll answer in
    email for a bit quicker response.
    "Iain71" <[email protected]> wrote in
    message
    news:[email protected]...
    >
    quote:
    what does your code look like? what languages are you using?
    >
    > I'm using PHP/mySQL
    >
    > This is the current PHP at the top of the page :
    >
    > <?php
    require_once('../Connections/connSearchTechUK.php'); ?>
    > <?php
    > $maxRows_Candidates = 10;
    > $pageNum_Candidates = 0;
    > if (isset($_GET['pageNum_Candidates'])) {
    > $pageNum_Candidates = $_GET['pageNum_Candidates'];
    > }
    > $startRow_Candidates = $pageNum_Candidates *
    $maxRows_Candidates;
    >
    > $colname_Candidates = "1";
    > if (isset($_GET['CandidateID'])) {
    > $colname_Candidates = (get_magic_quotes_gpc()) ?
    $_GET['CandidateID'] :
    > addslashes($_GET['CandidateID']);
    > }
    > mysql_select_db($database_connSearchTechUK,
    $connSearchTechUK);
    > $query_Candidates = sprintf("SELECT * FROM Profiles
    INNER JOIN (Candidates
    > INNER JOIN CandidateProfiles ON Candidates.CandidateID =
    > CandidateProfiles.CandidateID) ON Profiles.ProfileID =
    > CandidateProfiles.ProfileID WHERE Candidates.CandidateID
    = %s",
    > $colname_Candidates);
    > $query_limit_Candidates = sprintf("%s LIMIT %d, %d",
    $query_Candidates,
    > $startRow_Candidates, $maxRows_Candidates);
    > $Candidates = mysql_query($query_limit_Candidates,
    $connSearchTechUK) or
    > die(mysql_error());
    > $row_Candidates = mysql_fetch_assoc($Candidates);
    >
    > if (isset($_GET['totalRows_Candidates'])) {
    > $totalRows_Candidates = $_GET['totalRows_Candidates'];
    > } else {
    > $all_Candidates = mysql_query($query_Candidates);
    > $totalRows_Candidates = mysql_num_rows($all_Candidates);
    > }
    > $totalPages_Candidates =
    > ceil($totalRows_Candidates/$maxRows_Candidates)-1;
    > ?>
    >
    > The data is being displayed using PHP echo lines, eg :
    >
    > <?php echo $row_Candidates['FirstName']; ?>
    >
    >
    quote:
    You said all fields were created from the Candidates table -
    so that
    > means
    > the left and bottom sections, yet?
    >
    > The profiles section is fed by another table, yes?
    What's your SQL look
    > like for this? Are you searching by userID, by
    userClass,. how are you
    > determininig what profieles are assocaited with what
    Person?
    >
    > Yup - basically a Candidates table, and a Profiles
    table, looking up on
    > CandidateID - the SQL looks like :
    >
    > SELECT *
    > FROM Profiles INNER JOIN (Candidates INNER JOIN
    CandidateProfiles ON
    > Candidates.CandidateID = CandidateProfiles.CandidateID)
    ON
    > Profiles.ProfileID =
    > CandidateProfiles.ProfileID
    > WHERE Candidates.CandidateID = colname
    >
    >
    quote:
    What does your recordset produce when you test it?
    >
    > The recordset looks fine - in the code 'FirstName'
    displays correctly near
    > the
    > top amongst the main details, but it should also appear
    immediately to the
    > left
    > of "'s CV' - the code in the page is exactly the same
    (as it should be, as
    > the
    > field is just dragged into place from the bindings
    panel) as :
    >
    > <tr>
    > <td colspan="2" valign="top"
    class="labelcell"><?php echo
    > $row_Candidates['FirstName']; ?>'s CV</td>
    > </tr>
    >
    > It (and the 'CV' field) display fine when there's no
    repeat region on the
    > 'Profile' field, but as soon as I add the repeat region,
    the go AWOL.
    >
    > Iain
    >

  • Issue with layout / repeat region

    Can someone have a look at this please?
    Basically two versions of a details page based on a recordset
    using two tables and an interlinking lookup table.
    The idea is to display a person's details at the top of the
    page on the left (from the 'Candidates' table), and on the right
    any job 'profiles' for that person (from a 'Profiles' table). The
    page is obviously just showing the details for the selected
    Candidate, but needs to show *all* the associated profiles.
    So in the first page, the details are correct, but because it
    shows the first record from the query.
    So I thought it would be a simple case of adding a repeat
    region to the 'Profiles' row on the right hand side. But when I do
    that, most of the contact details don't display - only the ID and
    firstname fields.
    http://www.searchtechuk.com/database/candidates2.php
    http://www.searchtechuk.com/database/candidates3.php
    Any clues?
    Iain

    there's no urls with your request.
    "Iain71" <[email protected]> wrote in
    message
    news:eaqnht$il4$[email protected]..
    > Can someone have a look at this please?
    >
    > Basically two versions of a details page based on a
    recordset using two
    > tables
    > and an interlinking lookup table.
    >
    > The idea is to display a person's details at the top of
    the page on the
    > left
    > (from the 'Candidates' table), and on the right any job
    'profiles' for
    > that
    > person (from a 'Profiles' table). The page is obviously
    just showing the
    > details for the selected Candidate, but needs to show
    *all* the associated
    > profiles.
    >
    > So in the first page, the details are correct, but
    because it shows the
    > first
    > record from the query.
    >
    > So I thought it would be a simple case of adding a
    repeat region to the
    > 'Profiles' row on the right hand side. But when I do
    that, most of the
    > contact
    > details don't display - only the ID and firstname
    fields.
    >
    > example 1
    >
    > example 2
    >
    > Any clues?
    >
    > Iain
    >
    >
    >

  • Facing problem in placing portlets in Web Layout

    I am facing problem in placing portlets on Web layout page-
    1. I am getting some space between the regions. I want that my portlet should join adjacent only not even a single pixel gap should be there.
    2. In Web Layout, First region is the left most and after that subsequent region comes right to first region and one after other. But my second and third region's portlet are coming adjacent instead of third region's portlet coming under second region's portlet
    Please help...............

    The first issue is a bug/feature that has been changed in 3.0.8 (9iAS MR1) due out this week. In previous releases we added spacing arbitrarily. Now, you can define the spacing in the region properties.
    I don't understand issue number 2. Can you clarify the problem?

  • Facing problem in placing portlet on Web Layout

    I am facing problem in placing portlets on Web layout page-
    1. I am getting some space between the regions. I want that my portlet should join adjacent only not even a single pixel gap should be there.
    2. In Web Layout, First region is the left most and after that subsequent region comes right to first region and one after other. But my second and third region's portlet are coming adjacent instead of third region's portlet coming under second region's portlet
    Please help...............

    The first issue is a bug/feature that has been changed in 3.0.8 (9iAS MR1) due out this week. In previous releases we added spacing arbitrarily. Now, you can define the spacing in the region properties.
    I don't understand issue number 2. Can you clarify the problem?

  • Grid Layout in theme 26

    Hi,
    I am using Oracle Apex 4.2.1
    I have been following a Youtube Video from Oracle Learning: http://www.youtube.com/watch?v=dPgQZTsdSBI
    The video demonstrates an example of grid layout for regions. The layout has 12 columns and and 4 regions, the regions using 3 columns each. In the video the regions align perfectly.
    I have tried to recreate this in theme 26 but it does not work. I have set theme 26 to reference the page templates for theme 25. However, this does not work and the regions appear next to each other using 1 grid each with no spacing.
    Any ideas on how to fix this in theme 26?
    Thanks,
    JIM

    JIM wrote:
    Hi,
    I am using Oracle Apex 4.2.1
    I have been following a Youtube Video from Oracle Learning: http://www.youtube.com/watch?v=dPgQZTsdSBI
    The video demonstrates an example of grid layout for regions. The layout has 12 columns and and 4 regions, the regions using 3 columns each. In the video the regions align perfectly. The video demonstration uses theme 25, which has page templates set up for a CSS grid system with 12 fixed-width columns.
    I have tried to recreate this in theme 26 but it does not work.The theme 26 page templates are configured to use HTML table layout with a dynamic, variable number of columns. HTML tables expand to fit their contents, so the width of the columns is also variable.
    I have set theme 26 to reference the page templates for theme 25.Don't know what you mean by this. Please explain in more detail.
    However, this does not work and the regions appear next to each other using 1 grid each with no spacing.
    Any ideas on how to fix this in theme 26?Basically there's nothing to "fix". This is how the table-based layout used in theme 26 works. The regions only appear to use "1 grid each" because their content is all the same size. If you add different content to the regions (as I have) then the table columns change width to fit it. You could use CSS to apply fixed widths to the columns, but that kind of defeats the purpose of using table-based layout.
    The themes in APEX 4.2 don't appear to specify spacing between regions when using HTML table layout, but this can be controlled using CSS.
    Why are you trying to use theme 26 rather than theme 25 as shown in the video demo? They don't look that different.

  • Portal layout

    Hi,
    We are planning to use weblogic portal 8.1 beta version.
    We have various user groups exist in our system (physician ,caregiver....).
    We want to have different home page layout for these groups .
    For example for physician, the home page may be of 2 column layout and for caregiver
    it may be of 3 column layout.
    In portal 4.0 there was a concept called "group portal" and we can assign different
    page layout for these group portal.
    Can we have something similar to that in 8.1b version.
    I know a new concept introduced in portal 8.1b version called "role".
    Do I need to create various role to fullfill my objective?
    Do I need to create different user segments for that ??
    Thanks,
    Anju

    The documentation for the basic info on how to create a layout using regions is at
    http://download-east.oracle.com/docs/cd/B14099_15/portal.1014/b13809/lookfeel.htm
    Most of the pages I have created are the typical two-column layout in the middle (left column being the "narrow" column, right column being a specified no. of pixels or a percentage width) with a "header" region above and a "footer" region below, both of which cover the width of the regions in the two-column area. Each of those areas may also have multiple regions within it depending on what content will be published there and how you want that content display (ex. one portlet region with all display options and one portlet region without display options, and one item region.) Warning: the whole creating regions thing may drive you nuts trying to get them to do what you want them to do. :-) Play around on a few test pages to get the feel of creating and editing regions - adding portlets and items to the regions to see how they will look. Once you have figured out your page layout and how you want all your regions setup, I recommend creating that layout in a Portal Template -- under Navigator > Page Groups > Shared Objects > Portal Templates -- that can be applied to any pages in any page group that needs that layout.
    To get the beginnings of a 2-column layout page with a header and footer region: Create two regions below the initial region that is on a page. In the middle region, create a region to the right. Edit each region to define its region type (portlets, items, or sub-page links), size, and other attributes.

  • Gnome ignores keyboard layout settings

    Hi everybody!
    As easy as the title states, I set a number of keyboard layouts in Gnome and sort them in the relevant window, but every time I start a new session the English layout is automatically selected, against what I specified.
    It's the only problem that wasn't fixed by switching to systemd.
    Any idea?

    I have exactly the same problem. I want to have multiple layouts, but it just seems impossible. English takes precedence for some reason. System settings do not have any impact on the setup. They are completely ignored.
    The example on Gentoo only deals with one layout as does archlinux wiki. I need se, en, ru. But seems impossible for the time being. I guess gnome 3 does not separate keyboard layouts and regional layouts. Gnome 3 can only handle regional settings. To be absolutely clear, I would prefer gnome to show the menus in English, but use a Swedish keyboard layout.

  • How to Create Master Detail Page with Query Region

    Hi,
    1. I have a requirement that i need to create a Master(Supplier) Detail(Supplier Site) Page with Query Region.
    Eg. Supplier A in Australia has Supplier Sites X in Melbourne and Y in Sydney.
          Supplier B in US has Supplier Sites C in New York and D in California.
    I need to have Search, based on two fields Supplier Name and Country
    Let us assume i am searching with Supplier Name A then the page should be in the below layout
    Query Region
    Supplier Name : A
    Country:
    Master
    Supplier Name  Country
        A                     Australia
    Detail
    Supplier Site  City
    X                   Melbourne
    Y                   Sydney
    In detail VO it should allow me to add new sites which means i need to connect this VO to database to insert new records
    I have gone few threads and understood that this can be achieved by creating SupplierVO, SupplierSiteVO and a ViewLink.
    But when tried i don't know how can i relate my query region with the Suppleir Table(Header Reagin and Table Using Wizard) and Supplier Site Table(Header Region and Table Using Wizard) i am not sure if i am correct or not, please advise
    2. Also i need to have a Open button in this page and if click the button it should navigate to some other page.
    Please help me how can i achieve this.
    - How to design my page with query region and master detail tables
    - what is the AM and CO code need to be handled
    - What is the code should i write in Open button to open new OAF page.
    Thanks,
    CSK

    Hi,
    This link will be useful for your requirement.
    Master Detail Page using Hide Show and Advanced Table inside Advanced Table - OracleArea51.com
    Let me know if you need more help in this.
    Thanks and Regards,
    Myvizhi

  • Region Content Properties

    In the content area page style -> folder layout tab -> region properties -> region content properties -> how do the "In Place Item Display" and "Associated Functions" settings affect the region, what is their purpose and when should they be used. I could not find any documentation. Thanks for your help.

    The sort order only applies to the Sort By property, not the
    Group By property.
    Regards,
    Jerry

  • Personalize Stack Layout: (responsibilityRN)

    hi,
    does anyone knows how to add a Servlet Include in the Personalize Stack Layout: (responsibilityRN) region of the web page of the eBusiness Suite?
    I am always getting the same error when i put the servet and that is NoSuchMethodError
    thanks,
    federico

    Hi,
    These are the steps i follow
    1) Go into Personalize Stack Layout: (responsibilityRN)
    2) In the Stack Layout: (responsibilityRN) I choose Create Item
    3) There I choose Level: Site
    Item Style: Servlet Include
    4) ID: XX_SERVLET
    Source URI: oracle.apps.fnd.rocela.report.am.XXServlet
    Admin Personalization: true
    Rendered: true
    I am getting NoSuchMethodError.
    Do you think that the servlet it is waiting is a Controller and not a doGet and doPost servlet?
    thanks,
    federico

  • View more details in the SummaryContainerRN

    Hi all,
    I just started reading about OAF, I dealt with simple personalization and i am trying now to do the following:
    In each SSHR, there is a top region in which the employee name, number ... etc is displayed.
    The details we are having now (shown) are: Employee number, employee name, organization email address and the business group.
    I am trying to add others details, let's say the organization name.
    Does not included to be a personalization or a customization!
    I tried to personalize SummaryContainerRN region, according to what i understood my additional item should be in this path
    Stack Layout: Summary Region>>>Labeled Field Layout: (PersonSummaryRN)
    Should i customize the VO then create an item there?
    Am i in the correct path??
    would you please advice about the steps required; I am a beginner!
    Thanks in advance

    Thanks a lor for your reply
    the items i need to view is already in the VO. so no need to extend the current one..
    I have personlize SummaryContainerRN and created the new item.
    The item shown in only the function in which i personalize the SummaryContainerRN in.
    I need the new item to be viewed in any page that use this common RN (SummaryContainerRN)
    How can i achieve this?

  • Can't Display any item from PersonDetailsVO in SummaryRegion

    Using SSHR, OAF personalization I am trying to display some more fields in the
    summary region like 'DateOfBirth' & 'FullName' from 'PersonDetailsVO'
    I create the item with the below steps:
    1) Click on the "Personalize "Summary Region"" link
    2) Create a item under "Stack Layout: Summary Region" with message styled text
    3) Add Export View Attribute as "FullName"
    4) Add View Attribute as "FullName" (for other available field see PersonDetailsVO.xml file)
    $per/java/selfservice/common/server/PersonDetailsVO.xml
    5) Add View Instance as "PersonDetailsVO"
    After creating the item, I can see the prompt only but without data !!
    Adding any new item from any VO is the same, only items from AsgSummaryVO is working fine....
    Workaround:
    1) I added PersonDetailsVO to the Application Module file, SummaryAM.xml by adding the below lines:
    <ViewUsage
    Name="PersonDetailsVO"
    ViewObjectName="oracle.apps.per.selfservice.common.server.PersonDetailsVO" >
    </ViewUsage>
    Still the same issue, we need to have many fields in the summary region like salary details and some person details .....
    Please assist me :)

    Here's an example.
    This one might be a bit complex. It is doing certain rendering depending on the result of the query execution.
    You just need to focus on the commands for passing parameters and executing the VO in the initial lines.
    OAViewObject oaviewobject84 = (OAViewObject)oaapplicationmodule.findViewObject("PayHoursByRateVO");
    oaviewobject84.setWhereClauseParam(0, s2);
    oaviewobject84.executeQuery();
    if(flag)
    oapagecontext.writeDiagnostics(this, "executed PayHoursByRateVO", 1);
    boolean flag3 = oaviewobject84.hasNext();
    if(flag)
    oapagecontext.writeDiagnostics(this, "rateDetailExists = " + flag3, 1);
    if(!flag3)
    if(oatablebean84 != null)
    oatablebean84.setRendered(false);
    OAWebBean oawebbean5 = oawebbean.findIndexedChildRecursive("PayPayslipRateDetailsHead");
    if(oawebbean5 != null)
    oawebbean5.setRendered(false);
    return;
    } else
    if(oatablebean84 != null)
    oatablebean84.prepareForRendering(oapagecontext);
    int k = oatablebean84.getIndexedChildCount();
    for(int l = 1; l < k; l++)
    DataObjectList dataobjectlist1 = oatablebean84.getColumnFormats();
    DictionaryData dictionarydata1 = (DictionaryData)dataobjectlist1.getItem(l);
    if(dictionarydata1 != null)
    dictionarydata1.put("columnDataFormat", "numberFormat");
    if(flag)
    oapagecontext.writeDiagnostics(this, "formatted payRateDetailRegion", 1);
    }

Maybe you are looking for