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]

Reply via email to