dataScroller bug when using ADF - navigation icons not clickable
----------------------------------------------------------------

         Key: MYFACES-1099
         URL: http://issues.apache.org/jira/browse/MYFACES-1099
     Project: MyFaces
        Type: Bug
  Components: Tomahawk  
    Versions: 1.1.1    
 Environment: Windows/Unix/Weblogic
    Reporter: James Hickey


Hi - I have a strange issue with the t:dataScroller component where it renders 
correctly but is not accessible (i.e. renders no links) for any of the 
navigation links for forward/back buttons. The parent dataTable renders fine, 
complete with sortable headers. It seems that this might be an issue when ADF 
is deployed as deploying the separate samples WAR works fine. Below is a 
snippet of my JSP - I can replicate the behaviour when surrounding this with an 
f:view tag - help appreciated!

PS - same issue both with release 1.1.1 and with 1.1.2 Nightly. Also seems to 
make no difference whether I use myFaces or the RI

Thanks
James

        <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="trade" value="#{ipbBuySellQueryController2.queryResultList}" 
preserveDataModel="false" rows="25" rowId="#{trade.id}" 
rowOnMouseOver="this.style.backgroundColor='#A5CBFF'" 
rowOnMouseOut="this.style.backgroundColor='#FFFFE0'" 
rowOnClick="this.style.backgroundColor='#FFE0E0'" 
rowOnDblClick="this.style.backgroundColor='#E0E0E0'" 
sortColumn="#{ipbBuySellQueryController2.sort}" 
sortAscending="#{ipbBuySellQueryController2.ascending}" preserveSort="true">
                                                <h:column>
                                                        <f:facet name="header"/>
                                                        <h:outputText 
value="#{trade.id}"/>
                                                </h:column>
                                                <h:column>
                                                        <f:facet name="header">
                                                                
<t:commandSortHeader columnName="client" arrow="true" immediate="false">
                                                                        
<h:outputText value="Client"/>
                                                                
</t:commandSortHeader>
                                                        </f:facet>
                                                        <h:outputText 
value="#{trade.clientDescription}"/>
                                                </h:column>
                                                <h:column>
                                                        <f:facet name="header">
                                                                
<t:commandSortHeader columnName="account" arrow="true" immediate="false">
                                                                        
<h:outputText value="Account"/>
                                                                
</t:commandSortHeader>
                                                        </f:facet>
                                                        <h:outputText 
value="#{trade.accountDescription}"/>
                                                </h:column>
                                        </t:dataTable>
                                        <t:dataScroller id="scroll" for="data" 
fastStep="2" pageCountVar="pageCount" pageIndexVar="pageIndex" 
styleClass="scroller" paginator="true" paginatorMaxPages="10" 
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>



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to