Tomahawk t:dataScroller in JDeveloper

I am trying to use Tomahawk dataScroller in JDeveloper, but it looks like I have rendering problem. (Tomahawk 1.1.6, JDeveloper TP3)
In the next and previous buttons image tag is not inside of the link tag.
Buttons are rendered as following:
<!--Start: javax.faces.Panel["scroll_1"]-->
<td>
<!--Start: javax.faces.Graphic["j_id__ctru31pc7"]--> < img id="reportForm:invTable:j_id__ctru31pc7" src="images/arrow-next.gif" border="1">
<!--Start: javax.faces.Command["scroll_1next"]-->
<a id="reportForm:invTable:scroll_1next" name="reportForm:invTable:scroll_1next" onclick="submitForm('reportForm',1,{source:'reportForm:invTable:scroll_1next','reportForm:invTable:scroll_1':'next'});return false;" class="OraLink" href="#"></a>
</td>Here is a jsp code
     <t:dataTable id="data"
                  styleClass="scrollerTable"
                  headerClass="standardTable_Header"
                  footerClass="standardTable_Header"
                  rowClasses="standardTable_Row1,standardTable_Row2"
                  columnClasses="standardTable_Column,standardTable_ColumnCentered,standardTable_Column"
                  var="car"
                  value="#{pagedSort.cars}"
                  preserveDataModel="true"
                  rows="10"
                  rowId="#{car.type}"
                  rowOnClick="alert('rowId: ' + this.id)"
                  sortColumn="#{pagedSort.sort}"
                  sortAscending="#{pagedSort.ascending}"
                  preserveSort="true">
        <t:column>
            <f:facet name="header"></f:facet>
            <h:outputText value="#{car.id}" />
        </t:column>
        <t:column>
            <f:facet name="header">
                <t:commandSortHeader columnName="type" arrow="true" immediate="false">
                    <h:outputText value="Type}" />
                </t:commandSortHeader>
            </f:facet>
            <h:outputText value="#{car.type}" />
        </t:column>
        <t:column>
            <f:facet name="header">
                <t:commandSortHeader columnName="color" arrow="true" immediate="false">
                    <h:outputText value="Color" />
                </t:commandSortHeader>
            </f:facet>
            <h:inputText value="#{car.color}" >
                <f:validateLength maximum="10"/>
            </h:inputText>
        </t:column>
    </t:dataTable>
    <h:panelGrid columns="1" styleClass="scrollerTable2" columnClasses="standardTable_ColumnCentered" >
        <t:dataScroller id="scroll_1"
                        for="data"
                        fastStep="10"
                        pageCountVar="pageCount"
                        pageIndexVar="pageIndex"
                        styleClass="scroller"
                        paginator="true"
                        paginatorMaxPages="9"
                        paginatorTableClass="paginator"
                        paginatorActiveColumnStyle="font-weight:bold;">
            <f:actionListener type="datasupport.DataScrollerActionListener"/>
            <f:facet name="previous">
                <t:graphicImage url="images/arrow-previous.gif" border="1" />
            </f:facet>
            <f:facet name="next">
                <t:graphicImage url="images/arrow-next.gif" border="1" />
            </f:facet>
        </t:dataScroller> Faces-config.xml has:
        <default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id>Am I missing something?
I will appreciate any help.
Irina

It is a runtime problem
And it also exists in TP4
Tomahawk 1.1.6 does work with JSF 1.2
I removed
<default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-
kit-id>line from the Faces-config.xml.
Table scrolling works, but
other component do not render, for example <dvt:graph>
Also when ADF is added to the page
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/rich" prefix="af"%>faces-config.xml is auto changed to
<default-render-kit-id>oracle.adf.rich</default-render-kit-id>and <dvt:graph> will disappear at runtime.
Thank you,
Irina.
PS. both TR3 and TR4

Similar Messages

  • Project not working after adding tomawahk components...

    I added the tomahawk componend library to jdeveloper yesterday - which in itself was not a problem free experience, but after I get the tag library going, and my minor errors resloved, there didn't seem to be any problem... until I ran my application, and the screen was just blank. No error is thrown.
    - I have also set up the tomahawk extensions filter.
    - i do not have any adf compondents. my pages were html / JSF html.
    I have read an article that with a section called "running in jdeveloper", but the instructions there must have been for an older pre-release version. This seems to say that once tomahawk elements have been used, the project cannot be run in the normal way(?).
    Can anyone tell me how to get my app up and running again???
    Thanks for any assistance!!
    /caj

    more info...
    I have not come anywhere with this... so I thought I would at least try to get back to where I was before... heh heh... that was maybe not so easy...
    - I have removed all references to tomahawk from my jspx pages, including the namespace reference.
    - I have removed the extenstions additions from the web.xml file
    - removed the tag library first from the project, then from jdevelopers manage libaries.
    - the same with the jar files.
    but, not difference. My wysiwyg views are still different than they were before, and my project does not run (the server looks good, net browser opens, loads, but the content is empty)...
    It is looking like a re-install is necessary - please someone help me before this is necessary.
    many thanks for whatever assistance people can give!!
    /caj

  • MyFaces schedule component is not rendering properly.

    Hello everybody.
    I am trying to use the Tomahawk schedule component with Jdeveloper 10.1.3.2. It is not rendering properly.
    The schedule entries and the header line are mising for weeks.
    I removed the default-render-kit-id element from the faces-config.xml. Nothing changed.
    Used versions:
    - Jdeveloper 10.1.3.2
    - myFaces 1.5.1
    - tomahawk 1.5.1
    Any suggestions?
    Thanks.

    Hi,
    did you post this question on the MyFaces open source list?
    Frank

  • Tomahawk DataScroller - NullPointerException with navigation panel

    Hi all,
    I'm trying to implement navigation on a dataTable with DataScroller. Except from the dataTable content the jsp is a copy / paste from the tomahawk cars example.
    My jsp structure has 3 main elements
    - datatable
    - scroller one for datatable navigation (next, previous, ...)
    - scroller two for datatable statistics (pages counts)
    When page is loaded there is a fatal error (NullPointerException)
    If I delete the scroller one definition in my jsp there is no error, data table is correctly populated with 10 first rows and scroller two information is correct.
    I tried with a simple ArrayList or with a DataModel in my backing bean. In both cases the NullPointerException happens.
    I checked web.xml, faces-config, ... can't find a reason.
    Any idea someone please? See stacktrace here under and sample of my jsp
    Thank you very much for any help.
    sunjavero
    // here is my jsp extract:
    <code>
    <f:view>
    <h:panelGroup id="body">
         <t:dataTAble id="data" ... >
         </t:dataTable>
         <h:panelGrid columns="1" ... >
              <t:dataScroller id="scroll_1" for="data" ... >
                   <f:facet name="first" >
                        <t:graphicImage url="images/arrow-first.gif" border="1" />
                   </f:facet>
                   // (other facets same principle...)
              </t:dataScroller>
              <t:dataScroller id="scroll_2" for="data" ... >
         <h:outputFormat ... >
                        <f:param value="#{rowsCount}" />
                        <f:param value="#{displayedRowsCountVar}" />
                        <f:param value="#{firstRowIndex}" />
                        <f:param value="#{lastRowIndex}" />
                        <f:param value="#{pageIndex}" />
                        <f:param value="#{pageCount}" />
                   </h:outputFormat>
              </t:dataScroller>
         </h:panelGrid>
    </h:panelGroup>
    </f:view>
    </code>
    exception:
    org.apache.jasper.JasperException: javax.servlet.jsp.JspException: null
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
    caused by (root error?):
    java.lang.NullPointerException
         com.sun.faces.renderkit.html_basic.CommandLinkRenderer.getHiddenFieldName(CommandLinkRenderer.java:136)
         com.sun.faces.renderkit.html_basic.CommandLinkRenderer.encodeEnd(CommandLinkRenderer.java:318)
         javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
         org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer.renderFacet(HtmlDataScrollerRenderer.java:294)
         org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer.renderScroller(HtmlDataScrollerRenderer.java:236)
         org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer.encodeEnd(HtmlDataScrollerRenderer.java:207)

    Hi all,
    I found out a solution (after many hours of cursing!): Better to enclose DataScroller inside a form.
    I don't understand why tomahawk example works fine without it (!!!)
    If someone has an explanation he is welcome
    And if someone explains me how to get more than 24 lines of stacktrace on windows 98 he is welcome too! (Unable to start tomcat from IDE because of wrong memory size), so have to start it from dos...
    Sincerely yours... tired sunjavero

  • Tomahawk datascroller problem

    Hi ,
    I am facing a problem with tomahawk datascroller. i am enabling datascroller if i get more than 5 records. ok it is working fine . I got 8 records and displayed in two pages.i have gone to second page and removed three records.isteda of showing first page it remains in the second page(empty).please any body suggest.
    Thanks&Regards
    K.Ramu

    kodandaramu wrote:
    please its very urgentThat's your own problem. Moving pressure to us, who have completely nothing to do with your jobs and are not paid to do your job, is only dumb and rude. Have patience man. Just ask questions the smart way.

  • DataScroller (Tomahawk)

    I am trying to get the dataScroller to work for our paging, but it doesn't seem to be working. it shows me pages 1-5 and a Next link, and I can click on the Next link, or a page, and it takes me to the correct page, but then from there, no matter what I click on, it takes me back to page 1. I notice the links the first time have request parameters appended to them, but then on the resulting page, they don't, and that's when I go back to page 1. Below is a code snippet:
    <h:dataTable id="searchResultsDataTable" width="100%" cellspacing="0"
         footerClass="pager" headerClass="pager"
         cellpadding="0" value="#{SearchDetails.searchResultModel}" var="searchData"
         rows="5">
         <h:column>
              <c:choose>               
                   <c:when test="${category == 'test'}">
                        <f:verbatim >
                             <![CDATA[<p class="SearchResultText" >]]>
                        </f:verbatim>
                        <h:outputLink id="drugstoreDataUrlId" value="#{searchData.url}" title="#{searchData.title}">
                             <h:outputText id="drugstoreDataTitleId" value="#{searchData.title}" escape="false"></h:outputText>
                        </h:outputLink>
                        <f:verbatim>
                             <![CDATA[<br />]]>
                        </f:verbatim>
                             <h:outputText id="drugstoreDataBodyId" value="#{searchData.body}" escape="false"></h:outputText>
                        <f:verbatim>
                             <![CDATA[</p>]]>
                        </f:verbatim>
                   </c:when>
              </c:choose>
         </h:column>
         <f:facet name="footer">
              <hx:panelBox styleClass="panelBox" id="box1"
                   rendered="#{SearchDetails.searchResultModel != null}">
                   <hx:jspPanel>
                        <p>
                             <t:dataScroller for="searchResultsDataTable" paginator="true" fastStep="5"
                                  styleClass="pager"
                                  paginatorColumnClass="pager" paginatorTableClass="pager"
                                  paginatorMaxPages="5"     paginatorActiveColumnClass="currentPage"
                                  pageCountVar="count" pageIndexVar="index" renderFacetsIfSinglePage="false">
                                  <f:facet name="previous">
                                       <h:outputText value="Previous" rendered="#{index > 3 && count >= 5}" />
                                  </f:facet>
                                  <f:facet name="next">
                                       <h:outputText value="Next" rendered="#{index < count && count >= 5}" />
                                  </f:facet>
                             </t:dataScroller>
                        </p>
                   </hx:jspPanel>
              </hx:panelBox>
         </f:facet>
    </h:dataTable>I figured out why there are request parameters appended, because when you first come to this result page, the link is an h:outputlink, which shouldn't make a difference (I don't think).
    Could someone help me get this working?
    Thanks!!!
    Edited by: jrthor2 on Oct 7, 2008 3:37 PM

    Hi,
    Here is the dataScroller format that is perfectly working for my application. In the below code you will notice
    "<h:outputFormat value="#{label['dataScrollerEmployee_pages']}" styleClass="label" >" . Please define the "dataScrollerEmployee_pages" in a property file with the format as:
    dataScrollerEmployee_pages = {0} Employees found, displaying {1} Employees, from {2} to {3}. Page {4} / {5}
    <t:buffer into="#{tableScroller}">
    <h:panelGrid columns="1" styleClass="scrollerTable2" columnClasses="standardTable_ColumnCentered" >
    <t:dataScroller id="scroll_1"
    for="data"
    fastStep="2"
    pageCountVar="pageCount"
    pageIndexVar="pageIndex"
    styleClass="scroller"
    paginator="true"
    paginatorMaxPages="9"
    paginatorTableClass="paginator"
    paginatorActiveColumnStyle="font-weight:bold;">
    <f:facet name="first" >
    <t:graphicImage url="images/arrow-first.gif" border="1" />
    </f:facet>
    <f:facet name="last">
    <t:graphicImage url="images/arrow-last.gif" border="1" />
    </f:facet>
    <f:facet name="previous">
    <t:graphicImage url="images/arrow-previous.gif" border="1" />
    </f:facet>
    <f:facet name="next">
    <t:graphicImage url="images/arrow-next.gif" border="1" />
    </f:facet>
    <f:facet name="fastforward">
    <t:graphicImage url="images/arrow-ff.gif" border="1" />
    </f:facet>
    <f:facet name="fastrewind">
    <t:graphicImage url="images/arrow-fr.gif" border="1" />
    </f:facet>
    </t:dataScroller>
    <t:dataScroller id="scroll_2"
    for="data"
    rowsCountVar="rowsCount"
    displayedRowsCountVar="displayedRowsCountVar"
    firstRowIndexVar="firstRowIndex"
    lastRowIndexVar="lastRowIndex"
    pageCountVar="pageCount"
    pageIndexVar="pageIndex" >
    <h:outputFormat value="#{label['dataScrollerEmployee_pages']}" styleClass="label" >
    <f:param value="#{rowsCount}" />
    <f:param value="#{displayedRowsCountVar}" />
    <f:param value="#{firstRowIndex}" />
    <f:param value="#{lastRowIndex}" />
    <f:param value="#{pageIndex}" />
    <f:param value="#{pageCount}" />
    </h:outputFormat>
    </t:dataScroller>
    </h:panelGrid>
    </t:buffer>
    <h:outputText value="#{tableScroller}" escape="false"/>

  • Error Message-When using DataScroller

    Hi
    I get the following error message when using DataScroller. I am using Oracle Jdeveloper 9i production release.
    Application Error
    Return
    Error Message: null
    java.lang.NullPointerException
         int oracle.jbo.server.ViewRowSetIteratorImpl.scrollRange(int)
         int oracle.jbo.server.ViewRowSetImpl.scrollRange(int)
         int oracle.jbo.server.ViewObjectImpl.scrollRange(int)
         int oracle.jbo.html.jsp.datatags.RowsetNavigateTag.doStartTag()
         void DataHandlerComponent.jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
         void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.GetParametersRequestDispatcher.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.EvermindPageContext.include(java.lang.String)
         int oracle.jbo.html.jsp.datatags.ComponentTag.doStartTag()
         void Rate.jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
         void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.GetParametersRequestDispatcher.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.EvermindPageContext.include(java.lang.String)
         void BrowseTab.jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
         void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
         boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
         void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
         void com.evermind.util.ThreadPoolThread.run()

    Issue has been resolved .Ingnore this

  • Problems with combination of ADF Faces, Tomahawk, Facelets and MyFaces

    Hello,
    I am trying to combine all things named in the Subject and run into several problems:
    1. ADF Render Kit forces the Tomahawk Components to be rendered in a wrong way or stop there functionality.
    Example 1: The clickable parts of the t:dataScroller Tag can not be accessed because an empty a Tag will be rendered after the outputText.
    Example 2: The t:commandSortHeader Tag can be clicked but the table content will not be sorted anymore.
    The given examples works if i remove the default-render-kit-id element from the faces-config.xml
    2. The ad:table Tag runs into an ClassCastException, only when I put a simple example code snipped into my xhtml file.
    Code snipped:
    <af:table>
    <af:column>
    <f:facet name="header">
    <af:outputText value="Firstname"/>
    </f:facet>
    </af:column>
    <af:column>
    <f:facet name="header">
    <h:outputText value="Lastname"/>
    </f:facet>
    </af:column>
    </af:table>
    The stack trace look like this:
    java.lang.ClassCastException at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer._renderRegularColumns(DesktopTableRenderer.java:1029)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.renderSingleRow(DesktopTableRenderer.java:109)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer.encodeAll(TableRenderer.java:229)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.encodeAll(DesktopTableRenderer.java:79)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at oracle.adf.view.faces.component.UIXCollection.encodeEnd(UIXCollection.java:438)
         at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:232)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:255)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
         at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:521)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    I followed all steps for the ADF installation and the suggested steps for using ADF with Facelets.
    Used versions:
    - Oracle ADF Faces 10.1.3 Early Access
    - myFaces 1.1.1
    - Facelets 1.1.1
    - oc4j 10.1.2.0.2
    Has somebody try to use these things together, too?
    Thanks,
    Carsten

    Hi,
    Inside our fusion applications(ADF/Webcenter) using combination of JSTL and ADF Faces is good practice or pitfal?
    To suggest a a rule of thumb: Try ADF Faces on-board functionality first before reaching out to JSTL. The difference between JSF in general and JSTL is that the JSTL expressions are evaluated at page compile time wheras JSF expressions are evaluated deferred. This difference may have an impact to PPR refreshes and the data rendering (which in many cases I assume you can fix by setting the ADF Faces component content delivery to immediate instead of deferred). On a training slight I flagged JSTL with a "heads up" alert because of this
    Frank

  • JSF Visual Editor does not work with Tomahawk 1.1.3

    hi,
    i am using JDeveloper 10.1.3.0.4 (SU4) with tomahawk 1.1.3 and myfaces-core 1.1.3.
    All Tomahawk components that need the extensions filter to be rendered properly cannot be displayed
    in the UI Designer anymore (e.g. Calendar). More painfully: all compontents in the container that comes after the component
    that failed rendering will not be rendered too.
    I have enabled JSP Visual Editor Preferendes 'Show Design Time Messages in Log' and got the following
    exception:
    Error exercising tag : h:panelGrid
    java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html
         at org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtensionsFilterMissing(AddResourceFactory.java:371)
         at org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironment(AddResourceFactory.java:333)
         at org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:288)
    But the ExtensionsFilter is configured correctly - all works fine when running the page.
    A little help was to disable the ExtensionsFilter Check in web.xml
    <context-param>
    <param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name>
    <param-value>false</param-value>
    </context-param>
    So only the components that need the extensions filter will not be rendered - others will not be affected.
    But this is not really satisfying (btw. all worked fine with myfaces 1.1.1)
    Has anyone else got the same expirience?
    thanks

    hi,
    to work with myfaces-1.1.1 and the newer versions in jdeveloper i have changed the tlib-versionS for myfaces-impl-1.1.3 and tomahawk-1.1.3 so that they differ from the 1.1.1 libs.
    then i registered the JSP libraries tomahawk.tld from tomahawk-1.1.3.jar, myfaces_html.tld and myfaces_core.tld from myfaces-impl-1.1.3.jar
    then i have created a user library containing myfaces-api-1.1.3.jar and myfaces-impl-1.1.3.jar
    on a new created JSF i allways have to manually remove the jsf-impl.jar from WEB-INF/lib directory because it conflicts with myfaces.
    i hope this helps

  • Jsp stops before jbo:DataScroller on Tomcat 4.1.18

    We are currently installing a web app for one of our customers and are having a few problems. Any help would be greatly appreciated. The app has been developed with JDeveloper 9.0.3 and I am attempting to get the war file we have deployed to work with Apache Tomcat version 4.1.18 and Java 2 SDK, SE v1.4.0_01
    The root of the problem I am having at the moment is that none of the jsp's with jbo:DataTable / jbo:DataScroller's on them are working on the Tomcat. They are working perfectly fine on the OC4J embedded server and I have used the same war file on a machine with Apache Tomcat v4.0.4 and the same version of Java 2 SDK and it works fine.
    When I request one of these jsp's what I get back is the contents of the page up to the DataScroller and at this point it appears to stop rendering. When I view source when the task bar says 'Done', the html stops abruptly just at the point it should have started dealing with the DataScroller ! No errors are displayed, just an empty space where the DataTable should be.
    In the Tomcat logs I have found the following jboException :
    Only one of the two parameters target or targetParam should be defined. I think this applies to the DataScroller but it doesn't make any sense to me !
    What does anyone think ? I uninstalled Tomcat 4.0.4 and Java 2 SDK from the machine I am working with and started again from scratch with Tomcat 4.1 so that Tomcat can be installed as an NT Service.
    I keep messing around with this but don't seem to be getting anywhere. The problem is as well, that one of my colleagues is installing this tomorrow ! Everything had been tested and was working fine until our customer requested today that they would like to run Tomcat as a service (which is a perfectly reasonable request in my opinion) so this is the point at which I started trying to get it running with version 4.1 (as a service).
    Tomcat 4.0.4 and 4.1.18 support the same standards of Servlets and JSP's as far as I am aware ? Could it be something to do with tag libraries ?
    Please can someone help, as my colleague will be with the customer again in about 7 hours !
    Thanks in advance for any help
    Regards,
    Joe Mellors

    By the way, the full call stack for the error I quoted is :
    StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: Only one of the two parameters target or targetParam should be defined.
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
         at java.lang.Thread.run(Thread.java:536)
    ----- Root Cause -----
    javax.servlet.ServletException: Only one of the two parameters target or targetParam should be defined.
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:530)
         at org.apache.jsp.dt_jsp._jspService(dt_jsp.java:161)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)

  • DataScroller nested facets disappear

    I've managed to get a Tomahawk dataTable working with sorting. I've also added two dataScroller tags (as shown in the example wars).
    The dataTable uses an ArrayList in a backing bean, configured as a session-scoped managed bean.
    The paginator works fine; i.e. I can go from one "scroller page" to another using the "paginator numbers" (the 1, 2, 3, etc. generated) in the middle, however the nested facets in the first dataScroller (the first, previous, next, last, etc. links) disappear as soon as a new request is sent, e.g. when clicking a paginator page link or changing the sort column.
    How's that possible, knowing that the actual pagination works fine? Is there any problem with my facets?
              <t:dataScroller
                        id="scroll_1"
                        for="tradeTable"
                        paginator="true"
                        fastStep="10"
                        paginatorMaxPages="10"
                        paginatorActiveColumnStyle="font-weight:bold;">
                        <f:facet name="first">
                             <h:outputText value="|<" />
                        </f:facet>
                        <f:facet name="previous">
                             <h:outputText value="<" />
                        </f:facet>
                        <f:facet name="next">
                             <h:outputText value=">" />
                        </f:facet>
                        <f:facet name="last">
                             <h:outputText value=">|" />
                        </f:facet>
                        <f:facet name="fastforward">
                             <h:outputText value=">>" />
                        </f:facet>
                        <f:facet name="fastrewind">
                             <h:outputText value="<<"/>
                        </f:facet>
                   </t:dataScroller>* I've tried changing the <h:outputText> to <t:outputText> or using images as in the examples [<t:graphicImage>] but that doesn't seem to help.
    * I've also given every element on the page an id.

    Might have been a while ago. I am / was using <t:dataTable> at that time. I still haven't found a solution to this problem.
    What I have noticed though is when I startup my Tomcat, 2 or more sets of similar components (myfaces / sun) seem to be merged. But not sure if the behaviour of the dataTable is effected by this.
    Any feedback wecome.
    18:31:29,206  WARN Digester:120 - [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlCommandButton)
    18:31:29,221  WARN Digester:120 - [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlCommandLink)
    18:31:29,221  WARN Digester:120 - [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlDataTable)

  • BUG: JSP disappears from design view with MyFaces / Tomahawk

    Hi,
    When I try to create a JSF JSP in design view (as opposed to code view) using MyFaces and Tomahawk 1.1.3, the design view will blank and display "Type, paste or drag and drop content onto this blank....". This usually happens after I've dragged half a dozen JSF outputlabels and inputtext boxes. The code still exists in code view, and will even compile and deploy ok, it's just the design view that stops working. The design view usually blanks while I'm switching between the code tabs at the top of the screen, although I'm fairly sure it blanked as I dropped a textbox onto the form once.
    I've restarted JDev, tried to create a second page, clicked refresh etc but I can't get it back. This has happened starting from scratch 3 times now.
    I've switched back to the builtin reference implementation JSF (and no Tomahawk), and JDeveloper works fine, so it seems to be a problem using MyFaces. I've added MyFaces and Tomahawk via Manage Libraries.
    This Oracle article - http://www.oracle.com/technology/products/jdev/101/howtos/myfaces/index.html
    states that the RI version can't be swapped out in JDev Developer Preview version but I understand that's not true now?
    I'm using :-
    JDeveloper SU4
    java 1.5
    Windows XP SP1
    Thanks for any help.

    I found the answer. I went to View, Style Rendering and clicked several of the boxes  Display Media was one.

  • DataScroller problem while delete the recoreds using checkbox

    Hi all
    I am new for jsf. I am using datascroller working with Tomahawk.My requirement like .
    I need to display 15 records in a page.And every row having checkbox which is used for delete the record.
    These are all working fine.Problem is if i delete all records in last page .The page is not going to previous page.
    The following is my xhtml code
    <h:panelGrid columns="2" style="width: 100% ">
              <h:outputText value="" style="width: 100%"/>
                   <t:dataScroller id="scroll_1"
              for="detailData"
                   styleClass="scroller"
                   style="align=right"
                   paginator="true"
                   paginatorActiveColumnStyle="font-weight:bold;"
                   displayedRowsCountVar="displayedRowsCount"
                   fastStep="10"
                   pageCountVar="pageCount"
                   pageIndexVar="pageIndex"
                   immediate="true"
                   paginatorMaxPages="9">
         </t:dataScroller>     
    </h:panelGrid>

    For Tomahawk specific questions, I would recommend posting to the myfaces user mailing list.
    Edited by: rlubke on Aug 7, 2008 1:19 PM

  • Separating DataScroller & DataTable across Frameset

    The JDev Code Generators for JSP places the DataScroller in the same virtual plane as the DataTable.
    If the DataTable is large the User must scroll the page to see all the data, causing the DataScroller to scroll off page.
    I would like to make a minimal change to the generated code to get the effect I want. I made a test harness below from the Order Entry Sample that is provided in the JDev Tutorials. I created a CustomersView1_Browase.html to create a Frameset for the Browse.JSP. I copied the CustomersView1_Browse.jsp to CustomersView1_BrowseB.jsp,
    and edited both so that the DataScroller is in a non-scrolling Frame, and the DataTable is in a Scrolling Frame.
    The code samples are shown below. They display OK, but the DataScroller does not affect the DataTable.
    Is there a way to cause the DataScoller to affect the DataTable even though it is in a different Frame?
    CustomersView1_Browse.html:
    <HTML>
    <HEAD>
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <LINK REL=STYLESHEET TYPE="text/css" HREF="bc4j.css">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    </HEAD>
    <FRAMESET ROWS="165,*" FRAMESPACING="0" FRAMEBORDER="0" border="false" >
    <FRAME SRC="CustomersView1_Browse.jsp" NAME="browseHeadFrame" FRAMEBORDER="0" MARGINHEIGHT="1"
    MARGINWIDTH="10" FRAMESPACING="0" SCROLLING="NO">
    <FRAME SRC="CustomersView1_BrowseB.jsp" NAME="browseBodyFrame" FRAMEBORDER="0" MARGINHEIGHT="1"
    MARGINWIDTH="10" FRAMESPACING="0" SCROLLING="YES">
    </FRAMESET>
    </HTML>
    CustomersView1_Browse.jsp:
    <%@ page language="java" errorPage="errorpage.jsp" contentType="text/html;charset=windows-1252" %>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <html>
    <head>
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <LINK REL=STYLESHEET TYPE="text/css" HREF="bc4j.css">
    <TITLE>Browse Form</TITLE>
    </head>
    <body>
    <jbo:ApplicationModule id="Frameset_testModule" definition="JSP.Frameset_testModule" releasemode="Stateful" />
    <jbo:DataSource id="ds" appid="Frameset_testModule" viewobject="CustomersView1" rangesize="3" itermode="LastPagePartial"/>
    <jbo:DataHandler appid="Frameset_testModule" />
    <jbo:DataTransaction appid="Frameset_testModule" />
    <h3>CustomersView Browse Form</h3>
    <jbo:DataScroller datasource="ds" />
    <jbo:ReleasePageResources />
    </body>
    </html>
    CustomersView1_BrowseB.jsp:
    <%@ page language="java" errorPage="errorpage.jsp" contentType="text/html;charset=windows-1252" %>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <html>
    <head>
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <LINK REL=STYLESHEET TYPE="text/css" HREF="bc4j.css">
    </head>
    <body>
    <jbo:ApplicationModule id="Frameset_testModule" definition="JSP.Frameset_testModule" releasemode="Stateful" />
    <jbo:DataSource id="ds" appid="Frameset_testModule" viewobject="CustomersView1" rangesize="3" itermode="LastPagePartial"/>
    <jbo:DataHandler appid="Frameset_testModule" />
    <jbo:DataTable datasource="ds" edittarget="CustomersView1_Edit.jsp"/>
    <jbo:ReleasePageResources />
    </body>
    </html>

    I was able to solve the problem by not using the DataScroller Tag. I instead made my own equivalent Navigation Buttons, and directed the navigation state to the proper frame of the frameset using the target parameter on the anchor <a> HTML primitive.
    I did not wrap this in it's own DataTag, but that could be done.
    CustomersView1_Browse.html
    <HTML>
    <HEAD>
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <LINK REL=STYLESHEET TYPE="text/css" HREF="bc4j.css">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    </HEAD>
    <FRAMESET ROWS="150,*" FRAMESPACING="0" FRAMEBORDER="0" border="false" >
    <FRAME SRC="CustomersView1_Browse.jsp" NAME="browseHeadFrame" FRAMEBORDER="0" MARGINHEIGHT="1"
    MARGINWIDTH="10" FRAMESPACING="0" SCROLLING="NO">
    <FRAME SRC="CustomersView1_BrowseB.jsp" NAME="browseBodyFrame" FRAMEBORDER="0" MARGINHEIGHT="1"
    MARGINWIDTH="10" FRAMESPACING="0" SCROLLING="YES">
    </FRAMESET>
    </HTML>
    CustomersView1_Browse.jsp
    <%@ page language="java" errorPage="errorpage.jsp" contentType="text/html;charset=windows-1252" %>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <html>
    <head>
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <LINK REL=STYLESHEET TYPE="text/css" HREF="bc4j.css">
    <TITLE>Browse Form</TITLE>
    </head>
    <body>
    <jbo:ApplicationModule id="Frameset_testModule" definition="JSP.Frameset_testModule" releasemode="Stateful" />
    <jbo:DataSource id="ds" appid="Frameset_testModule" viewobject="CustomersView1" rangesize="3" itermode="LastPagePartial"/>
    <jbo:DataHandler appid="Frameset_testModule" />
    <jbo:DataTransaction appid="Frameset_testModule" />
    <h3>CustomersView Browse Form</h3>
    <style type="text/css">
    H6 {
    color:red; background-color: #00C0C0;
    font-family: monospace; font-weight: bold; font-size: 12pt;
    border: thin; border-color: black
    </style>
    <!--jbo:DataScroller datasource="ds" /-->
    <table><tr>
    <td><h6>&amp;lt;&amp;lt;</h6></td>
    <td><h6>&amp;lt;&amp;&#035;151</h6></td>
    <td><h6>;&#035;151>&amp;gt;</h6></td>
    <td><h6>&amp;gt;&amp;gt;</h6></td>
    </tr></table>
    <!-- WOULD ALSO NEED TO PUT IN SOMETHING FOR A "GOTO" CAPABILITY -->
    <jbo:ReleasePageResources />
    </body>
    </html>
    CustomersView1_BrowseB.jsp
    <%@ page language="java" errorPage="errorpage.jsp" contentType="text/html;charset=windows-1252" %>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <html>
    <head>
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <LINK REL=STYLESHEET TYPE="text/css" HREF="bc4j.css">
    </head>
    <body>
    <jbo:ApplicationModule id="Frameset_testModule" definition="JSP.Frameset_testModule" releasemode="Stateful" />
    <jbo:DataSource id="ds" appid="Frameset_testModule" viewobject="CustomersView1" rangesize="3" itermode="LastPagePartial"/>
    <jbo:DataHandler appid="Frameset_testModule" />
    <%
    String raw = request.getParameter("NAV"); String nav = raw; String navset = "FirstSet";
    if (nav == null) nav = "First";
    navset = nav + "Set";
    %>
    <!-- |<%=raw%>|-|<%=nav%>|-|<%=navset%>| <!-- DEBUG INFO DISPLAY -->
    <jbo:RowsetNavigate datasource="ds" action="<%=navset%>" />
    <jbo:DataTable datasource="ds" edittarget="CustomersView1_Edit.jsp"/>
    <jbo:ReleasePageResources />
    </body>
    </html>

  • Tomahawk and ADF bindings conflict

    Hi, I use Tomahawk components <t:dataTable> and <t:dataScroller> to handle table with large number of rows (I learned from http://wiki.apache.org/myfaces/WorkingWithLargeTables)
    The problem is that after I added ADF bindings to call EJB session bean methods, six navigation image buttons (first, last, previous, next, ff, fr) have been disabled. It seems that ADF does something to disable JavaScript code which activates these buttons (I noticed some changes have been made in faces-config.xml and web.xml). It took me 6 hours to find bugs but I've reached nowhere. :) Pls help me.
    Thanks a lot!

    Hi Frank, I have a method:
    public List <SimpleCar> searchCar(int start, int rows);
    in a session facade bean called CarFacadeBean.
    And the following is the Page Definition.
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="10.1.3.40.66" id="carsDataModelPageDef" Package="view.pageDefs">
    <parameters/>
    <executables>
    <variableIterator id="variables"/>
    </executables>
    <bindings>
    <methodAction id="searchCar" InstanceName="CarFacadeLocal.dataProvider"
    DataControl="CarFacadeLocal" MethodName="searchCar"
    RequiresUpdateModel="true" Action="999"
    IsViewObjectMethod="false"
    ReturnName="CarFacadeLocal.methodResults.CarFacadeLocal_dataProvider_searchCar_result">
    <NamedData NDName="start" NDType="int" NDValue="15"/>
    <NamedData NDName="rows" NDType="int" NDValue="15"/>
    </methodAction>
    </bindings>
    </pageDefinition>
    Then in backed beans, I put:
    BindingContainer bindings = this.getBindings();
    OperationBinding operationBinding = (OperationBinding) bindings.getOperationBinding("searchCar");
    List <SimpleCar> cars = (List<SimpleCar>) operationBinding.execute();
    to get the result set from EJB method (searchCar(start, rows)).
    These are all basic things, I believe. The problem occurs only after I dragged the method searchCar from Data Control Pallete to the page (there is only one page in this testing view). May I upload the code to somewhere so that you can take a further look?
    Regards,
    Harry.

Maybe you are looking for

  • MacMini to VGA monitor via MiniDP- VGA converter.

    Hi everyone, I want to connect Mac Mini to the old VGA monitor. I'm using converter from MiniDP to VGA. When computer starts i see the startup screen on the monitor but then it disappears and no signal message comes. After that when i connect a HDMI

  • FIAR : Some Documents are Missing of Type 'DZ'

    Dear All, I was validating AR - Days Overdue Analysis and found that there are few documents with Type 'DZ' are missing in my BW - Datasource (0FI_AR_4) Production system for few customers. I have tried lot in sdn but didn't get proper information as

  • Is there a way to install siri in Turkish without Jailbreak

    is there a way to install siri in Turkish without Jailbreak

  • QueueConnectionFactory lookup: no valid constructor

    Hi, I have a peculiar problem, least i think so..anyway,..i have my application deployed to a Weblogic 7 Sp7 server. The server has two managed servers clustered together. The application is deployed to the cluster. Very recently for some optimizatio

  • I can not download my apps.  OS 10.7.4

    I started to download the apps for my creative suite membership, and the the manager downloaded photoshop, then said it would not install.  it told me to restart my computer and try again.  When I did that, the manager would no longer run under any c