"detected a page fragment with multiple root components" warning

I am getting a warning on the standalone WLS when I run my page that contains a taskflow as region. I am using a page fragment in my taskflow.
<Warning> <oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer> <ADF_FACES-60099> <The region component with id: ptMain: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.>
The warning states the obvious, I have everything within a panelheader in my page fragment. Also, I do not get the warning on the integrated WLS. Any ideas as to why this warning is still popping up in the log? I am using JDev 11.1.1.3.
Thanks,
Jessica

Thank you for responding. I do not have any popups. I do, however, have another region nested within this fragment ( have this warning on another fragment that doesn't have a nested region though). Here is the code for my fragment.
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:f="http://java.sun.com/jsf/core">
<af:panelHeader text="Pawn"
binding="#{backingBeanScope.backing_Fragments_PawnSearch.ph1}"
id="ph1" type="default">
<af:panelFormLayout id="pfl2">
<af:panelSplitter binding="#{backingBeanScope.backing_Fragments_PawnSearch.ps1}"
id="ps1" orientation="vertical" splitterPosition="62"
inlineStyle="width:775px; height:660px;">
<f:facet name="first">
<af:panelBox text="Search #{bindings.agency.inputValue} Data to Update"
binding="#{backingBeanScope.backing_Fragments_PawnSearch.pb1}"
id="pb1">
<f:facet name="toolbar"/>
<af:panelGroupLayout id="pgl3" layout="horizontal">
<af:inputText value="#{bindings.control_number.inputValue}"
label="Control Number" required="true"
columns="#{bindings.control_number.hints.displayWidth}"
maximumLength="#{bindings.control_number.hints.precision}"
shortDesc="#{bindings.control_number.hints.tooltip}"
id="it1">
<f:validator binding="#{bindings.control_number.validator}"/>
</af:inputText>
<af:inputDate value="#{bindings.trans_date.inputValue}"
label="Date" required="true"
shortDesc="#{bindings.trans_date.hints.tooltip}"
id="id1">
<f:validator binding="#{bindings.trans_date.validator}"/>
<af:convertDateTime pattern="#{bindings.trans_date.format}"/>
</af:inputDate>
<af:inputText value="#{bindings.agency.inputValue}" simple="true"
required="#{bindings.agency.hints.mandatory}"
columns="#{bindings.agency.hints.displayWidth}"
maximumLength="#{bindings.agency.hints.precision}"
shortDesc="#{bindings.agency.hints.tooltip}"
binding="#{backingBeanScope.backing_Fragments_PawnSearch.it2}"
id="it2" visible="false">
<f:validator binding="#{bindings.agency.validator}"/>
</af:inputText>
<af:commandButton actionListener="#{bindings.ExecuteWithParams.execute}"
text="Search"
disabled="#{!bindings.ExecuteWithParams.enabled}"
id="cb5"
returnListener="#{backingBeanScope.backing_Fragments_PawnSearch.refreshPage}"
action="#{backingBeanScope.backing_Fragments_PawnSearch.RenderMe}">
<af:setActionListener from="#{bindings.PawnItemView1Iterator.currentRowKeyString}"
to="#{requestScope.pawnkey}"/>
</af:commandButton>
<af:spacer width="10" height="10"
binding="#{backingBeanScope.backing_Fragments_PawnSearch.s1}"
id="s1"/>
<af:goButton text="Clear Values and Create New" id="gb1"
destination="index.jspx"
rendered="#{backingBeanScope.backing_Fragments_PawnSearch.saveButtonRendered}"/>
</af:panelGroupLayout>
</af:panelBox>
</f:facet>
<f:facet name="second">
<af:panelGroupLayout binding="#{backingBeanScope.backing_Fragments_PawnSearch.pgl4}"
id="pgl4" layout="scroll" partialTriggers=""
visible="true">
<af:panelGroupLayout binding="#{backingBeanScope.backing_Fragments_PawnSearch.pgl6}"
id="pgl6" inlineStyle="width:775px;"
visible="#{backingBeanScope.backing_Fragments_PawnSearch.renderTF}">
<af:region value="#{bindings.PawnEntryFormTF1.regionModel}"
id="r1" inlineStyle="width:750px;"/>
</af:panelGroupLayout>
<af:panelGroupLayout binding="#{backingBeanScope.backing_Fragments_PawnSearch.pgl5}"
id="pgl5" layout="horizontal"
visible="#{backingBeanScope.backing_Fragments_PawnSearch.renderMessage}">
<af:outputFormatted value="No #{bindings.agency.inputValue} Pawn data matching the Control Number and Transaction Date from above."
binding="#{backingBeanScope.backing_Fragments_PawnSearch.of1}"
id="of1"
inlineStyle="font-weight:bolder; font-size:small;"/>
<af:spacer width="10" height="10"
binding="#{backingBeanScope.backing_Fragments_PawnSearch.s2}"
id="s2"/>
<af:goButton text="Clear Search and Start Again"
binding="#{backingBeanScope.backing_Fragments_PawnSearch.gb2}"
id="gb2" destination="index.jspx"/>
</af:panelGroupLayout>
</af:panelGroupLayout>
</f:facet>
</af:panelSplitter>
</af:panelFormLayout>
</af:panelHeader>
<!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_Fragments_PawnSearch-->
</jsp:root>

Similar Messages

  • 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

  • MDS Customization Problem with multiple root components

    Hello,
    Oracle JDeveloper 11.1.1.5.0 and WebLogic Server Version: 10.3.5.0
    I am using Oracle MDS Customization class with the following classes:
    oracle.adf.view.rich.change.MDSDocumentChangeManager
    org.apache.myfaces.trinidad.change.ChangeManager
    org.apache.myfaces.trinidad.change.MoveChildComponentChange
    Based on these classes I am moving UI components
    <af:panelStretchLayout>
    <f:facet name="center">
    <af:region />
    </f:facet>
    </af:panelStretchLayout>
    into another component thanks to the MDS.
    Once I do the movement and persist, I receive the following waning message:
    *<RegionRenderer> <encodeAll> The region component with id: pt1:r1:0:pt2:r1:0: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.*
    When I run the application in Oracle JDeveloper 11.1.1.5.0, it work fine, but when I deploy it on WebLogic Server Version: 10.3.5.0 it is not working.
    I receive the same warning message on the server and in JDeveloper.
    I think that MDS makes a copy of the components that I move because of that it says me that "a page fragment with multiple root components"
    The problem is not because of duplication any of the tags <af:document> <f:view><f:form> <html> <head> <body>
    After the movement and persistence, I also call the FacesContext to reset its view root with the following code:
    FacesContext context =FacesContext.getCurrentInstance();
    String currentView = context.getViewRoot().getViewId();
    ViewHandler vh = context.getApplication().getViewHandler();
    UIViewRoot x = vh.createView(context, currentView);
    x.setViewId(currentView);
    context.setViewRoot(x);
    The idea is that the entire JSF tree to be rebuild on entering page with aim to clear previously drag and drop settings.
    Do you know how I can overcome the problem on the server WebLogic Server Version: 10.3.5.0?
    This worked on Oracle JDeveloper 11.1.1.3.0 and now the problem is with Oracle JDeveloper 11.1.1.5.0.
    Regards,
    Niki

    Hi,
    what the error means is that you have more than one node under the jsp:root node of the fragment. Say the content of your fragment is
    <af:panelGroupLayout id="pgl1">
    </af:PanelGrouPLayout>
    Then this is okay
    if you have
    <af:panelGroupLayout id="pgl1">
    </af:PanelGrouPLayout>
    <af:panelGroupLayout id="pgl2">
    </af:PanelGrouPLayout>
    or
    <af:panelGroupLayout id="pgl1">
    </af:PanelGrouPLayout>
    <af:commandButton id="cb1"/>
    Then these mean duplicated root components. The JDeveloper IDE flags this as Warnings (Structure Window) when selecting the page fragment
    Frank

  • BUG: Popup in page fragment; with many regions and popup binded to backing.

    BUG: Popup in page fragment; with many regions and popup or parent binded to backing bean.
    JDEV11.1.2.1 Popup will not popup.(sometimes works if using RichPopup.Show() in backing bean Java code.)
    I have a bug (Popup will not popup)that only happens when I have more than one of the same region.
    And I have a popup in the page fragment is binded to backing bean.
    My SR guy is out today but we plan to enter one.
    test.jspx
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core">
        <jsp:directive.page contentType="text/html;charset=UTF-8"/>
        <f:view>
            <af:document title="test" id="d1">
                <af:form id="f1">
                    <af:panelGroupLayout id="pgl1" layout="horizontal">
                        <af:outputText value="BUG JDEV11.1.2.1 and IE7. Broken Popup! If I have a jsff fragment and I have many regions of this fragment."
                                       id="ot2"/>
                        <af:outputText value="Inside the fragment I have a popup. If that popup or its parent are binded to a Backing Bean the popup doesn't work."
                                       id="ot1"/>
                    </af:panelGroupLayout>
                    <!-- with a single region it also works (with bindings in place in fragment). -->
                    <af:region value="#{bindings.taskflowemp1.regionModel}" id="r1"/>
                    <af:region value="#{bindings.taskflowemp2.regionModel}" id="r2"/>    
                    <!--
                    <af:region value="#{bindings.taskflowemp3.regionModel}" id="r3"/>
                    <af:region value="#{bindings.taskflowemp4.regionModel}" id="r4"/>
                    -->
                </af:form>
            </af:document>
        </f:view>
    </jsp:root>region.jsff
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core">
      <af:group id="g1">
      <!-- If I remove the binding for popop or popup group, the popup works fine. -->
    <!--Working code here
        <af:group id="g2">
          <af:popup childCreation="deferred" autoCancel="disabled" id="p1" >
        -->
           <!-- Problem code here   -->
        <af:group id="g2" binding="#{TestBean.popupGroup}">
          <af:popup childCreation="deferred" autoCancel="disabled" id="p1" binding="#{TestBean.testPopup}"> 
            <!-- End problem code -->
            <af:dialog id="d2" title="Dialog Title">
              <f:facet name="buttonBar"/>
              <af:outputText value="Dialog Contents" id="ot100"/>
            </af:dialog>
          </af:popup>
        </af:group>
        <af:panelGroupLayout id="pgl1">
          <af:panelBox text="Region" id="pb1">
            <f:facet name="toolbar"/>
            <af:commandButton text="showPopupBehavior" id="cb1" >
              <af:showPopupBehavior popupId="p1"/>
            </af:commandButton>
            <af:commandButton text="AdfPage.PAGE.findComponent JavaScript" id="cb2" actionListener="#{TestBean.popupTestJavaScript}"/>
            <af:commandButton text="RichPopup.Show() Java" id="cb3" actionListener="#{TestBean.popupTestJava}"/>
          </af:panelBox>
        </af:panelGroupLayout>
      </af:group>
    </jsp:root>TestBean.java
    package view;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ActionEvent;
    import oracle.adf.view.rich.component.rich.RichPopup;
    import org.apache.myfaces.trinidad.component.UIXGroup;
    import org.apache.myfaces.trinidad.render.ExtendedRenderKitService;
    import org.apache.myfaces.trinidad.util.Service;
    public class TestBean {
        private RichPopup testPopup;
        private UIXGroup popupGroup;
        public TestBean() {
        public void setTestPopup(RichPopup testPopup) {
            this.testPopup = testPopup;
        public RichPopup getTestPopup() {
            return testPopup;
        public void popupTestJava(ActionEvent actionEvent) {
            if(testPopup != null){
                RichPopup.PopupHints ph = new RichPopup.PopupHints();
                testPopup.show(ph);
            }else{
                System.err.println("TestBean.testPopop IS NULL!");
        public void popupTestJavaScript(ActionEvent actionEvent) {
            showPopupTest("r1:0:p1");
        private static void showPopupTest(String popupId) {
            FacesContext facesContext = FacesContext.getCurrentInstance();
            ExtendedRenderKitService service =
                Service.getRenderKitService(facesContext,
                                            ExtendedRenderKitService.class);
            service.addScript(facesContext,
                              "AdfPage.PAGE.findComponent('" + popupId + "').show();");
        public void setPopupGroup(UIXGroup popupGroup) {
            this.popupGroup = popupGroup;
        public UIXGroup getPopupGroup() {
            return popupGroup;
    }

    Thanks that fixed the problem.
    "a user error"
    Well I followed your book! Chapter 6 of the "Oracle Fusion Developer Guide - Working with Bounded Task Flows in ADF Regions". I think this comes back to book writer error. I found almost no mention of BackingBeanScope in this chapter. Don't you think this would be an important note?
    "did you know that there is a Java API (on the RichPopup instance) to launch a popup ?"
    Yes I posted in my code! If you read the above code you would see it there.
    I don't really understand why the scope of the bean has anything to do with af:showPopupBehavior or AdfPage.PAGE.findComponent.

  • Hierarchical query with multiple roots

    Hi,
    I'm trying to write a sql query to find blocking lock in database. The idea is to get the blocker in 1st column, comma separated list of waiters in 2nd column and number of waiters in 3rd column.
    As of now i use below query to get a tree structure
    WITH lk AS
         (SELECT  blocking_session||' (Inst-'||blocking_instance || ')' blocker,
                 SID||' (Inst-'||inst_id || ')' waiter
            FROM gv$session
           WHERE blocking_instance IS NOT NULL AND blocking_session IS NOT NULL)
    SELECT     LPAD (' ', 2 * (LEVEL - 1)) || waiter lock_tree
          FROM (SELECT *
                  FROM lk
                UNION ALL
                SELECT DISTINCT 'root', blocker
                           FROM lk
                          WHERE blocker NOT IN (SELECT waiter
                                                  FROM lk))
    CONNECT BY PRIOR waiter = blocker
    START WITH blocker = 'root';
    Result:-
    ===========
    LOCK_TREE
    1966 (Inst-1)
      908 (Inst-1)
      1906 (Inst-1)
      1900 (Inst-1)
    981 (Inst-1)
      921 (Inst-1)
      937 (Inst-1)
      962 (Inst-1)
      1889 (Inst-1)
      1904 (Inst-1)
      974 (Inst-1) But what i expect is like below. My below query works when there is only one root blocker, but fails when there are multiple root node.
    WITH lk AS
         (SELECT blocking_session || '(Inst-' || blocking_instance || ')' blocker,
                 SID || '(Inst-' || inst_id || ')' waiter
            FROM gv$session
           WHERE blocking_instance IS NOT NULL AND blocking_session IS NOT NULL)
    SELECT     blocker, SUBSTR (SYS_CONNECT_BY_PATH (waiter, ';'), 2) waiters
          FROM (SELECT   blocker, waiter, ROW_NUMBER () OVER (ORDER BY waiter)
                                                                              val
                    FROM lk
                GROUP BY blocker, waiter)
         WHERE CONNECT_BY_ISLEAF = 1
    START WITH val = 1
    CONNECT BY PRIOR val = val - 1
    Result:-
    ===========
      WAITERS# BLOCKER                                                                                 WAITERS
             3 981(Inst-1)                                                                             1904(Inst-1);921(Inst-1);937(Inst-1)
    ....lot of duplicates
    expected result:-
    ===========
      WAITERS# BLOCKER                                                                                 WAITERS
             4 981(Inst-1)                                                                             1904(Inst-1);921(Inst-1);937(Inst-1);974(Inst-1)
             3 1966(Inst-1)                                                                             908 (Inst-1);1906 (Inst-1);1900 (Inst-1) can you please help me correct above query or suggest other ways to archive this result.
    Thanks in advance
    MidhunGT

    Hi All,
    Thank you all for your support. I never knew these many ways to see blocking lock in database :)
    Somehow i was able get the desired result for my specific requirement with below query
    sql> WITH lk AS
      2       (SELECT blocking_session || ' (Inst-' || blocking_instance
      3               || ')' blocker,
      4               SID || ' (Inst-' || inst_id || ')' waiter
      5          FROM gv$session
      6         WHERE blocking_instance IS NOT NULL AND blocking_session IS NOT NULL)
      7  SELECT     blocker,
      8             LTRIM
      9                (MAX (SYS_CONNECT_BY_PATH (waiter, ','))KEEP (DENSE_RANK LAST ORDER BY cnt),
    10                 ','
    11                ) AS waiters,
    12             MAX (cnt) waiters#
    13        FROM (SELECT blocker, waiter,
    14                     ROW_NUMBER () OVER (PARTITION BY blocker ORDER BY waiter)
    15                                                                         AS cnt
    16                FROM lk)
    17    GROUP BY blocker
    18  CONNECT BY cnt - 1 = PRIOR cnt AND blocker = PRIOR blocker
    19  START WITH cnt = 1;
    BLOCKER         WAITERS                                                                            WAITERS#
    1946 (Inst-1)   1987 (Inst-1),879 (Inst-1),910 (Inst-1)                                                3
    930 (Inst-1)    1919 (Inst-1),1945 (Inst-1),1953 (Inst-1),1983 (Inst-1)                                4please advice, if any scope for improvement
    Thanks and Regards,
    MidhunGT

  • Read XML response with multiple root elements

    Hi ,
    I am trying to achieve the below scenario but unable to do so.Please help urgently.
    I am getting a response from a service which has multiple root elements.these root elements can change at runtime..I need to read the different root elements and extract data from its sub elements.
    Regards...
    Hoping for an anwser..

    i assume on runtime the service just returns 1 rootnode, but this rootnode can change
    you could use a switch after the invoke
    if $response/myroot1
    assign $response/myroot to myroot1_var
    if $response/myroot2
    assign $response/myroot to myroot2_var
    etc
    so you check what's in the root node before you assign to you temp variable
    or if you have logic which is specific based on this root nod you can just implement all these branches in the switch and execute logic in there based on the selected rootnode
    several implementations are possible

  • Wiki page layout with multiple rows in SharePoint 2013 foundation?

    We have a SharePoint 2013 foundation version and a requirement to create custom wiki pages with predefined templates. SharePoint provides template with header, footer and middle row out of which only middle row can have more than one column, we need more
    than that. Can anybody help us in achieving this?

    Thank you for your reply Inderjeet.<o:p></o:p>
    Actual problem is with wiki page custom templates, we have created some custom templates and they work fine, please refer below link for implementation
    details
    http://blog.hompus.nl/2012/06/07/provisioning-a-default-layout-and-content-when-adding-a-wiki-page/
    If we want to create a little complicated templates as shown below, we are finding it difficult with only one table provided by
    wiki layout. Can we add multiple table inside a template? if yes, how to do that? if not, how to create template like below.

  • Creating multi-page document with multiple templates

    Hi,
    I am new to Pages and am attempting to create a photo book that I can export as a PDF and have printed through an online service. I have successfully created multiple templates in Pages that I want to use in my book, but cannot figure out how to create a new page based on an existing template. If I select "New" or "New from Template Chooser" I end up with a brand new document, not a new page in my existing document. If I select Insert --> Pages, I am only given the choice to insert a Text or a Blank page. How do I insert a new page based on a template? Or, how do I apply a template to a blank page?
    Thanks very much,
    Eric

    Okay, I have figured out a way to accomplish my goal. I have my master Pages document that I am adding pages to by:
    1. File --> "New from Template Chooser"
    2. Selecting my template
    3. A new document is opened
    4. I add my photo and custom text
    5. Copy the new page from the Pages area in the left nav
    6. Paste the new page back into my master document
    This works, although is a bit cumbersome. Would much prefer to be able to simply add a page in my master based on an existing template, but I still don't see how to do that...

  • Tree with multiple root nodes does not display

    I am trying to create a tree to display some hierarchical data which contains several root nodes.
    I have specifed that the TREE_ROOT value is always Null as the root nodes have a null value for the PARENT_ID. The page displays yet none of the data is displayed.
    I have manage to get it to work by creating a dummy single root that I reference from the existing root values?

    Phattam,
    The TREE_ROOT identifies the root node's ID, not its PARENT_ID.
    For example, if we build a tree on the oehr_employees table, the ID is EMPLOYEE_ID and the PARENT_ID is MANAGER_ID. therefore, to identify the start of the tree, we could populate the TREE_ROOT with a select statement e.g.
    SELECT employee_id FROM oehr_employees WHERE employee_id = 100This identifies a single value and the tree starts from employee_id 100.
    If we used a select statement that retrieves more than one row, e.g.
    SELECT employee_id FROM oehr_employees WHERE manager_id = 100then the tree starts at one of the children of employee_id 100 - ApEx will not show a tree that has more than one starting node. If you want to show these alternative starting points, you'll need to do exactly what you have done - create a 'dummy' root node.
    Hope this helps,
    Bryan.

  • Page Processing with multiple tables

    Hello to all sql experts!
    I have been successful in inserting a row into a table and creating the PK using Page Processing. The parent table is called Facility.
    I used the following sql to insert a row into the table and now need to add data to the child tables.
    Parent table==>
    INSERT INTO FACILITY(fac_pk, fac_type, fac_name, street1, city, state, zip, state_or_tribe, tribe_yn)
    VALUES (FAC_SEQ.nextval,
    NVL(:P211_FAC_TYPE, 'N'),
    NVL(:P211_FAC_NAME,'No Data'),
    NVL(:P211_STREET1,'No Data'),
    NVL(:P211_CITY, 'No Data'),
    NVL(:P211_STATE,'CA'),
    NVL(:P211_ZIP,'00000'),
    NVL(:P211_STATE_OR_TRIBE,'CA'),
    NVL(:P211_TRIBE_YN,'N'));
    Child table == >
    INSERT INTO CONTACT(cnt_pk, fullname, street1, city, state, zip, phone, title)
    VALUES (CNT_SEQ.nextval,
    NVL(:P36_FULLNAME, 'No Data'),
    NVL(:P36_STREET1,'No Data'),
    NVL(:P36_CITY, 'No Data'),
    NVL(:P36_STATE,'CA'),
    NVL(:P36_ZIP,'00000'),
    NVL(:P36_PHONE,'555-1212'),
    NVL(:P36_TITLE,'No Data'));
    My Questions:
    1. How do I reference the Facility PK that was already created?
    2. If I have several child tables where I want to insert a row, is the sql the same as above?
    I did run the separate Insert sql for Contact table, but all it did was create a new row, but no link to the facility record.
    Thanks for looking at this. I am new to sql and want to use the PL/SQL to process the inserts into the tables.
    Judy

    hi judy
    check this forum
    Re: How to insert into 2 tables from the same page (with one button  link)
    you will have an idea
    think, this help u better.
    bye
    srikavi

  • Printing a multi page pdf -with multiple pages per sheet

    In order to save paper I create multiple page pdfs and in the print dialog box under Layout I select Pages per Sheet 2 , etc. The problem is when i try to print out the document, it only prints out the first page. The other pages fail to print. this only occurs when printing a pdf in this way. I have already re-installed Acrobat.
    error on printer is: error typecheck offending command and the file name changes on the printer to acr.000000.tem
    I'm using acrobat 8. Printing to a xerox docu-color printer.
    Mac 10.4.11

    Nope, that's a Flash-only effect. Sometimes people try to embed a SWF (Flash file) into a PDF, but that only plays like it's a movie, and doesn't work well.
    I think you should give up on the idea if you want to use PDF as the distribution method.

  • Flyweight Pattern use with multiple GUI components

    Hi,
    I am creating a simple application and I would like your advice on wether I should use the flyweight pattern or not.
    My application is essentially a GUI front to a repository of small images. The GUI (in its simplest form) is a single window that will display all the images with their names in a clickable thumbnail format. The user will be able to select an thumbnail icon, drag it and move it around pretty much like the icons on your computer desktop.
    The easiest way to do that is probably to load each image and its name into a JLabel, add it in a JFrame and write just few lines of code (say by extending the JLabel class) to handle mouse pressed/dragged events in order to move the label around. The rest will be taken care of by the swing functinality (e.g. painting etc).
    However, I am considering using the flyweight pattern for efficiency but I am not sure if it is appropriate. So far I have seen simplistic examples of its use (apart from JTree) where the pattern is used to paint dozens of lines on the screen or the borders of components. But what happens if instead of lines or borders the objects in question are interactive GUI components such as my thumbnails? how does the flyweight pattern work in this case?
    For example if I create just a single JLabel and use it to paint all my icons that's great! but what happens with mouse events? what happens when I want to drag a thumbnail over another one and how the partial repainting of the thumbnail below should be handled?
    Am I missing something here, or in order to implement the flyiweight pattern in this case I will have to write endless lines of code to replicate the functionality that swing arleady provides in each JComponent? (e.g. targetting of mouse events, repainting etc)
    Cheers,
    Kyri

    I don't think Flyweight applies, because you really don't want to share any UI component that generates events unless the response is the same for all of them.
    If you read Flyweight, I think it was intended for things like caching the first 128 Integers, etc. - think finite, countable, immutable things. I don't think UI elements apply.
    %

  • Conditional page break with multiple conditions

    Hi,
    have not found anything in the forum, so i hope its not a repost.
    I print a table and need a pagebreak before every new record.
    That sounds easy, so I used:
    Report.KeyfigureDetails.Container.KFUID ne Report.KeyfigureDetails.Container[-1].KFUID
    Its works well BUT it does not inserts a page break BEFORE the very first record even if I say its "before" and "top of next page".
    So I used:
    (Report.KeyfigureDetails.Container.KFUID ne Report.KeyfigureDetails.Container[-1].KFUID) or
    (exists(Report.KeyfigureDetails.Container[-1].KFUID) = 0)
    Result: No pagebreak at all. There must be a error inside my statement.
    I used two conditions. one with
    Report.KeyfigureDetails.Container.KFUID ne Report.KeyfigureDetails.Container[-1].KFUID
    and one with
    exists(Report.KeyfigureDetails.Container[-1].KFUID) = 0
    But again no pagebreak BEFORE the very first line.
    What am I doing wrong? I just want to have a break before every record, even the first one.
    I am using formcalc. If a conditional pagebreak in java does not need the form to be interactive/dynamic such a solution would be appreciated as well. I just want the form to be 100% static to avoid additional licenses.
    Thanks!

    Oh sorry! But you are totally right.
    The problem was, that FormCalc did not inserted the correct structure of the object.
    The structure was like: subform1.subform2.subform3.object.
    FormCalc just inserted: subform1.object
    Writing the code manually made the system at least to perform the page break after the first record.
    The page break before the first record could somehow not be solved by me with:
    exists(Report.KeyfigureDetails.Container[-1].KFUID) = "0"
    I then remembered Otto Gold's recommendation to use Java as it is more powerful. And in deed Otto gave me the solution by his comment.
    As a final solution i use two different conditional breaks.
    The fist to perform the break before the first record:
    this.resolveNode("Container[-1].KFUID") == null
    The second to perform the page break after each new "KFUID":
    if (this.resolveNode("Container[-1].KFUID") != null) { this.resolveNode("Container[-1].KFUID").rawValue != Container.KFUID.rawValue }
    Maybe a smart Java guy like Otto Gold can put those two conditions into one
    I was not, but these two solved my problem.
    I dont say that FormCalc is not able to solve the problem as well. But I have very limited knowledge about the Adobe forms and at the moment I have no time to dig deeper into this.

  • How to work with multiple catalyst components in Flash Builder?

    Hey There,
    Can I create multiple components and merge them together? For example, I want to create a list control state, and bring it into my existing Flash Builder project. Then down the road, do something similiar... How would I go about that, and what files are essential fromt he catalyst project.. (assets, components, main.css, privateData..
    Thanks in advance!

    Yes, you can :-)
    You can export the components from different Flash Catalyst projects as fxpl files and then import them into Flash Builder. In Flash Catalyst, right-click in the Library panel and you will see the export command to save the current project's components into an fxpl file.
    A great article on Flash Builder/Flash Catalyst workflows is here:
    http://www.adobe.com/devnet/flashcatalyst/articles/flashbuilder_flashcatalyst_workflows.ht ml
    Ty

  • Pvst with multiple root bridges

    Hi i just want to verify if i am going right now i have two 3550,s that are routing traffick to some asa5505 firewals but at the same time i want vlan 100 and 200 to use one of the 3350 as the root bridge and the other two vlans to use the other 3550 as their root but since the 3550' are routing where would i configure the interface vl for each vlan so the hosts can use as their gateway or i should say which switch should i configure the interface vlan should i do it on one switch or i would have to do 2 on one switch on 2 on the other.

    So the clients and servers definitely have the right default gateways set ie. the HSRP VIP for their vlan ?
    Can post from one of the 3550 switches -
    1) "sh standby brief"
    2) "sh int trunk"
    Also from the same switch can you -
    1) choose a client in vlan that cannot ping a server in another vlan
    2) from the same switch as above can you do an extended ping to the client using the source IP of the L3 vlan interface for the server vlan and see if it works.
    Jon

Maybe you are looking for

  • Can't see files on a network Hard Drive

    So I have a new airport extreme and I wanted to put a drive on the network. I have two HDDs: one is the time machine that I normally have connected to my computer and another is a Hitachi that I just have Movies on. Both of them will show up under th

  • Photo Stream Image Size to iPad

    Is there a way to set the image size dementions that are uploaded via Photo Stream to iPad?

  • Added dynamic text; How do I stop variable name from showing?

    I am creating a simple game for kids.  On the first page, I added an "input text" field for their first name.  I called the variable firstname. When they move to the next page, I used a "dyanamic text" field so I can call them by name on this page. 

  • Need info about UCES with Portal

    Could you kindly provide some presentation and links (not to SMP because I do not have the ID) about UCES? Thanks with points.

  • Motorolla RF scanners getting disconnect and connecting back

      Hi i have deployed wlc 5508 with software 6.0.199.4 . AP 1142 . Customer have few motorola RF scanners which i added the mac address in mac filter and its working. Now cust informed that these scanners get sometime diconected in between and connect