Centering horizontally a page consisting of several Page Fragments

While centering a simple page horizontally was greatly described in SJSC
Field Guide and working fine, the same technique didn't work for multifragment
jsf page.
Have somebody implemented the centering such a page horizontally?
Will appriciate for a working example.
Thanks in advance

Can you summarize the technique in question, and then give a few details about how you are trying to do it with page fragments? Without that, it is difficult to tell what you want to do.

Similar Messages

  • Horizontally scrolling page views and vertically scrolling table views

    This may be a feature request, and I'm trying to figure out if I'm trying to do too much in an iPhone app, but I want to have an outer view scroll horizontally with pages - easy to do with the UIPageControl and UIScrollView.
    Within each page, however, I have a view (or nested views). In one of those views, I want to be able to scroll vertically (it's a table view) - but I can't! The message never gets down to the tableview because it's eaten on top - or at least it seems like it. It looks like I can do it in the simulator, but not on the phone.
    Is this doable?

    "Iain71" <[email protected]> wrote in
    message
    news:g6kj3r$s5p$[email protected]..
    > This is the sort of thing I've seen on a few sites, and
    wondered about
    > before.
    > Sometimes they can look a bit overboard, but I've just
    seen one on this
    > site
    > that looks pretty well done, and doesn't take over the
    page :
    >
    >
    http://www.timesatlas.com/Pages/Default.aspx
    >
    > It's the bit below the main atlas pic, with the
    different versions of the
    > atlas.
    >
    > Does anyone know of any extensions, or tutorials for
    recreating something
    > along those lines? (Not sure if it's Flash or not?)
    I'm pretty sure Project Seven (www.projectseven.com) has an
    extension that
    does almost exactly that.
    Patty Ayers | www.WebDevBiz.com
    Free Articles on the Business of Web Development
    Web Design Contract, Estimate Request Form, Estimate
    Worksheet

  • Centering Spreads and pages in window. CS3

    After having centered a spread (and selected fit window) I use the Pages Palette to go from one page to another (or from one spread to another). More often than not the pages display off centre and re-centering gets very tedious.
    Is there a simple way of ensuring that one can click pages and/or spreads and get them to centre on the window automatically?

    True, the OP was regarding the pages palette. My post did not address using the pages palette. It addressed an alternative method of navigating the document that I use that I find useful with all the keys required grouped for convenient access.
    I acknowledge that I can change the page up/page down KB shorts as you indicated. I find the keys useless (personal opinion) as I have edited my cursor keys as described above. The default setting on the key is not satisfactory to me, as is the physical position on the keyboard (not the fault of the application).
    Note that the Jump to Page (CMD+J) feature is another Keyboard navigation feature that can reduce the need to use the pages palette for document navigation purposes.
    I propose that by using the Fit Page / Fit Spread settings and THEN using the pages palette/panel, that the view should remain centered on the page (by double clicking the page icon) or the spread (by double clicking the spread numbers).
    I do agree that it would be nice if the view would retain the same relative position when zoomed in on a location... say a corner, or a position 300 x 75 points from the origin. Instead, the view jumps to the center of the spread, even with KB nav. I do not have an answer to that behavior except to work around it. My personal workaround is to use the keyboard navigation to quickly center full the page/spread and then move on.
    -mt

  • Create horizontal master page?

    How do I create a horizontal master page?
    According to the Adobe documentation that I've found, the way to do this is in Document Setup. But I don't want the entire document to be horizontally aligned. I just want one page to be horizontally aligned. I thought the way to accomplish this would be to create a master page with a horizontal alignment. What is the easiest and best way to do that?

    Are you preparing a file for print or presentation?
    If it is print, I would keep the orientation of all pages the same, and rotate content for the horizontal page. Rotate the Spread View as necessary to edit content.
    If it is for presentation, it depends what version of Indesign you are using.
    -If it is CS5 or higher, then you can define multiple page sizes in one document
    -If it is CS4 or lower and final product is a PDF, then I would keep the orientation of all pages the same, and rotate the horizonal page in Acrobat

  • I am trying to print a  jpg, centered on the page, to epson printer and the printed image is off center, does anyone have a sense about setting to check?

    i am trying to print a  jpg, centered on the page, to epson printer and the printed image is off center, does anyone have a sense about setting to check?

    right click a blank area of the toolbar, click Customize. You'll see the printer icon there. Drag and drop it to where you want.
    You can also find this option under View -> Toolbars -> Customize.

  • Text in Table Centers Horizontally

    Whenever you try to insert text into a table of a web site it
    centers horizontally. Why does this happen all the time? Does this
    always happen?
    It even happens when I start a brand new page and insert a
    new single celled table.

    For a table to break across the page boundary it must be inline. Also, it will not break in the middle of a row/cell if it won't fit on one page. If your row is bigger than a page, you will have to manually break it into separate rows.

  • How to use same page fragment more than once in a page,

    Hi Gurus,
    How to use same page fragment more than once in a page. I have a complex page fragment which has lots of Bindings (Binding Property set with backingBean variables).
    I want to use the same page fragment multiple times on the same page with different tabs.
    I want different ApplicationModule Instance for the page fragment in different tabs.
    So I have created a Bounded Taskflow with pagefragments which has this complex pagefragment.
    I've dragged the taskflow to page and created regions.
    I'm able to execute the page successfully when I have only one region but fails if I have region more than once in the page.
    Can anyone help me how to resolve this issue.
    Web User Interface Developer's Guide for Oracle Application Development Framework: section 19-2 states we can have same pagefragment more than once in a page.
    Thanks,
    Satya

    java.lang.IllegalStateException: Duplicate component id: 'pt1:r1:0:t2:si5', first used in tag: 'com.sun.faces.taglib.jsf_core.SelectItemsTag'
    +id: j_id_id1
    type: javax.faces.component.UIViewRoot@1d23189
      +id: d1
       type: RichDocument[UIXFacesBeanImpl, id=d1]
        +id: j_id_id5
         type: HtmlScript[UIXFacesBeanImpl, id=j_id_id5]
          +id: j_id0
           type: javax.faces.component.html.HtmlOutputText@bc252
        +id: m1
         type: RichMessages[UINodeFacesBean, id=m1]
        +id: f1
         type: RichForm[UIXFacesBeanImpl, id=f1]
          +id: pt1
           type: RichPageTemplate[oracle.adf.view.rich.component.fragment.UIXInclude$ContextualFacesBeanWrapper@2a0cc, id=pt1]
            +id: ps1
             type: RichPanelSplitter[UIXFacesBeanImpl, id=ps1]
              +id: pt3
         at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1199)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag265(__projectrevenuern_jsff.java:12356)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag264(__projectrevenuern_jsff.java:12317)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag263(__projectrevenuern_jsff.java:12262)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag262(__projectrevenuern_jsff.java:12200)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag261(__projectrevenuern_jsff.java:12147)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag260(__projectrevenuern_jsff.java:12099)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag259(__projectrevenuern_jsff.java:12047)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag258(__projectrevenuern_jsff.java:11992)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag257(__projectrevenuern_jsff.java:11948)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag255(__projectrevenuern_jsff.java:11860)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag254(__projectrevenuern_jsff.java:11808)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag9(__projectrevenuern_jsff.java:510)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag8(__projectrevenuern_jsff.java:461)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag1(__projectrevenuern_jsff.java:149)
         at jsp_servlet.__projectrevenuern_jsff._jspService(__projectrevenuern_jsff.java:67)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:499)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:429)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
         at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:443)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:153)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:128)
         at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:492)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag50(__projectrevenuepg_jspx.java:2392)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag49(__projectrevenuepg_jspx.java:2353)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag46(__projectrevenuepg_jspx.java:2209)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag45(__projectrevenuepg_jspx.java:2162)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag9(__projectrevenuepg_jspx.java:526)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag8(__projectrevenuepg_jspx.java:475)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag7(__projectrevenuepg_jspx.java:424)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag6(__projectrevenuepg_jspx.java:373)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag2(__projectrevenuepg_jspx.java:202)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag1(__projectrevenuepg_jspx.java:144)
         at jsp_servlet.__projectrevenuepg_jspx._jspService(__projectrevenuepg_jspx.java:71)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:499)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:248)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = CAMIND1 TXID =  CONTEXTID =  TIMESTAMP = 1262712477691 
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <JMXWatchNotificationListener><handleNotification> failure creating incident from WLDF notification
    oracle.dfw.incident.IncidentCreationException: DFW-40116: failure creating incident
    Cause: DFW-40112: There was an error executing adrci commands; the following errors have been found "DIA-48415: Syntax error found in string [create home base=C:\\Documents and Settings\\tammineedis\\Application] at column [69]
    DIA-48447: The input path [C:\\Documents and Settings\\tammineedis\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr] does not contain any ADR homes
    DIA-48447: The input path [diag\ofm\defaultdomain\defaultserver] does not contain any ADR homes
    DIA-48494: ADR home is not set, the corresponding operation cannot be done
    Action: Ensure that command line tool "adrci" can be executed from the command line.
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:708)
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createIncident(DiagnosticsDataExtractorImpl.java:246)
         at oracle.dfw.spi.weblogic.JMXWatchNotificationListener.handleNotification(JMXWatchNotificationListener.java:195)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper.handleNotification(DefaultMBeanServerInterceptor.java:1732)
         at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:257)
         at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(NotificationBroadcasterSupport.java:322)
         at javax.management.NotificationBroadcasterSupport$1.execute(NotificationBroadcasterSupport.java:307)
         at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:229)
         at weblogic.management.jmx.modelmbean.WLSModelMBean.sendNotification(WLSModelMBean.java:824)
         at weblogic.diagnostics.watch.JMXNotificationProducer.postJMXNotification(JMXNotificationProducer.java:79)
         at weblogic.diagnostics.watch.JMXNotificationProducer.sendNotification(JMXNotificationProducer.java:104)
         at com.bea.diagnostics.notifications.JMXNotificationService.send(JMXNotificationService.java:122)
         at weblogic.diagnostics.watch.JMXNotificationListener.processWatchNotification(JMXNotificationListener.java:103)
         at weblogic.diagnostics.watch.Watch.performNotifications(Watch.java:621)
         at weblogic.diagnostics.watch.Watch.evaluateLogRuleWatch(Watch.java:546)
         at weblogic.diagnostics.watch.WatchManager.evaluateLogEventRulesAsync(WatchManager.java:765)
         at weblogic.diagnostics.watch.WatchManager.run(WatchManager.java:525)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.dfw.common.DiagnosticsException: DFW-40112: failed to execute the adrci commands "create home base=C:\\Documents and Settings\\tammineedis\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr product_type=ofm product_id=defaultdomain instance_id=defaultserver
    set base C:\\Documents and Settings\\tammineedis\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr
    set homepath diag\ofm\defaultdomain\defaultserver
    create incident problem_key="BEA-101020 [HTTP]" error_facility="BEA" error_number=101020 error_message="null" create_time="2010-01-05 12:27:58.155 -05:00" ecid="0000INzXpbB7u1MLqMS4yY1BGrHn00000K"
    Cause: There was an error executing adrci commands; the following errors have been found "DIA-48415: Syntax error found in string [create home base=C:\\Documents and Settings\\tammineedis\\Application] at column [69]
    DIA-48447: The input path [C:\\Documents and Settings\\tammineedis\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr] does not contain any ADR homes
    DIA-48447: The input path [diag\ofm\defaultdomain\defaultserver] does not contain any ADR homes
    DIA-48494: ADR home is not set, the corresponding operation cannot be done
    Action: Ensure that command line tool "adrci" can be executed from the command line.
         at oracle.dfw.impl.incident.ADRHelper.invoke(ADRHelper.java:1052)
         at oracle.dfw.impl.incident.ADRHelper.createIncident(ADRHelper.java:786)
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:688)
         ... 19 moreI get the above Error.
    I have checked the bindings and it has 2 instances of the taskflow.
    I have changed the backingbean scope to backingBean

  • Can items in a page fragment be added to a Virtual Form?

    I've got a page fragment that's included in several pages. That page fragment
    contains links. I want those links to be able to bypass submittion, so I
    would like to include those links in a virtual form, much the same way that
    I've included the Close button.

    Quite simply, the anser is no. Components contained within page fragments (or page fragments themselves) may not participate in virtual forms.

  • 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.

  • "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>

  • Threadinar10 - Page Separator, Page Fragment Box , Tab Set & Tab Components

    Hi All,
    This is the tenth in the Threadinar series. See the Components Threadinar Index at http://forum.sun.com/jive/thread.jspa?threadID=103424 for the complete list to date.
    This Threadinar will discuss 4 components in the "Components Palette: Layout Section" section of the Creator Component Catalog.
    The components we will focus on today are
    "Page Separator", "Page Fragment Box" , "Tab Set" & "Tab" Components.
    Let us begin our discussion with the "Page Separator" Component.
    Page Separator Component
    You can drag the Page Separator component from the Palette's Layout category to the Visual Designer to create a horizontal line that resizes to any page width selected by the user. This component is the visual equivalent of an HTML <hr> tag.
    In the page bean, a Page Separator component is a PageSeparator object.
    * Note: If you want to use an HTML <hr> tag, drop a Meta component on the page and set its tag property to hr.
    [b]Page Fragment Box Component
    This component enables you to include a page fragment in a page. A page fragment is a separate, reusable part of a page that can be included in any number of pages. For example, you might want to put a common a visual element like a header graphic in a page fragment and then include it in all the pages in an application.
    When you drag the Page Fragment Box component from the Layout category of the Palette and drop it on a page, the Select Page Fragment dialog box prompts you for the name of the page fragment to be included. You can enter the name of an existing page fragment or create a new page fragment. If you create a new page fragment, the IDE gives the new fragment a .jspf file suffix and creates a node for it in the Projects window, as well as adding the page fragment to the Outline window.
    * Note: A Page Fragment Box component simply includes a page fragment in a page. Deleting a Page Fragment Box component from a page does not delete the page fragment itself, even if you originally used the Select Page Fragment dialog box to create the page fragment.
    After dropping a Page Fragment Box component on the page, if you click inside the component, you see the properties for the included fragment. If you click the border of the component, you see the properties for the enclosing <div> block. You can also use the Outline window to select the enclosing block, the page fragment, or the components in the page fragment. In the Outline window, the Page Fragment Box component is represented by a node named directive.include:fragment-file.jspf, where fragment-file is the name of the page fragment file.
    If you double-click the page fragment, it opens as a page in the Visual Editor, enabling you to edit it like a regular page. The page fragment has an associated JavaBeans object, a page fragment bean, which you can edit by clicking the Java button at the top of the page fragment when it is open in the Visual Editor. As with a regular page, if you drop a component like a button in a fragment, double clicking adds an event handler in the page fragment bean, enabling you to reuse the code on any page to which you add the page fragment. A common scenario for reusing component code would be a Search Box fragment that has a search Label, a Text Field where the user enters the search string, some Inline Help, and search logic code in the page fragment bean.
    * The tab order of the components in the page is unlikely to work properly unless you enclose the entire page fragment box in the Faces Verbatim component.
    For more details see tutorial : "Using Page Fragments"
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/pagefragments.html
    [b]Tab Set Component
    The Tab Set component in the Palette's Layout category is a container for a set of Tab components. Typical uses of a tab set are:
    * To provide alternate sets of components on the same page and enable the user to navigate to them by clicking on tabs. The user sees only the components under the currently selected tab. For more information on adding components to tabs, see Tab Component.
    * To navigate among a set of pages. If you use a tab set this way, you would usually have the tab set near the top of each page with the component's width set at 100%. You would use the Page Navigation editor to define each tab to display a page in the application, with the current page's tab set as the selected tab. In addition, you would need to delete the default Layout Panel component under each tab so the tab would display the page contents.
    You can set Tab Set properties in the component's Properties window.
    A Tab Set component contains Tab Components, and Tab components can contain other Tab components. You can see these components displayed as hierarchical nodes in the Outline window after you add a Tab Set to your page.
    You can add a new tab to a tab set in two ways, by right-clicking the Tab Set component and choosing Add Tab or by dropping a new tab component on the Tab Set or on a Tab component.
    You can drop a new tab component on a tab set in the Visual Designer to the right or left of existing tabs to create a new tab at that level. The tabs in a tab set can also be containers for other tabs. If you drop a Tab component on an existing tab, the new tab becomes a child of the tab on which you dropped it. The maximum number of levels for tabs is three.
    The tab set component determines which tab is rendered as selected, storing the value in the selected property. By default, the selected property is set to the first tab created for the component. If you click a tab while designing your web page, that tab becomes the selected tab. You can tell during design time that a tab is selected because its color changes.
    [b]Tab Component
    A Tab is part of a Tab Set component. You can add a new tab to a tab set in two ways, by right-clicking the Tab Set component and choosing Add Tab or by dragging a new Tab component from the Layout category of the Palette and dropping it on the Tab Set or on another Tab component. You can also drag from the Palette and drop the tab on the tab set's nodes in the Outline window.
    * If you drop the Tab component to the left or right of an existing tab, it is added to the same row of tabs.
    * If you drop the Tab component on an existing tab, the dropped tab becomes a child tab of the tab on which you drop it unless the existing tab is a third level tab. You can have at most three levels of tabs in a tab set.
    o Note: You cannot add a child tab to a tab that has components in its Layout Panel. When you drop a tab on an existing tab component that has an empty Layout Panel, the empty Layout Panel is deleted to make room for the dropped tab.
    By default, a Tab component has a Layout Panel below it where you can drop components that will be displayed when the user selects the tab. The Layout Panel by default has its panelLayout property set to Grid Layout, meaning that components dropped on the panel are aligned at the location where they are dropped. You can change the layout behavior by setting the panelLayout property to Flow Layout, which aligns dropped components left to right in rows. For more information on Layout Panel properties, see Layout Panel Component Properties Window.
    To select a tab in a tab set, either click the Tab component on the page or select the Tab component's node in the Outline window. To select the whole tab set, either click the border of the Tab Set component on the page or select the tab set's node in the Outline window. Alternatively, you can select a Tab component and either press Escape or right-click and choose Select Parent to select its parent component.
    * Note: If you select a tab on a page in the Visual Designer, a side effect is that it becomes the selected tab. If this effect is not what you want, select the tab in the Outline window so you can set its properties.
    You can drag tabs in the Outline window to change their location and level in the tab set.
    Some typical uses of tabs:
    * You can drop components on the Layout Panel component below a tab to enable a set of components to be displayed below each tab. When the user selects a tab, they see only the components that are associated with the tab, without having to change pages.
    * You can use a tab set to navigate among a set of pages. Each tab component links to a page in your web application. You would use the Page Navigation editor to define each tab to display a page in the application, with the current page's tab set as the selected tab. If you want to use the tab set for page navigation, be sure to delete each tab component's Layout Panel.
    You can also right-click the Tab component and choose one of the following options:
    * Edit action Event Handler. Code the action event handler, the method that is called when the user clicks the tab. This method determines which page or resource to open based on specified conditions. The action method typically processes mouse clicks and returns a string indicating the name of a page navigation case (the page in your application to display next). The default name for the method is tab-id_action, where tab-id is the value of the tab's id property.
    * Bind to Data. Dynamically set the text that appears on the tab. You can bind the component's text property to an object or a data provider, as described in the topic Bind to Data Dialog Box.
    * Property Bindings. Opens a dialog box that enables you to bind properties of the component in addition to the text property to other objects or bean properties that update this component's properties automatically.
    [b] Please join in and share your comments, experiences, additional information, questions, feedback, etc. on these components. <br><br>
    Thank you for your participation

    The following blog has a mini tutorial on using a tab set in a page fragment for page navigation:
    http://blogs.sun.com/divas/entry/tabbing_thru_the_tulips
    A reader commented that the mini tutorial needed to be improved upon to show how to keep the tab state and navigation state in synch.
    How would you do it? If you have a good example, maybe post it to this thread.
    Also, there is no tab tutorial but it is on the priority list. What would you like a tab tutorial to show how to do?

  • Is there anyway to get a Page Fragment to work like this?...

    I am trying to use a page fragment to contain an h:messages like that described in this article:
    http://wiki.apache.org/myfaces/Displaying_Errors/Infos/Warnings_in_JSF_Pages
    I can get the h:messages to display correctly but the value of
    getFacesContext().getMaximumSeverity()
    is always null. I don't understand why this is. Can someone explain how to get this to work?
    public class PageMessagesF extends AbstractFragmentBean
    private static final long serialVersionUID = 1L;
    final static Log log = LogFactory.getLog(PageMessagesF.class);
    private int __placeholder;
    private void _init() throws Exception {
    private HtmlPanelGrid messagePanel = new HtmlPanelGrid();
    public HtmlPanelGrid getMessagePanel() { return messagePanel; }
    public void setMessagePanel(HtmlPanelGrid hpg) { this.messagePanel = hpg; }
    public HtmlGraphicImage messageGraphicImage = new HtmlGraphicImage();
    public HtmlGraphicImage getMessageGraphicImage() { return messageGraphicImage; }
    public void setMessageGraphicImage(HtmlGraphicImage hgi) { this.messageGraphicImage = hgi; }
    private HtmlPanelGrid messageInnerPanel = new HtmlPanelGrid();
    public HtmlPanelGrid getMessageInnerPanel() { return messageInnerPanel; }
    public void setMessageInnerPanel(HtmlPanelGrid hpg) { this.messageInnerPanel = hpg; }
    private HtmlOutputText messageHeaderLabel = new HtmlOutputText();
    public HtmlOutputText getMessageHeaderLabel() { return messageHeaderLabel; }
    public void setMessageHeaderLabel(HtmlOutputText hot) { this.messageHeaderLabel = hot; }
    public HtmlMessages messageList = new HtmlMessages();
    public HtmlMessages getMessageList() { return messageList; }
    public void setMessageList(HtmlMessages hm) { this.messageList = hm; }
    // </editor-fold>
    private static final String BEAN_NAME = PageMessagesF.class.getName();
    private String messageHeader;
    private String messageImage;
    private Severity severityLevel;
    public PageMessagesF()
    log.info("FACES CONTEXT == " + getFacesContext().toString());
    FacesContext fc = FacesContext.getCurrentInstance();
    log.info("FACES CONTEXT.SEVERITY == " + fc.getMaximumSeverity());
    Iterator msgIter = fc.getMessages();
    boolean errorMsgExists = false;
    while (msgIter.hasNext())
    //messagePanel.setRendered(true);
         FacesMessage msg = (FacesMessage) msgIter.next();
         log.info("FACES CONTEXT msg.detail == " + msg.getDetail());
         log.info("FACES CONTEXT msg.summary == " + msg.getSummary());
         log.info("FACES CONTEXT msg.severity == " + msg.getSeverity());
    errorMsgExists = true;
    break;
    if (!errorMsgExists)
    //messagePanel.setRendered(false);
         log.info("FACES CONTEXT msgIter == EMPTY");
    messageHeader = null;
    // see if there are messages queued for the page
    severityLevel = getFacesContext().getMaximumSeverity();
    if (severityLevel == null)
    log.info("Severity Level Trapped: level == " + severityLevel);
    messageHeader = "There is a message on the page that is preventing you from proceeding.";
    messageImage = "/resources/about.png";
    else
    log.info("Severity Level Trapped: level = '" + severityLevel.toString() + "'");
    if (severityLevel.compareTo(FacesMessage.SEVERITY_ERROR) == 0)
    messageHeader = "There are errors on the page.";
    messageImage = "/resources/error.png";
    else if (severityLevel.compareTo(FacesMessage.SEVERITY_INFO) == 0)
    messageHeader = "There are messages on the page.)";
    messageImage = "/resources/information.png";
    else if (severityLevel.compareTo(FacesMessage.SEVERITY_WARN) == 0)
    messageHeader = "There are warnings on the page.";
    messageImage = "/resources/warning.png";
    else if (severityLevel.compareTo(FacesMessage.SEVERITY_FATAL) == 0)
    messageHeader = "There is a fatal error on the page.";
    messageImage = "/resources/forbidden.png";
    public ApplicationBean1 getApplicationBean1() {
    return (ApplicationBean1)getBean("ApplicationBean1");
    public SessionBean1 getSessionBean1() {
    return (SessionBean1)getBean("SessionBean1");
    public RequestBean1 getRequestBean1() {
    return (RequestBean1)getBean("RequestBean1");
    public void init()
    super.init();
    try
    _init();
    catch (Exception e)
    log.error("PageMessagesF Initialization Failure", e);
    throw e instanceof FacesException ? (FacesException) e: new FacesException(e);
    * <p>Callback method that is called after rendering is completed for
    * this request, if <code>init()</code> was called. Override this
    * method to release resources acquired in the <code>init()</code>
    * resources that will be needed for event handlers and lifecycle methods.</p>
    * <p>The default implementation does nothing.</p>
    public void destroy()
    log.info("destroy()");
    public Boolean getRenderMessage()
         log.info("getRenderMessage() == " + StringUtils.isNotBlank(getMessageHeader()));
    return new Boolean(StringUtils.isNotBlank(getMessageHeader()));
    public String getBeanName()
    return BEAN_NAME;
    public String getMessageHeader()
    return messageHeader;
    public String getMessageImage()
         log.info("getMessageImage() == " + messageImage);
    return messageImage;
    thanks

    Anyone got a clue? I actually need for this to work now.

  • How to assign style class to page fragment?

    Hi,
    I try to assign CSS style classes to a page fragment, but there is no way to assign style classes from the default stylesheet.css.
    What do I miss here?
    Stephan

    Hi Tor,
    you will recognize that I made some changes, but it didn't solve the problem. As I mentioned everything is rendering fine on Linux and Firefox, also on Windows and Netscape 7.2, but not with IE. In particular the hyperlinks in the page fragment are centered, but on IE they are moved to the right. I also recognized that on all my jsp with the page fragment on it there is a space of about 10 px left on the right side of the window in IE. Following is the source view from IE:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xml:lang="en-US" lang="en-US"><head><meta http-equiv="Cache-Control" content="no-cache"/><meta http-equiv="Pragma" content="no-cache"/><title>Login Page</title><link type="text/css" rel="stylesheet" href="resources/stylesheet.css"/></head><body style="background-color: rgb(204, 204, 255); -rave-layout: grid"><form id="form1" method="post" action="/bardubitzki/faces/Login.jsp;jsessionid=B26CD4F0ED76D8E672FE93643B549E1C" enctype="application/x-www-form-urlencoded">
    "left: 0px; top: 0px; position: absolute; width: 100%"><?xml version="1.0" encoding="UTF-8"?>
    "CENTER" style="-rave-layout: grid" xmlns:h="http://java.sun.com/jsf/html"> <table id="form1:headerGridPanel1" border="0" cellpadding="0" cellspacing="0" style="background-image: url(resources/BarduBanner.png); height: 80px; position: absolute; background-repeat: no-repeat; width: 100%; left: 0px; top: 0px"> <tbody> <tr> <td class="tableColumnCenter">"form1:bsheaderImage1" src="resources/Clear.gif;jsessionid=B26CD4F0ED76D8E672FE93643B549E1C" alt="" /></td> </tr> </tbody> </table> <table id="form1:headerGridPanel2" border="0" cellpadding="0" cellspacing="0" style="text-align: center; width: 100%; left: 0px; background-image: url(resources/BarduBanner4.png); background-position: center; position: absolute; background-repeat: no-repeat; top: 80px; height: 20px"> <tbody> <tr> <td class="tableColumnCenter"><table id="form1:headerGridPanel3" border="0" cellpadding="0" cellspacing="0" style="height: 18px; position: relative; bottom: 3px; font-family: serif; right: 25%; width: 50%; left: 25%; top: 1px"> <tbody> <tr> <td>"form1:headerHyperlink1" href="faces/Index.jsp;jsessionid=B26CD4F0ED76D8E672FE93643B549E1C" class="menu">"form1:headerHyperlink1Text">Home</td> <td>"form1:headerHyperlink2" href="faces/DSSCreditCardDebt.jsp;jsessionid=B26CD4F0ED76D8E672FE93643B549E1C" class="menu">"form1:headerHyperlink2Text">Products</td> <td>"form1:headerHyperlink3" href="faces/Services.jsp;jsessionid=B26CD4F0ED76D8E672FE93643B549E1C" class="menu">"form1:headerHyperlink3Text">Services</td> <td>"form1:headerHyperlink4" href="faces/AboutUs.jsp;jsessionid=B26CD4F0ED76D8E672FE93643B549E1C" class="menu">"form1:headerHyperlink4Text">About Us</td> </tr> </tbody> </table> </td> </tr> </tbody> </table>
    <table id="form1:loginGridPanel1" style="position: absolute; width: 100%; left: 0px; top: 100px">
    <tbody>
    <tr>
    <td><table id="form1:loginGridPanel2" style="width: 100%">
    <tbody>
    <tr class="tableRow">
    <td class="tableColumn1"><table id="form1:loginGridPanel4" style="margin-left: 10px; margin-right: 10px; font-family: serif; width: 100%; margin-top: 50px">
    <tbody>
    <tr>
    <td>"form1:loginHyperlink1" href="faces/DSSCreditCardDebt.jsp;jsessionid=B26CD4F0ED76D8E672FE93643B549E1C" class="link">"form1:loginHyperlink1Text">DSS CreditCardDebt</td>
    </tr>
    </tbody>
    </table>
    </td>
    <td class="tableColumn2"><table id="form1:loginGridPanel5" style="width: 100%">
    <tbody>
    <tr>
    <td><table id="form1:loginGridPanel6" style="width: 100%; margin-top: 20px">
    <tbody>
    <tr>
    <td class="tableColumnCenter">"form1:image2" src="resources/DSS.png;jsessionid=B26CD4F0ED76D8E672FE93643B549E1C" alt="" /></td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    <tr>
    <td><table id="form1:loginGridPanel11" style="color: rgb(102, 0, 102); font-family: serif; width: 100%; font-size: 18px">
    <tbody>
    <tr>
    <td class="tableColumnJustify">"form1:outputText1">We have confirmed your request. You are allowed to WebStart DSS CreditCardDebt again. Please enter your Transaction ID you received from PayPal via email.</td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    <tr>
    <td><table id="form1:loginGridPanel14" style="font-family: serif; width: 100%">
    <tbody>
    <tr>
    <td><table id="form1:loginGridPanel7" style="width: 100%">
    <tbody>
    <tr>
    <td class="tableColumnCenter"></td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    <tr>
    <td><table id="form1:loginGridPanel8" style="width: 100%">
    <tbody>
    <tr>
    <td><table id="form1:loginGridPanel10" style="width: 100%; margin-top: 40px">
    <tbody>
    <tr>
    <td class="tableColumnRight"><label id="form1:loginComponentLabel1" style="color: rgb(102, 0, 102); font-size: 14px" class="tableColumnJustify">
    "form1:loginComponentLabel1Text">PayPal Transaction ID: </label></td>
    <td class="tableColumnLeft"><input id="form1:loginTextField1" type="text" name="form1:loginTextField1" maxlength="17" style="" /></td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    <tr>
    <td><table id="form1:loginGridPanel9" style="width: 100%; margin-top: 40px">
    <tbody>
    <tr>
    <td class="tableColumnCenter"><input id="form1:loginButton1" type="image" src="resources/Login.png" name="form1:loginButton1" /></td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    </tbody>
    </table>
    </td>
    <td class="tableColumn3"><table id="form1:loginGridPanel13" style="width: 100%">
    <tbody>
    </tbody>
    </table>
    </td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    <tr>
    <td><table id="form1:loginGridPanel3" style="font-family: serif; width: 100%; margin-top: 50px">
    <tbody>
    <tr>
    <td class="tableColumnCenter">"form1:loginOutputText1" style="color: rgb(153, 153, 255); font-weight: bold; font-size: 10px">Copyright(c) 2005 BARDUBITZKI Software</td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    </tbody>
    </table>
    <input type="hidden" name="form1" value="form1" /></form></body></html>
    Hope that will help.
    Stephan

  • Page Fragment and javascript - need help please

    Hi all..
    I have a page fragment (being used as a header) and am trying to get a text field in this page fragment to recieve a value from a javascript (that is embeded in the page fragment).. see the example below..
    --------------PageFragment1----------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <div style="-rave-layout: grid; width: 400px; height: 200px" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://www.sun.com/web/ui">
    <f:subview id="Fragment1">
    <ui:textField binding="#{Fragment1.textField1}" id="textField1" style="position: absolute; left: 180px; top: 30px; width: 165px; height: 15px">
    <SCRIPT>
    var d = new Date();
    document.getElementById("Fragment1:textField1").value = d.toLocaleString();
    </SCRIPT>
    </ui:textField>
    </f:subview>
    </div>
    My problem is that doesn't matter what I do I cannot set the textField1 value from the script. For the actual application it does need to be a javascript - does anyone know how to do this on a page fragment as opposed to a plain page...
    The actual error I get is on the client side and it states that document.getElementById is null... :( someone please help.
    Thanks in advance.

    You probably need to prepend "form1:" to the id (or whatever your form's id is) One sure fire way to figure this out is choose view source in your browser and search for the target field.

  • Problem with popup in a page fragment

    JDev 11.1.2.1
    I'm using the code described here to launch popup from a backing bean.
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/oct2010-otn-harvest-183714.pdf
    How-to launch a popup programmatically from Java
    Starting Oracle JDeveloper 11.1.1.3, instance of af:popup can be opened using a Java method on the RichPopup object. The RichPopup class is the bean implementation of the af:popup ADF Faces tag. To launch a popup from a managed bean, you first need to get a hold on to a rich popup instance, which you can do by searching it on the UIViewRoot or by referencing a JSF component binding – which you create using the "binding" property of the af:popup component tag. To open the popup you then call
    RichPopup.PopupHints ph = new RichPopup.PopupHints(); popup.show(ph);
    It works fine except when the popup is inside a page fragment.
    In IE 7 I get the javascript error message
    "this.getDomNode().parentNode' is null or not an object"
    I have also tried the following code; that works fine except when the popup is inside a page fragment.
    FacesContext context = FacesContext.getCurrentInstance();
    String popupId = popup.getClientId(context);
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ExtendedRenderKitService service =
    Service.getRenderKitService(facesContext,
    ExtendedRenderKitService.class);
    service.addScript(facesContext,
    "AdfPage.PAGE.findComponent('" + popupId + "').show();");
    Any idea how to launch a popup in a page fragment?

    Since this is working for others I'm working on a test case to send to oracle.
    I'll try to give more information.
    Main.jspx
    has a region for Child.jsff using a bounded task flow.
    <af:region value="#{bindings.Child.regionModel}" id="r1"/>
    Child.jsff has a popup bound to backing bean and a button that calls java to open the popup.
    Child.jsff has its own set of bindings. It is not inherting parent bindings.
    <?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:resource type="javascript"/>
    <af:group id="g100">
    <af:popup childCreation="deferred" autoCancel="disabled" id="p1" binding="#{TestBacking.testPop}">
    </af:popup>
    <af:commandButton text="testPopup" id="cb1" actionListener="#{TestBacking.test}"/>
    TestBacking.java
    public void setTestPop(RichPopup testPop) {
    this.testPop = testPop;
    public RichPopup getTestPop() {
    return testPop;
         public void test(ActionEvent actionEvent) {
              RichPopup.PopupHints ph = new RichPopup.PopupHints();
              testPop.show(ph);
    Edited by: Phil on Nov 14, 2011 11:53 AM
    Edited by: Phil on Nov 14, 2011 11:58 AM

Maybe you are looking for

  • How can we increase the maximum number of records which we export from UME

    Hi All,          Is there any way to increase the maximum number of records which we can export from the UME. Please give your valuable suggestions as soon as possible. Thanks in Advance Regards, Ramalakshmi.S

  • Repeating Form from Form list

    Hi, Is there a way to properly use repeating forms entered in the formlist. Using a manual trigger, I am able to trigger as many instances of the same form as the XML needs but the subforms inside the form do not. Example: the first Form instance wil

  • How to connect firmly a 50M-68F convertor to my DAQ card?

    Hello, I am using a 50M-68F (183139B-01) connector to connect my 5B equipment to a MIO-16E4/PCI6023E. This connector is simply plugged into the board (no screw or whatsoever) and I was wondering if there was a better way to tighten this connection to

  • Odd Accordion Behaviour

    I have a dynamically populated accordion in my application, and I'm experiencing some very unusual behavior. Background: I have a User object, and this object contains an array of lecture object.  For each lecture, I add a box to my accordion, and th

  • Lightroom 5 publish services - order of published images

    I have created several collections in which I have manually sorted the photos in a certain order. I am going to use them in a book (will be sending them to SmartBooks) and I don't want to reorder them once they are published to my hard drive. I have