This content has been marked as final.
Show 5 replies
-
1. Re: datascroller do not respond (3.2.0)
ziphyre May 7, 2008 7:12 PM (in response to ziphyre)At home, I've tried with ie 7.0 and firefox on windows, I've upgraded to SR1.
I tried to exclude Seam artifacts, and changed my bean to:@Stateless public class TestBean implements Test { @PersistenceContext EntityManager em; @DataModel private List<Message> testList; public List<Message> getTestList() { testList = em.createQuery("From Message m where m.from = 1 order by m.sentDate DESC").getResultList(); return testList; } public void setTestList(List<Message> testList) { this.testList = testList; } }
Nothing... Same unclickable page links and arrows. This part is really important for me and I'm stuck. I'd mostly appreciate if you could give a hand.
Thanks... -
2. Re: datascroller do not respond (3.2.0)
nbelaevski May 7, 2008 7:25 PM (in response to ziphyre)Hello,
That should work... Do you have any errors in browser javascript console? -
3. Re: datascroller do not respond (3.2.0)
ziphyre May 8, 2008 3:57 AM (in response to ziphyre)"nbelaevski" wrote:
Hello,
That should work... Do you have any errors in browser javascript console?
Hello,
nope, nothing, no error, no warnings
this is the rendered td for page 2 on the scroller:<td class="dr-dscr-inact rich-datascr-inact" onclick="Event.fire(this, 'rich:datascroller:onscroll', {'page': '2'});">2</td>
this are the script tags added by the system to my page:<script type='text/javascript' src='/snodd/a4j_3_2_0.SR1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript'></script> <script type='text/javascript' src='/snodd/a4j_3_2_0.SR1-SNAPSHOTorg/ajax4jsf/javascript/scripts/form .js'></script> <script type='text/javascript' src='/snodd/a4j_3_2_0.SR1-SNAPSHOTorg.ajax4jsf.javascript.PrototypeScr ipt'></script> <script type='text/javascript' src='/snodd/a4j_3_2_0.SR1-SNAPSHOTorg/richfaces/renderkit/html/scripts /data-table.js'>
and this is the script under the datascroller, everything seems fine to me:<script type="text/javascript"> //<![CDATA[ Event.observe('testForm:testScroller', 'rich:datascroller:onscroll', function(event){A4J.AJAX.Submit('_viewRoot','testForm',event,{'eventsQueue':'testForm:testScroller','parameters':{'testForm:testScroller':event.memo.page,'ajaxSingle':'testForm:testScroller'} ,'actionUrl':'/snodd/home.seam','ignoreDupResponses':true} ); return false;}); //]]> </script>
-
4. Re: datascroller do not respond (3.2.0)
ziphyre May 8, 2008 11:04 AM (in response to ziphyre)Resolved
It turns out that the Prototype library is loaded two times, on internally and the other by a tag and not the same version...
Sorry for bothering... -
5. Re: datascroller do not respond (3.2.0)
ziphyre May 8, 2008 11:07 AM (in response to ziphyre)script tag of a different version