How to Stretch Components in Show Detail Item - Jdev 11.1.2

Hello:
I have a panel splitter-verticle, and in the second facet I have a panel stretch layout and in that a panel tabbed. Inside a show detail item, I have another panel splitter-verticle. Inside the first facet, I have a af:query and in the second facet I have a af:form. But both the af:query and the af:form do not stretch to fill the open space, when I move the first splitter.
What is required to have the af:query and af:form inside a show detail item with a splitter stretch to fill the open space?
Thanks for the help.
Edited by: 862658 on Aug 11, 2011 6:29 AM

Hi,
set the showDetailItem StretchChildren property to First
Frank

Similar Messages

  • How to stretch background image, How to change show detail item header

    Hello all I have a few questions I would like to pose humbly to your collective wisdom, FYI I use Jdeveloper 11.1.3 and ADF Fusion
    First, how do I stretch the background Image? I have a background image in a show detail item but it is very small. 400 by 400. Thing is it's just a pic of the color red gradually moving from bright to dark in the image. So stretching it should not make it look horrible, but also repeating it makes it look silly, because you have 50 little images of dark red to bright red, instead of one big image of dark red to bright red. Can this be done and how?
    Secondly how do I change the header of the show detail item in a Panel Accordion? I have 8 Show detail items, in the middle of my page and the user can click and switch between which one is open, which makes for a nice effect, but I would like to give each of the show detail items a particular color. I did this with the backgrounds but I can't do it with the header, which are always visible, while only one background is visible at a time. I tried using the skinning technique but I wasn't able to change the header (I changed the background so the skinning was done correctly). I used
    af|panelAccordion::header
      color: blue;
      font-family: Arial, Helvetica, sans-serif;
      background: Maroon;
      background-color: Maroon;
    }Because I read in the Fusion Guide (or somewhere) that the show detail item cannot be skinned and therefore doesn't have a property like af panel Accordion.
    Can it though be achieved through some other means?
    Third when I drop the data control on the page and if I pick search form, why can't I use the CreateInsert button? Why can't I use the form to Create new rows? It keeps giving me some type of error, like Row is out of bounds or something? Is that some mistake with my database, or page, or is it not possible to do it like that?
    I welcome your words of guidance and also happy new year Huzzah!!!
    Edited by: Dino2dy on Jan 4, 2011 2:01 AM

    Thanks I haven't really had time to play around with this, as I have other concerns, but I do plan on coming back to it, and it is one of the things about ADF that really is bothersome. Creatively it means I can choose between 2 styles when making an app Blaf Rich and Fusion (the other ones are just worse versions of the two) while I will concede that the superb out of the box functionalities and things I can do declaratively probably mean I won't have a Dreamweaver type freedom of design I thought there might be a way to do some of these custom design changes.
    A few questions though
    When you skin the accordion are you able to propagate the changes to show detail item headers? Because that is one thing that I really want to change, just the color of the headers but I was unable to do so.
    Also there is a component that is not part of a panel accordion or panel tabbed called panel box. Again I changed the backgrounds to great effect but I need to change the panel header and in this I failed.
    Granted I used the css color attribute for both not a picture so maybe that is the reason. Just wondering if you succeeded.
    Cheers

  • How to open show detail item on ADF link click

    Hi,
    Can anybody tell me how to open show detail item tab on link click ??
    thanks,
    Nitesh

    Hi,
    what Frank is saying..
    1. select showdetailitem component
    2. go to disclosure property
    3. attach a managed bean variable (return true/false)
    4. in the commandLink method set the variable true/false depending on requirement
    or
    1. select showdetailitem component
    2. create a binding in the managed bean
    3. in the commandLink method set showdetailitembinding.setDisclosed(true/false);
    4. add PPR
    refer http://jobinesh.blogspot.in/2010/12/programmatically-disclosing.html
    ~Abhijit
    Edited by: Abhijit Dutta on Mar 12, 2013 5:20 PM

  • PPR on Show detail Item is not working

    Hi Team,
    I want to completely show / hide the show detail Item based on selection in other showDetailItem . I have used the ppr to achieve this functionality. But its not working.
    Any suggestions please.

    hi user,
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <af:panelTabbed id="pt1"
                            styleClass="AFStretchWidth"
                            binding="#{backingBeanScope.Mbean.pt1}">
              <af:showDetailItem text="showDetailItem 1" id="sdi1"
                                 rendered="#{backingBeanScope.Mbean.cb1.selected}"
                                 binding="#{backingBeanScope.Mbean.sdi1}"/>
              <af:showDetailItem text="showDetailItem 2" id="sdi2"
                                 rendered="#{backingBeanScope.Mbean.cb2.selected}"
                                 binding="#{backingBeanScope.Mbean.sdi2}"/>
              <af:showDetailItem text="showDetailItem 3" id="sdi3"
                                 rendered="#{backingBeanScope.Mbean.cb3.selected}"
                                 binding="#{backingBeanScope.Mbean.sdi3}"/>
            </af:panelTabbed>
            <af:selectBooleanCheckbox text="check tab1" id="sbc1" autoSubmit="true"
                                      binding="#{backingBeanScope.Mbean.cb1}"
                                      valueChangeListener="#{backingBeanScope.Mbean.cb1s}"/>
            <af:selectBooleanCheckbox text="check tab2" id="sbc2" autoSubmit="true"
                                      binding="#{backingBeanScope.Mbean.cb2}"
                                      valueChangeListener="#{backingBeanScope.Mbean.cb2s}"/>
            <af:selectBooleanCheckbox text="check tab3" id="sbc3" autoSubmit="true"
                                      binding="#{backingBeanScope.Mbean.cb3}"
                                      valueChangeListener="#{backingBeanScope.Mbean.cb3s}"
                                      partialTriggers="pt1 sdi3"/>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>
    import javax.faces.event.ValueChangeEvent;
    import oracle.adf.view.rich.component.rich.input.RichSelectBooleanCheckbox;
    import oracle.adf.view.rich.component.rich.layout.RichPanelTabbed;
    import oracle.adf.view.rich.component.rich.layout.RichShowDetailItem;
    import oracle.adf.view.rich.context.AdfFacesContext;
    public class Mbean {
        private RichSelectBooleanCheckbox cb1;
        private RichSelectBooleanCheckbox cb2;
        private RichSelectBooleanCheckbox cb3;
        private RichShowDetailItem sdi1;
        private RichShowDetailItem sdi2;
        private RichShowDetailItem sdi3;
        private RichPanelTabbed pt1;
        public Mbean() {
        public void setCb1(RichSelectBooleanCheckbox cb1) {
            this.cb1 = cb1;
        public RichSelectBooleanCheckbox getCb1() {
            return cb1;
        public void setCb2(RichSelectBooleanCheckbox cb2) {
            this.cb2 = cb2;
        public RichSelectBooleanCheckbox getCb2() {
            return cb2;
        public void setCb3(RichSelectBooleanCheckbox cb3) {
            this.cb3 = cb3;
        public RichSelectBooleanCheckbox getCb3() {
            return cb3;
        public void cb1s(ValueChangeEvent valueChangeEvent) {
            // Add event code here...
            cb1.setSelected(true);
            AdfFacesContext.getCurrentInstance().addPartialTarget(pt1);
        public void cb2s(ValueChangeEvent valueChangeEvent) {
            // Add event code here...
            cb2.setSelected(true);
            AdfFacesContext.getCurrentInstance().addPartialTarget(pt1);
        public void cb3s(ValueChangeEvent valueChangeEvent) {
            // Add event code here...
            cb3.setSelected(true);
            AdfFacesContext.getCurrentInstance().addPartialTarget(pt1);
        public void setSdi1(RichShowDetailItem sdi1) {
            this.sdi1 = sdi1;
        public RichShowDetailItem getSdi1() {
            return sdi1;
        public void setSdi2(RichShowDetailItem sdi2) {
            this.sdi2 = sdi2;
        public RichShowDetailItem getSdi2() {
            return sdi2;
        public void setSdi3(RichShowDetailItem sdi3) {
            this.sdi3 = sdi3;
        public RichShowDetailItem getSdi3() {
            return sdi3;
        public void setPt1(RichPanelTabbed pt1) {
            this.pt1 = pt1;
        public RichPanelTabbed getPt1() {
            return pt1;
    it should work.

  • Programatically switching show detail item

    Hi All,
    I have 2 show detail items in af:paneltab
    in first show detail item i have link on click of the link i need to switch to the second show detail item.
    so i wrote by function and binded it to actionevent of the command link as below
    for (UIComponent child : internalTabs.getChildren()) {
    RichShowDetailItem sdi = (RichShowDetailItem)child;
    if(sdi.getText().equals("Faulted and Rejected Messages"))
    sdi.setDisclosed(false);
    else
    sdi.setDisclosed(true);
    AdfFacesContext.getCurrentInstance().addPartialTarget(internalTabs);
    where internalTabs is binding to af;PanelTab and Faulted and Rejected Messagesis second tab text
    for the first time it is switching correctly to second showdetailITem.when we again come to the first Showdetailitem on click of it. from that time onwards it is not switching but function is getting called.
    i am using jdev11.1.1.5
    Thanks in advance

    Hi,
    Please check if you can get any help from the code below:
    private String selectedItem="sdi2";
    public void displaySelectedItem(ValueChangeEvent valueChangeEvent) {
    RichPanelTabbed richPanelTabbed = getPanelTabbed();
    for (UIComponent child : richPanelTabbed.getChildren()) {
    RichShowDetailItem sdi = (RichShowDetailItem)child;
    sdi.setDisclosed(isThisItemToBeDisclosed(sdi));
    private boolean isThisItemToBeDisclosed(RichShowDetailItem sdi) {
    FacesContext context = FacesContext.getCurrentInstance();
    return selectedItem.equals(sdi.getClientId(context));
    private RichPanelTabbed getPanelTabbed() {
    FacesContext context = FacesContext.getCurrentInstance();
    return (RichPanelTabbed)context.getViewRoot().findComponent("pt1");
    Regards

  • How to set public even show detail to to all users

    How to set public even to show detail to all users or group. By default the public event only show "Busy" on calendar.

    Change the calendar's "everybody" permissions to include "Read" permisssion

  • How To Create A Portlet showing granted Items

    Hello,
    we recently installed ias 9.0.2 + Portal.
    Now I want to create a personalized portlet showing all items listed in a Portal DB Provider granted to the user (or group) actually logged in. But I don't know how to find this information or what tables to use . Perhaps I can find some help here.
    Thanks a lot,
    Frank G.

    Hi Wei
    You can create a portlet using either the Content Server (or something else) that contains links to open the content_item.jsp provided by content server. I have included a description of the JSP below and the examples outline how it would be used from a presenation template. Alternatively, if you are not using the Content Server to create your portlet you can replace the pcs tags with static values.
    content_item.jsp
    Can be used to open the content item editor. You can use a combination of the parameters below to use the content_item.jsp to create a new content item or edit an existing item.
    Parameters
    fid = the id of the folder to create a new content item
    dfid = the id of the folder that contains the det specified by the det parameter
    det = the name of the DET to use to create a new content item. The DET must be located in either the folder specified by dfid or fid.
    ctid = the id of the DET to use to create a new content item.
    ciid = the id of the content item to open in the content item editor
    checkout = set to true to checkout the content item specified by ciid.
    Examples
    To create a new content item in the articles folder using the news article DET (also located in the articles folder
    <pcs:value expr='pcs_location'></pcs:value>/published_tools/content_item.jsp?fid=<pcs:value expr="folderByPath('Articles').pcs_id"></pcs:value>&det=News%20Article"
    To edit an existing content item
    <pcs:value expr='pcs_location'></pcs:value>/published_tools/content_item.jsp?ciid=<pcs:value expr='pcs_id'></pcs:value>

  • How to present content without showing the item in left nav bar?

    Here's the scenario -
    I have a single role.  A user logs in and gets their content accordingly.  The default content in the main display area is whatever the first item in the role is (e.g. IView A).  Under that are various folders, iviews, etc.
    How can I make the content from IView A appear, but not actually show the title of IView A in the left hand nav bar?

    Here is what you can do (left navigation is called detailed navigation)
           1.      From the Page Content List of the Default Framework Page, select Desktop Innerpage and click Open.
           2.      From the Page Content List of the Desktop Innerpage select the Detailed Navigation iView and click Properties.
           3.      Scroll to the Start at Level property and assign a value that is one higher than the value of the Number of Display Levels property in procedure l. Configure Top-Level Navigation. For example, if top-level navigation is configured for one level, the detailed navigation begins on the second level, that is with the value 2.
           4.      Click Save.
    Detailed navigation is not automatically synchronized with top-level navigation; the values you enter for top-level and detailed navigation must agree. For example, if you enter the value 1 for top-level navigation, while detailed navigation still has the value 3, one level is left out, creating a gap.
    For more details check this
    http://help.sap.com/saphelp_nw04/helpdata/en/2d/91e33edd37de63e10000000a11405a/frameset.htm
    Regards,
    Piyush
    ps: please award points for useful answers.

  • Icon on tab show detail item

    hello,
    Icon is not showing when i run the application it show only blank box , on development environment.
    The size of the icon is 32x32.
    I add through property inspector icon and accept to save on
    C:\JDeveloper\mywork\PageTemplateDemo\ViewController\src\META-INF\resources\images\
    Using jdeveloper 11gR2
    <af:showDetailItem text="Patient Registration" id="sdi5"
    inflexibleHeight="100" icon="#{resource['images:Edit.png']}"/>
    Any help please?
    Thank you.

    I guess, the images are in the wrong location.
    The images are be organized in
    */ViewController/public_html/images/sample.png*
    Can you move the images folder here and check?
    <af:document title="Sample.jspx" id="d1">
    <af:form id="f1">
    <af:panelTabbed id="pt1">
    <af:showDetailItem text="showDetailItem 1" id="sdi1" icon="/images/sample.png"/>
    <af:showDetailItem text="showDetailItem 2" id="sdi2"/>
    </af:panelTabbed>
    </af:form>
    </af:document>
    Thanks,
    Navaneeth

  • Passing URL parameter across Show detail item tabs

    Hi
    I have developed a sample jsr168 portlet which takes 1 input parameter and deployed it into the stand alone OC4J shipped with Jdev 10.1.3.4.0
    In the view controller i created a jspx page and added the portlet to it. The portlet is added under a ShowOnetab->ShowDetailItem component in the jspx page. I mapped the parameter which i pass in the url to the portlet in the pagedef file of the jspx page.
    The page works fine when i run it for the first time but if i were to move to another tab (ShowDetailItem) in the page and come back to the first tab the parameter is not registered even though it still exists in the url.
    Can somebody please sugget a way to persist URL parameters across tabs (ShowDetailItem) in the page.
    Thanks
    Nikhil

    Hi
    I have developed a sample jsr168 portlet which takes 1 input parameter and deployed it into the stand alone OC4J shipped with Jdev 10.1.3.4.0
    In the view controller i created a jspx page and added the portlet to it. The portlet is added under a ShowOnetab->ShowDetailItem component in the jspx page. I mapped the parameter which i pass in the url to the portlet in the pagedef file of the jspx page.
    The page works fine when i run it for the first time but if i were to move to another tab (ShowDetailItem) in the page and come back to the first tab the parameter is not registered even though it still exists in the url.
    Can somebody please sugget a way to persist URL parameters across tabs (ShowDetailItem) in the page.
    Thanks
    Nikhil

  • Show detail item..

    Dear,
    I'm using jdev11g,
    whether is it possible to rearrange the panel tabbed by the user.
    if it is possible means could u tell me the steps.
    Thanks in advance.
    Regards,
    Rengaraj

    Hi,
    this does not seem to be possible.
    Frank

  • How to show two items using $f_Show_On_Value_Item_Row

    Hi,
    I have a select list with values with Yes, No and two items(1 check box, 1 text field) below it.
    I want to show two items if i select 'Yes' in select list.
    I am able to show/hide one item using onchange="$f_Show_On_Value_Item_Row(this,'P1_A_EMAIL_PERS_REQ','Yes');"
    How can i pass two items to this function.
    Thanks for ur help in advance
    Regards,
    Ram

    Ram,
    Rather than putting the call to $f_Show... inline with the onchange handler, create a separate function and call that function does the work and call that function instead. See this thread for some more details:
    Problem when calling more than 1 Javascript function
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • How to show details from web part as pop up window

    Hello
    I designed few web pages in SharePoint Designer 2010 and trying to customize it. I have a XSLTListView web part that is displaying filtered data from the external SQL database. When user choses the item from this list, I need it to show in the new pop
    up window. I can't seem to find the way to do it. Saw multiple references to use SP.UI.ModalDialog.ShowPopupDialog(url), but I don't know how and where to incorporate it, since there is no place in the page where it actually specifies that url
    of the page that I need to show as pop up.
    Below there is a code for the XsltListWebPart, where I'm hoping I could make changes to make it pop up (it seems that this is the part that is calling the display details form). The form that I'd like to pop up is DispForm.aspx
    <script>
    function showpreview<xsl:value-of select="$ViewCounter" />(o) {
    count = 1;
    for(i = 0; i &lt; o.childNodes.length; i++)
    var child = o.childNodes[i];
    if (child.style.display == &quot;none&quot; &amp;&amp; child.tagName == &quot;DIV&quot;)
    f = document.getElementById(&quot;n&quot; + count + &quot;<xsl:value-of select="$WPQ" />&quot;);
    f.innerHTML = unescape(child.innerHTML) + &apos;&#160;&apos;;
    count ++;
    </script>
    <div id="previewpaneerror{$ViewCounter}" style="width: 801px"></div>
    <table cellspacing="0" cellpadding="0" border="0" id="previewpanetable{$ViewCounter}" dir="{List/@Direction}">
    <xsl:choose>
    <xsl:when test="not($dvt_RowCount=0)">
    <tr>
    <td valign="top" style="width: 186px">
    <div class="ms-ppleft" style="width: 100px">
    <table cellspacing="0" cellpadding="0" border="0" style="width: 122%">
    <xsl:apply-templates select="." mode="RenderView"/>
    </table>
    </div>
    </td>
    <td valign="top">
    <div id="preview1{generate-id()}" class="style2" style="width: 690px; margin-left: 30px;">
    <table border="0" cellpadding="0" cellspacing="0">
    <xsl:for-each select="ViewFields/FieldRef[not(@Explicit='TRUE')]">
    <tr>
    <td nowrap="nowrap" valign="top" class="ms-formlabel" style="width: 143px">
    <nobr>
    <xsl:value-of select="@DisplayName"/>
    </nobr>
    </td>
    <td valign="top" class="ms-formbody" id="n{position()}{$WPQ}" style="width: 370px">
    </td>
    </tr>
    </xsl:for-each>
    </table>
    </div>
    </td>
    </tr>
    </xsl:when>
    <xsl:otherwise>
    <tr>
    <td class="ms-vb">
    <table class="ms-summarycustombody" cellpadding="0" cellspacing="0" border="0">
    <xsl:call-template name="EmptyTemplate" />
    </table>
    </td>
    </tr>
    <tr>
    <td height="5">
    <img src="/_layouts/images/blank.gif" width="1" height="5" alt="" />
    </td>
    </tr>
    </xsl:otherwise>
    </xsl:choose>
    </table>
    </xsl:template>
    Alla Sanders

    Hi Alla,
    You can show details from web part as pop up window using JavaScript with SP.UI.ModalDialog.ShowPopupDialog(url). Here is a demo you can refer to:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function(){
    var obj1=$("a[id='forum0-NewPostLink']");
    url="http://sp13"+obj1.attr("href");
    //alert(url);
    obj1.removeAttr("href");
    obj1.click(function(){
    openDialogBox(url);
    function openDialogBox(url) {
    var pageUrl=url;
    var title="New Discussion";
    SP.UI.ModalDialog.showModalDialog(
    url: pageUrl,
    autoSize: true,
    title: title,
    dialogReturnValueCallback: function (result){
    if(result== SP.UI.DialogResult.OK){
    //refresh parent window
    window.location.href=window.location.href;
    </script>
    Reference:
    https://social.technet.microsoft.com/Forums/en-US/f18062ed-2e17-440e-8e00-2904f5316802/discussion-board-forum-opens-in-other-page?forum=sharepointdevel
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Show detailed screen for "WORK ITEMS"

    Hi
    We have configured POWL for showing Leave / Travel request. The requirement is ... we have to show detailed screen of respective item which are displaying under "Work Items", it's a combination of Leave / Travel etc.
    How do I show complete detail screen of selected item which are displaying under "Work Items "???
    Thanks

    Powl has multiples queries ie leave request and Timesheet you can all filter to see all tasks in one screen ALl the queries in the initial screen comes form POWL_COCKPIT

  • SC Header POWL Detail Component Showing SC Item POWL

    Hi ,
    I have created SC Header POWL Query according to this SAP Note:
    SAP Note 1410793 - SRM Shopping Carts (SC) header POWL query.
    Now i want to show SC Item POWL when a user clicks on SC Header POWL's record.
    i am looking for a way to show SC Item POWL in POWL Details component.
    I know that i can specify the POWL Detail component name in Method /SAPSRM/CL_CLL_POWL_BASE_AGENT--> IF_POWL_FEEDER~GET_DETAIL_COMP.
    However here i can only specify name of detail component and not the configuration name so not too sure how can i show SC Item POWL here.
    Any clues? suggestions?
    Regards,
    Ashish Shah

    Dear All,
    what i have figured out till now is the following:
    in the "Settings" of the POWL (button is at the most right top corner of the POWL), there is the tab "Display" available. Under that tab, there is a check box for hierarchy available. Once the check box is checked, the field "Define" becomes active.
    By clicking on the "Define" button, a pop up opens, where the columns for the hierarchy display can be selected.
    The important point now, is it is necessary to select at leas two columns here, in order to receive a hierarchical display. The first column will build the header in the POWL and the second column will display its information in the POWL, once the user has expanded the header level of the position in the POWL.
    Thank you.

Maybe you are looking for

  • Error while opening Message Mapping

    Hi All, I have one MM in ESR, IDoc to EDI, it has been developed before, and the interface is working successfully.But when I open this MM in ESR, it given a STOP error with desc as 'For input string: ""'. and then there is nothing displayed on Scree

  • Naming an object - Simple?! - Javascript/Windows

    Hey all! And again I'm having trouble in a pretty simple thing. I searched for a code that searches the Paragraph Style that i want to, till here no problem. I fount the item, swap to selection tool so that it can change the selection to the text box

  • IMovie .aiff disaster - any ideas?

    I was working with Final Cut Express/Soundtrack/LiveType to edit one of my iMovie clips so I could export it as a Quicktime, then import it back into iMovie, when unexpectedly all of my iMovie audio tracks encoded to .aiff files! Now the entire movie

  • How do i select last 5 minutes data from table

    there is table called 'x' which has cron job set of interval=5 min,i want to select last 5 min data and delete rest of the data in it or save in one of the table say 'y'.how do i going to do it???kindly help out please?? Edited by: user10341747 on Se

  • I updated firefox and it doesn't work. I type in a web address and it does not to connect. Tried several.

    After the latest update, I open firefox and it shows the web address but doesn't load. Safari works on the same computer and I did not change anything else.