My bad in the source code I found this: chartcreatorrequest.jsf?ts=1174409300531&id=editUser:chart1
But there is no such file in my webroot... Thanks again for your help... Cheers, Eric Eric Taieb wrote: > > For Step #3 I did modify web.xml this only: > > <context-param> > <param-name>facelets.LIBRARIES</param-name> > <param-value>/WEB-INF/taglibs/acegijsf.taglib.xml; > /WEB-INF/taglibs/corejsf-validator.taglib.xml; > /WEB-INF/taglibs/tomahawk.taglib.xml; > /WEB-INF/taglibs/chartcreator.taglib.xml</param-value> > </context-param> > > As per JSF-Comp's facelet howto..I also added chartcreator.taglib.xml to > /WEB-INF/taglibs/ > > When I look at the parsed source there is nothing inside at the location > where my <chart: tags are....simply empty... > > Another thing, when I open the page with the chart, Tomcat logs says: > > 20 mars 2007 17:48:19 com.sun.facelets.compiler.TagLibraryConfig > loadImplicit > INFO: Added Library from: > jar:file:/C:/Development/Java/Tomcat%205.5/webapps/pluspharma/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml > 20 mars 2007 17:48:19 com.sun.facelets.compiler.TagLibraryConfig > loadImplicit > INFO: Added Library from: > jar:file:/C:/Development/Java/Tomcat%205.5/webapps/pluspharma/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml > 20 mars 2007 17:48:19 com.sun.facelets.compiler.TagLibraryConfig > loadImplicit > INFO: Added Library from: > jar:file:/C:/Development/Java/Tomcat%205.5/webapps/pluspharma/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml > 20 mars 2007 17:48:19 com.sun.facelets.compiler.TagLibraryConfig > loadImplicit > INFO: Added Library from: > jar:file:/C:/Development/Java/Tomcat%205.5/webapps/pluspharma/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml > 20 mars 2007 17:48:19 com.sun.facelets.compiler.TagLibraryConfig > loadImplicit > INFO: Added Library from: > jar:file:/C:/Development/Java/Tomcat%205.5/webapps/pluspharma/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml > 20 mars 2007 17:48:19 com.sun.facelets.compiler.TagLibraryConfig > loadImplicit > INFO: Added Library from: > jar:file:/C:/Development/Java/Tomcat%205.5/webapps/pluspharma/WEB-INF/lib/ajax4jsf-1.0.2.jar!/META-INF/a4j.taglib.xml > > > And there is no reference to my taglib...is this normal ? > > If you have a link on how to integrate taglibs to appfuse, it may be > useful, so I don't bother you anymore... > > > Thanks again, > > Cheers, > > Eric > > > > mraible wrote: >> >> For Step #3, did you also add your file to web.xml? If you view-source >> and the tag hasn't been processed, then it's likely an issue with how >> you've registered everything. >> >> Step #4 shouldn't matter since you're using Facelets. >> >> Matt >> >> On 3/20/07, Eric Taieb <[EMAIL PROTECTED]> wrote: >>> >>> Thanks for your quick reply Matt! >>> So you do confirm I took the right step to integrate a new lib and its >>> taglib to my appfuse project ? >>> I didn't miss anything right ? >>> Thanks again, >>> >>> --Eric >>> >>> >>> >>> mraible wrote: >>> > >>> > Since you've already looked extensively for a solution, the only thing >>> > I can think of is to download the source for ChartCreator, attach it >>> > to your project and step through it with a debugger. >>> > >>> > Matt >>> > >>> > On 3/20/07, Eric Taieb <[EMAIL PROTECTED]> wrote: >>> >> >>> >> Hi, >>> >> >>> >> I have been trying to use your ChartCreator 1.2.0RC1 jsf component in >>> >> my project. >>> >> I use Appfuse 1.9.4 in JSF/spring and Hibernate mode. >>> >> I am fairly advanced in the project and everything works (Datamodel, >>> >> Hibernate, spring JSF) tomahawk datatables work, and facelets is >>> >> working great. >>> >> >>> >> When trying to use ChartCreator, that is what I have done so far: >>> >> >>> >> 1) Added the jfreechart, jfreecommon and chartcreator jars to the lib >>> >> (also modified the build.xml and properties.xml to have it deployed >>> at >>> >> compile time) following tutorial on appfuse.org >>> >> >>> >> 2) added this to my taglib's list in my xhtml JSF file: >>> >> xmlns:chart="http://sourceforge.net/projects/jsf-comp" >>> >> >>> >> 3) I also added the xml facelet taglib to WEB-INF\taglibs next to >>> >> tomahawk,acegijsf and corejsf. >>> >> >>> >> 4) lastly also added <[EMAIL PROTECTED] >>> >> uri="http://sourceforge.net/projects/jsf-comp" prefix="chart" %> to >>> >> web/common/taglibs.jsp >>> >> >>> >> I checked everyting and it deploys fine into Tomcat's container. >>> >> >>> >> Then I added a <chart:chart id="chart1" >>> >> datasource="#{stockAnalysis.stockDataset}" type="bar" is3d="true" >>> >> antialias="true" title="Analyses du stock" xlabel="Mois" >>> >> ylabel="Valeurs" height="300" width="400"></chart:chart> >>> >> >>> >> to my jsf page (stockDataset is a CategoryDataset filled with the >>> >> appropriate values). >>> >> >>> >> When I run it, I get no error exceptions anywhere (nothing in tomcat >>> >> logs neither) but the chart simply doesn't show...whereas the >>> >> datatable with the list shows (ie: the database query returns the >>> >> right dataset) >>> >> >>> >> I have also ajax4jsf (installed by default in appfuse) but I don't >>> use >>> >> it in the page. >>> >> (its just setup in web.xml) >>> >> >>> >> Do you have any clues or could you point me to a howto/tutorial for >>> this >>> >> ? >>> >> >>> >> Thanks in advance, >>> >> >>> >> Cheers, >>> >> >>> >> >>> >> --Eric >>> >> >>> >> PS: I have been extensibly looking for a solution on mailing lists >>> >> (appfuse and jsf) and in google. >>> >> >>> >> -- >>> >> View this message in context: >>> >> >>> http://www.nabble.com/Integration-JSF-Comp%27s-ChartCreator-to-Appfuse-1.9.4---deperately-needing-help...-tf3434196s2369.html#a9574147 >>> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >>> >> >>> >> --------------------------------------------------------------------- >>> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> >> For additional commands, e-mail: [EMAIL PROTECTED] >>> >> >>> >> >>> > >>> > >>> > -- >>> > http://raibledesigns.com >>> > >>> > --------------------------------------------------------------------- >>> > To unsubscribe, e-mail: [EMAIL PROTECTED] >>> > For additional commands, e-mail: [EMAIL PROTECTED] >>> > >>> > >>> > >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Integration-JSF-Comp%27s-ChartCreator-to-Appfuse-1.9.4---deperately-needing-help...-tf3434196s2369.html#a9576445 >>> Sent from the AppFuse - User mailing list archive at Nabble.com. >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> >> -- >> http://raibledesigns.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- View this message in context: http://www.nabble.com/Integration-JSF-Comp%27s-ChartCreator-to-Appfuse-1.9.4---deperately-needing-help...-tf3434196s2369.html#a9576607 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
