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
(it makes buttons not clickable).

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"  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,standar
dTable_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


<HTML><BODY><BR><HR>NOTE: The information in this email may be confidential and 
legally privileged. If you are not the intended recipient, you must not read, 
use or disseminate the information; please advise the sender immediately by 
reply email and delete this message and any attachments without retaining a 
copy. Although this email and any attachments are believed to be free of any 
virus or other defect that may affect any computer system into which it is 
received and opened, it is the responsibility of the recipient to ensure that 
it is virus free and no responsibility is accepted by RGIS, LLC for any loss or 
damage arising in any way from its use.</BODY></HTML>

Reply via email to