-
1. Re: ScollabledataTable not scrolling
thinkblue146 Oct 3, 2007 3:33 AM (in response to echua)echua,
When I used the datatable scroller for the first time, I ran into a similar problem...My issue was my bean, I set a pagesize variable that limited my resultset to like 10 per page...Once I took that constrait off, the data table scroller was able to handle the resultset and put the correct amount of rows on each page.
Also you may want to try the datatable scroller at its basic configuration:
width, id, rows, cols, and value
just to keep it simple
Let me know if this helps.
Blue -
2. Re: ScollabledataTable not scrolling
maksimkaszynski Oct 3, 2007 8:05 AM (in response to echua)Unable to reproduce. Which browser? Any javascript exceptions?
-
3. Re: ScollabledataTable not scrolling
echua Oct 3, 2007 11:40 AM (in response to echua)I downloaded the demo and it works in my eclipse environment running tomcat 5.5 Java 1.6.
Now I moved the exact same libraries and also the classes from the demo into my container project and it still does not work. this means there must be a conflict with the libraries. I am using hibernate and a lot of the stuff is put into my lib directory through hibernate and myfaces. It must be a library issue....
ant-1.6.5.jar
ant-antlr-1.6.5.jar
ant-junit-1.6.5.jar
ant-launcher-1.6.5.jar
ant-swing-1.6.5.jar
antlr-2.7.6rc1.jar
asm-attrs.jar
asm.jar
c3p0-0.9.0.jar
cglib-2.1.3.jar
cleanimports.jar
commons-beanutils-1.7.0.jar
commons-codec-1.3.jar
commons-collections-3.2.jar
commons-digester-1.8.jar
commons-el-1.0.jar
commons-lang-2.1.jar
commons-logging-1.0.4.jar
concurrent-1.3.2.jar
connector.jar
dom4j-1.6.1.jar
ehcache-1.1.jar
el-api-1.0.jar
el-impl-1.0.jar
el-ri.jar
hibernate3.jar
jaas.jar
jacc-1_0-fr.jar
jaxen-1.1-beta-7.jar
jboss-cache.jar
jboss-common.jar
jboss-jmx.jar
jboss-system.jar
jdbc2_0-stdext.jar
jgroups-2.2.8.jar
jhighlight-1.0.jar
jsf-api-1.2_04-p02.jar
jsf-facelets-1.1.12.jar
jsf-impl-1.2_04-p02.jar
jsp-api.jar
jstl-1.0.jar
jta.jar
junit-3.8.1.jar
log4j-1.2.15.jar
maven-repository-importer-1.1.jar
myfaces-api-1.1.4.jar
myfaces-impl-1.1.4.jar
mysql-connector-java-5.0.7-bin.jar
nekohtml-0.9.5.jar
portlet.jar
proxool-0.8.3.jar
richfaces-api-3.1.0.jar
richfaces-impl-3.1.0.jar
richfaces-ui-3.1.0.jar
standard.jar
swarmcache-1.0rc2.jar
syndiag2.jar
versioncheck.jar
xercesImpl-2.4.0.jar
xml-apis.jar -
4. Re: ScollabledataTable not scrolling
fmarwede Oct 3, 2007 12:24 PM (in response to echua)Wow, are you sure you need all that libraries?
I see you use myfaces. On myfaces.org you can find the following sentence:
"Make sure that there is no jsf-api.jar (i.e. Suns API implementation) in the classpath or in one of your container's shared lib directories (e.g. common/lib or shared/lib for Tomcat)."
So that could be a problem in your library mix but perhaps not the only one. -
5. Re: ScollabledataTable not scrolling
echua Oct 3, 2007 12:39 PM (in response to echua)Okay, I think I know what is the problem. What I did is remove all my libraries and used the demo library setup. I didn't know until yesterday where to get the demo library war file. I wish it was a link on the Rich Faces main page. That would be helpful. Anyway, all those files are created by exadel and not me so I can't help it. It is part of hibernate.
Finally, I am using Javascript - spectaculus stuff and it seems that there is an conflict here with the javascript. When I take out the javascript libraries out, it works fine. Does anyone have any suggestions so that I can keep the javascript? The libraries are from Spectaculous....
Anyway, I will try to do a work around. Thanks for the help If anything, this will help me on my set up.