Stretching the region dynamically in a facet of panel splitter.

Hi,
Jdev version- 11.1.1.6.0
We are using a panel splitter in a jspx page and inside on of the facet of the panel splitter we are using a taskflow with page fragments as a region.The use case is as user can stretch the panel splitter,we want to stretch the page along with the splitter.
Here is the component structure.
Panel splitter which is used in the jspx page.
  <af:panelSplitter orientation="horizontal" splitterPosition="195"
                            positionedFromEnd="true" id="ps2"
                            firstLandmark="main" secondLandmark="contentinfo"
                            collapsed="true" dimensionsFrom="auto">
  <f:facet name="second">
<af:region/>
</f:facet>
</af:panelSplitter>
And the TaskFlow(Region inside the panel splitter given above)  with jsff page as below.
<af:decorativeBox id="db1">
    <f:facet name="center">
     <panelGroupLayout  layout="default">
       <af:outputText/>
       <af:panelStretchLayout styleClass="AFStretchWidth">
<f:facet name="top">
         <af:panelGroupLayout layout="horizontal">
            <af:selectOneChoice>
           </af:selectOneChoice>
           </af:panelGroupLayout>
<f:facet name="center">
        <af:panelGroupLayout id="pgl287" layout="scroll">
                <af:inputText
                                    rows="2" columns="40"
                                    dimensionsFrom="auto"
                                    styleClass="AFStretchWidth"/>//This input text we want to stretch dynamically with the panel stretch layout.
       </af:panelGroupLayout>
</f:facet>
        </af:panelStretchLayout>
     </af:panelGroupLayout>
    </f:facet>
</af:decorativeBox>

Hi Timo,
We have changed the script given by you as below for our requirement.
function setSplitterPos(event) {
            var source = event.getSource();
            var pos = source.getSplitterPosition();
            if (pos &gt; 460)
                source.setSplitterPosition(460);
            else
                source.setSplitterPosition(pos);
            if (pos &lt; 200)
                source.setSplitterPosition(200);
            else
                source.setSplitterPosition(pos);
we are calling the above script when we collapse/stretch the panel splitter as below.
<af:panelSplitter
orientation="horizontal"    splitterPosition="460"
                                      positionedFromEnd="true" >
<af:clientListener method="setSplitterPos"
                                         type="propertyChange"/>
</af:panelSplitter>
We are defining the maximum and minimum positions of the panel splitter.But when I stretch the panel splitter  to the max level the script is taking too much time to load and some times its getting stuck.

Similar Messages

  • How can i render one facet in panel splitter based on conditions?

    Jdeveloper Version - 11.1.1.5
    How can i render one facet in panel splitter based on conditions?
    Ex : In horizontal Panel splitter first facet - af table
    second facet - af table
    if any one table estimated row count is zero i nedd to render the respective facet?
    is it possible?
    Please help..
    Thanks
    sk

    Yes you can do it but not on facet you can apply rendered attribute to the any of the child component of the facet.
    Thanks
    Raghav

  • How to distibute height between two facets of Panel Splitter

    I am using a panel splitter with vertical orientation and I want that the 2 facets should use the height in 2:1 ratio. How can I do it.

    javascript would be an option.
    function setSplitterPos(event) {
    var source = event.getSource() ;
    hight= java.awt.Toolkit.getDefaultToolkit().getScreenSize().hight;
    source.setSplitterPosition(hight/3);
    insert inside af:panelSplitter ---> af:clientListener as:
    < af:clientListener method="setSplitterPos" type="propertyChange"/ >Timo

  • How to place the components dynamically in page facets.

    I have created a page template
    Logo | Header | User Area |
    | | |
    Menu| Content Area 1 | Content Area 2 |
    | | |
    | | |
    | | |
    | | |
    | | |
    | | |
    | Content Area 3 | Content Area 4 |
    | | |
    | | |
    | | |
    Footer
    I am a new bee. i need to create a system that can allow users to configure the componets in the desired place holder place.
    And save their location so that it can load into the same place on login where it was saved earlier.
    Is there any one who can tell me how to do it.
    Tariq mehmood

    Are you talking about end users placing items in specific places or are you talking about developers placing items on your template in specific places?
    For end user runtime customization you might want to look into using MDS.
    See:
    http://download.oracle.com/otn_hosted_doc/jdeveloper/111demos/mds/mds.html
    http://www.oracle.com/technology/products/jdev/11/cuecards111/adf_set_18/ccset18_ALL.html

  • How to stretch the height of the table dynamically?

    Hi,
    I am using JDeveloper 11.1.1.4.0.
    I have created summary details page screen where i have to show the non-editable grid at the top portion and respective editable form fields at the bottom portion.
    Requirement:
    Based on the free form height, rest of the screen area should be occupied by the non-editable grid automatically.
    Tried:
    1. I have a vertical panel splitter. Also set the dimensionFromEnd to true.
    2. Added panelStretchLayout inside both the first facet and second fact of panel splitter.
    3. Placed the grid inside the first facet's panelStretchLayout (Inside centre facet)
    4. Placed the free form inside the second facet's panelStretchLayout (Inside centre facet)
    By having the above structure and setting splitter position, i am able fix the height for the free form and to get my grid occupied the remaining space.
    Question:
    How can i achieve the same without specifying the splitte position?
    Thanks in Advance.
    Perumal

    Hi
    can you check this
    <af:panelStretchLayout id="psl1" styleClass="AFStretchWidth">
    <f:facet name="bottom"/>
    <f:facet name="center">
    <af:panelTabbed id="pt1">
    <af:showDetailItem text="#{edmsBundle.EMAIL}" id="sdi1"
    stretchChildren="first" disclosed="true" <--------- this tab width is full but height is not
    inlineStyle="height:9000.0px;">
    <af:panelSplitter id="ps1">
                      <f:facet name="first">
                       <af:region value="#{bindings.emailconfig1.regionModel}" id="r1"/>
                      </f:facet>
                    </af:panelSplitter>
    </af:panelTabbed>
    </f:facet>
    <f:facet name="start"/>
    <f:facet name="end"/>
    <f:facet name="top"/>
    </af:panelStretchLayout>

  • Purely cosmetic - how to 'stretch' the block of color in a region

    This is not what I should be learning about right now, but..... what should I search for to learn about controlling the width of color used in a region -
    right now, the region widths vary, depending on the needs of the contents.
    It's too jumpy for me - I would like to be able to control it. I'm sure it's possible, since I see that the widths are consistent in Apex itself.
    Thanks -
    Marion

    The thing is.... I was bitten back in 1980, when I bought my first computer - Apple IIE, with 48k.... working with DOS and dbase
    but I never had the time to really pull it together to learn database - and then the kids came and I delegated db-education to my husband (who was disabled a year after marriage).
    And for 20 years I've been asking him to write a few databases for me.
    And you know where that got me, right?
    So now, with a daughter in college and a junior in high school, and with the ability to turn a database into a WEB APPLICATION so my co-workers can access the data (and not call me to find out when we were last in Sacramento), I am DETERMINED to learn and pull this together myself.
    The dang interactive gear is in my mind when I fall asleep and when I wake up.
    Great fun times
    Marion

  • Partially refresh the sql report region by clicking the region selector tab

    Hi,
    In my page i have a region display selector tab. This region selector tab contain show all,booking,service,.. etc. when i click the booking tab,sql report region will appear. My intention is when i click the booking tab i want to refresh that region partially to display the record according to sql query in that region source of report region.
    how to do this?
    skud.

    KevinFitz wrote:
    The report region being displayed is conditional on P2_QUERY item being NOT NULL. I assume the region not appearing is because the Action for the Select List Item is set to None and so P2_QUERY is always NULL.
    No, the region is not appearing because it is conditional on P2_QUERY being NOT NULL. This means that the report region never exists on the page shown in the browser, so it can't be dynamically refreshed. (Dynamic refresh doesn't evaluate region conditions, and it only re-renders the report content, not the entire region.)
    Remove the condition on the report region, check the refresh is working, then reconsider exactly what the requirements here are. If you want the region to appear only when P2_QUERY has a value, and you want it to be refreshed without submitting and re-rendering the page, then the region needs to be hidden rather than conditionally rendered, and shown via a dynamic action when P2_QUERY gets a value.
    I tried adding an additional Set Value True Action for the DA event but got an error as listed above,
    All irrelevant if Page Items to Submit on the region is used properly.

  • RegionRenderer encodeAll The region component with id: pt1:r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance.

    Hi,
    I am using JDEV 11.1.2.1.0
    I am getting the following error :-
    <RegionRenderer> <encodeAll> The region component with id: pt1:r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.
    Piece of code is for region is:-
       <f:facet name="second">
                                                <af:panelStretchLayout id="pa1"
                                                                       binding="#{backingBeanScope.Assign.pa1}">
                                                    <f:facet name="center">
                                                        <af:region value="#{bindings.tfdAssignGraph1.regionModel}" id="r1"
                                                                   binding="#{backingBeanScope.Assign.r1}"/>
                                                    </f:facet>
                                                </af:panelStretchLayout>
                                            </f:facet>
    How do I resolve it ?
    Thanks,

    Hi,
    I see at least 3 errors
    1. <RegionRenderer> <encodeAll> The region component with id: pt1:r1 has detected a page fragment with multiple root components.
    the page fragment should only have a single component under the jsp:root tag. If you see more than one, wrap them in e.g. an af:panelGroupLayout or af:group component
    2. SAPFunction.jspx/.xml" has an invalid character ".".
    check the document (you can open it in JDeveloper if the customization was a seeded one. Seems that editing this file smething has gone bad
    3. The expression "#{bindings..regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "pePanel") evaluated to null.
    "pageeditorpanel" does seem to be missing in the PageDef file of the page holding the region
    Frank

  • How to use the region parameter of main report for subreport chart titles?

    I am using Crystal Reports 11.
    I create 1 main report with 10 sub-reports that contain cross-tabs & charts. The main report has a parameter regarding 3 different areas: region1, region2, and region3.
    I use the method of adding the u2018regionu2019 parameter of main report to the selection formula of the sub-reports. So, I can select 'region' from main report to controll outputs in sub-reports by region.
    I use formulas for chart titles, e.g.:
    Select {Product Code}
    Case 'a111':
      u2018Region1 u2013 a111 Counts'
    Case u2018b222u2019:
      u2018Region1 u2013 b222 Counts'
    u2026
    u2026
    Default:
    u2026
    Since I pass the u2018regionu2019 parameter of main report to sub-reports, I have to change chart titles dynamically based on the region I select.
    How can I use the region parameter from main report in the formulas to get chart titles dynamically?
    Thank you in advance.

    Thank you.
    I am not using Chart Title with "Chart Expert".
    I am using a formula for chart titles, e.g.:
    Select {Product Code}
    Case 'a111':
      u2018Region1 u2013 a111 Counts'
    Case u2018b222u2019:
      u2018Region1 u2013 b222 Counts'
    u2026
    u2026
    Default:
    u2026
    I drag this formula above the charts and it looks like a dynamic title. So, for product a111, the chart title would be "Region1 u2013 a111 Counts"; for product b222, the chart title would be "Region1 u2013 b222" Counts; and so on ...
    Because I pass the region parameter from master report to subreport, I want to change the region part of the chart titles dynamically.
    For example,
    when select Region1, the chart titles should be: "Region1 u2013 a111 Counts"; "Region1 u2013 b222"; ...
    when select Region2, the chart titles should be: "Region2 u2013 a111 Counts"; "Region2 u2013 b222"; ...
    I want to add the region parameter into the tiltle formula.
    How should I do?

  • Recording Audio Cuts off the first part of the region?

    Hi. When i record audio the regions show up after recording and i have to pull the beginning of the region back a bit so that i can see the full length of the audio recording. Its non destructive but very annyoing. How can i stop it doing this everytime? Thanks

    Thanks Mike for replying
    But the thing is; I want to perform a computation process on the list manager values to trim off the first part of the string. I have the dynamic lov for list manager. But when I insert/update list manager item values I don't want the first part of string in the database.
    Please help with the function. i was trying the below function but it doesn't work; errors out saying
    ORA-06550: line 16, column 14: PLS-00597: expression 'V_ARRAY_1' in the INTO list is of wrong type ORA-06550: line 17, column 9: PL/SQL: ORA-00904: : invalid identifier ORA-06550: line 15, column 7: PL/SQL: SQL Statement ignored
    {code}
    DECLARE
       v_array          apex_application_global.vc_arr2;
       v_array_1         apex_application_global.vc_arr2;
       v_string         VARCHAR2 (32767);
       BEGIN
       -- Convert delimited string to array
       v_array :=
          APEX_UTIL.
           string_to_table (:P3_LM_USES);
       FOR i IN 1 .. v_array.COUNT
       LOOP
          SELECT LTRIM (SUBSTR (v_array (i), INSTR (v_array (i), '..') + 2))
            INTO v_array_1
            FROM DUAL;
    v_string := HTMLDB_UTIL.table_to_string(v_array_1,':');
    apex_application.g_print_success_message := apex_application.g_print_success_message || v_string;
             END LOOP;
    RETURN (v_string);
    END;
    {code}
    Thanks,
    Orton

  • Add Html Regions Dynamicly

    Hi,
    Is there any way I can add html regions dynamically to the page.
    Depending on the number of rows returned by the refcurcor, I want to add the html regions.
    Please advise.
    Thanks.

    machan wrote:
    Is there any way I can add html regions dynamically to the page.
    Depending on the number of rows returned by the refcurcor, I want to add the html regions.
    Please advise.It is not possible to dynamically generate <em>regions</em>&mdash;HTML or otherwise&mdash;in APEX. All regions must be created statically using the Application Builder.
    It is of course possible to generate HTML <em>content</em> dynamically using predefined report, list and PL/SQL regions.

  • I'm in cycle mode, and 'merge' is clicked in preferences. However, when I record, my previous track data keeps getting overwritten. Does anyone know what I'm doing wrong. Interestingly, I can still see the data in the region.

    I'm in cycle mode, and 'merge' is clicked in preferences. However, when I record, my previous track data keeps getting overwritten. Does anyone know what I'm doing wrong. Interestingly, I can still see the data in the region.

    jamestait wrote:
    when I record, my previous track data keeps getting overwritten.
    since you didn't specify, are you recording in a single take?
    http://www.bulletsandbones.com/GB/GBFAQ.html#multipassrecording
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Welcome to the Novell Dynamic File Services Forum

    Welcome to the new Novell Dynamic File Services forum. You can find information
    about this product here: http://www.novell.com/products/dynamic-file-services/
    This forum is for discussions about this product.

    Hi,
    I'd like to use the http dynamic streaming functionality in my own video player. So far my investgations have led me to
    1) Try to see how the OSMF have implemented the classes (although I read the code I cant get ay to compile so I have abandoned this thread)
    2) Looked at earlier tutorials highlighting the use of rtmp dynamic classes (http://www.adobe.com/devnet/flashmediaserver/articles/dynstream_advanced_pt1.html) although this alludes to the newer http features there is no example and what there is uses Flash as an environment
    3) Browsed the forums.
    We use flex to build our player. Is there an "from scratch" example of how to code a http dynamic player in code.
    Thanks,

  • How to display or generate PDF417 barcode dynamically in PDF form? I am using Acrobat XI Professional and there is a Bar Code Field in the same through which I generated the same. But I want to generate the same dynamically.

    How to display or generate PDF417 barcode dynamically in PDF form? I am using Acrobat XI Professional and there is a Bar Code Field in the same through which I generated the same. But I want to generate the same dynamically.

    What do you mean by dynamically? When yo set up a 2D bar code field you specify which field name/value pairs you want to include, along with other parameters. But be aware that they won't work with Reader unless you Reader-enable the document with LiveCycle Reader Extensions and include the bar code usage right. It will work with Acrobat Standard/Pro.

  • Simple, yet not so. How can I just edit out part of a track.  Help says select the region in the timeline, but doesn't seem to be able to perform a most basic function of cut and paste

    Hi folks, anyone out there know how to select a region in the timeline so I can delete just part of a track.  I am making a soundtrack and want to fade in and out mp3's that I drag onto the track.
    Thanks.
    I feel dumb.

    Hermsboy wrote:
    how to select a region in the timeline so I can delete just part of a track [the region in the track]
    http://www.bulletsandbones.com/GB/GBFAQ.html#cutsection
    (Let the page FULLY load. The link to your answer is at the top of your screen)

Maybe you are looking for

  • Error 14 cant update the ipod touch

    th eipod touch is new, couldnt update to 4.2, so i try to restore the upod, but i get error 14 everytime i try to restore. My ipod is in DFU mode this is the log, i would like someone can explain me how to solve this problem this is the log: 2011-01-

  • Insert filename in Pages document

    When I was working with Word for Windows there was an insert feature that allowed me to insert the path and filename in my documents. Very helpful since I do a lot of correspondence and keeping track of letters can get hectic. I've looked high and lo

  • HP Laserjet 1020 Plus not friendly with MS Excel ???

    Hi, I am having OS Window 8. I am able to print thru HP 1020 PLUS MS Word docs but not able to print MS Excel sheets as Laserjet printer does not appear in printers list. While setting it as default printer devices, i am getting error message "operat

  • There is no Organize Bookmarks option under Bookmarks,

    I set up the Sync function between my desktop and laptop, and there have been issues with toolbar bookmarks disappearing and then the edit function tells me there are four of them that need to be deleted. I am trying to edit my bookmarks, but I can't

  • TS4268 iMessage and FaceTime activation

    iMessage and FaceTime have always worked on my ipad until now. Now I keep trying to activate both and I keep getting the warning to check the network settings but everything is fine. I even did a reset. Is there anything else I can try to make it wor