Thanks Leonardo, good suggestion. I created a very simple myfaces JSF
project, with a single page containing a simple datatable and datascroller.
This time, I observed that when I clicked on any of the page numbers in the
datascroller, I didn't get redirected back to the login page (this must be
the result of other more complex functionality we're including in our
production gui), however I still received the javascript error and the
datascroller still didn't work (removing the sandbox jar allowed it to work
again). So hopefuly this information will make this issue easier to
troubleshoot.

I created a JIRA issue here:
https://issues.apache.org/jira/browse/TOMAHAWK-1283 and attached my project.

On Fri, Jun 13, 2008 at 4:19 PM, Leonardo Uribe <[EMAIL PROTECTED]> wrote:

> The problem with the behavior you reported is that we need more info to
> reproduce the error.
> Could you do a simple example showing this issue and attach it on the jira?
>
> regards
>
> Leonardo Uribe
>
>
> On Fri, Jun 13, 2008 at 3:13 PM, Christina Sickelco <[EMAIL PROTECTED]>
> wrote:
>
>> Just wanted to ping this thread before I submit an issue on the tomahawk
>> jira. Anything I can try on my side?
>>
>>
>> On Fri, Jun 6, 2008 at 9:51 AM, Christina Sickelco <[EMAIL PROTECTED]>
>> wrote:
>>
>>> I am seeing some very strange behavior with the datascroller component
>>> after adding the tomahawk-sandbox-1.1.6.jar to my classpath. Whenever I go
>>> to any of my pages that has a datascroller on it, if I click on the
>>> next/previous buttons or any of the numbered pages in my datascroller, I am
>>> immediately taken back to my login page. I'm not sure why it goes back to
>>> that page, and I don't see any errors in the logs, though I do see the
>>> following javascript error:
>>>
>>> document.forms.Mainform.elements['Mainform:scrollerForCompTable'] has no
>>> properties
>>>
>>> which makes me think it's related since scrollerForCompTable is the id of
>>> my datascroller. As soon as I remove the tomahawk-sandbox-1.1.6.jar from my
>>> build path, the problem goes away and the datascroller works perfectly.
>>>
>>> Some additional information:
>>> We're using the following in our project:
>>> myfaces-api-1.1.3.jar
>>> myfaces-impl-1.1.3.jar
>>> tomahawk-1.1.6.jar
>>> tomahawk-sandbox-1.1.6.jar (I also tried 1.1.7 snapshot but saw the same
>>> behavior)
>>>
>>> This problem occurs both with tomcat 5.5 and websphere 6.1.
>>>
>>> Here's the jsp snippet for the datascroller:
>>> <h:panelGroup
>>> style="background-color:#c2c1a3;width=100%;text-align:center;">
>>>         <t:dataScroller
>>>             id="scrollerForCompTable"
>>>             for="resultsCompTable"
>>>             fastStep="1"
>>>             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.jpg" border="1"
>>> rendered="#{pageIndex gt 1}"/>
>>>             </f:facet>
>>>             <f:facet name="last">
>>>                 <t:graphicImage url="images/arrow-last.jpg" border="1"
>>> rendered="#{pageIndex lt pageCount}"/>
>>>             </f:facet>
>>>             <f:facet name="previous">
>>>                 <t:graphicImage url="images/arrow-previous.jpg"
>>> border="1" rendered="#{pageIndex gt 1}"/>
>>>             </f:facet>
>>>             <f:facet name="next">
>>>                 <t:graphicImage url="images/arrow-next.jpg" border="1"
>>> rendered="#{pageIndex lt pageCount}"/>
>>>             </f:facet>
>>>         </t:dataScroller>
>>> </h:panelGroup>
>>>
>>> Any ideas?
>>>
>>
>>
>

Reply via email to