0

JSP tag for FlashChart

asked 2010-05-26 07:47:05 +0800

blaine gravatar image blaine
51 1

Any idea if zk-JspTags will ever get a tag for flashcharts?

As it's not likely to get one soon, could anybody offer advice on how to code it up myself? I've written traditional (Java code) JSP tag libs before. I'm thinking that most of the real smarts are in the base chart classes (Chart and FlashChart) which same must be used by both ZUML and zk-JspTags, so maybe I can just clone the chart tag code and have the new one drive a FlashChart object instead of a Chart object, perhaps adjusting handled tag attributes?

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2010-05-27 06:13:42 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi blaine
The flashchart isn't in ZK JSP Tags
I have posted a feature request here
May be you can put the flashchart in a zul file
and use jsp page to include(using zu include) it

link publish delete flag offensive edit

answered 2010-05-27 07:41:23 +0800

blaine gravatar image blaine
51 1

Thanks for opening the FR.

That's what I'm doing at the moment (pulling in a .zul file), but the resulting mess integrating between the pages, and the otherwise unnecessary servlet mappings are unacceptably invasive to our otherwise large and clean app.

Unless my priorities get changed, I intend to make an attempt at coding up <flashchart> today. My primary goal is to get the tag working so that I can use it for my project. Assuming I succeed at that, I'll have to check ZK project coding conventions, JVM support requirements, etc., and will upload my code to the FR tracker if that makes sense.

link publish delete flag offensive edit

answered 2010-05-27 10:47:23 +0800

blaine gravatar image blaine
51 1

Done. Couldn't have been easier.

This would take 10 minutes for any project developer (+ testing time). I added instructions to the FR tracker, but even that is unnecessary for anybody familiar with the project code.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-05-26 07:47:05 +0800

Seen: 415 times

Last updated: May 27 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More