Em Fri, 10 Jul 2009 15:23:13 -0300, Ignacio González Arboleya
<nachogo...@hotmail.com> escreveu:
Hello everybody,
Hi! Me again . . .
What kind of library should I use to do this?? I've thought about
BIRT but I don't know how to integrate it with Tapestry and .tml
files... I have also read about FLOT and it is very interesting
BIRT is server-side and FLOT is client-side (Javascript), so their use in
a Tapestry application would be very different.
but I don't know how to access "dynamically" the data in .java
file from the .tml file.
If you're using FLOT, you would generate the Javascript code that
populates the graph in a page or component class. @Inject RenderSupport
and the use renderSupport.addScript(); to generate lines of Javascript
that Tapestry will add to the page automatically.
http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained does an
awesome job of explaining how to use Javascript in Tapestry.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org