Menu

#16 cfdocument, cfchart

open
nobody
None
5
2008-01-03
2008-01-03
Smith OS
No

cfdocument and cfchart would be greatly appreciated.

Discussion

  • Smith OS

    Smith OS - 2008-01-03

    Logged In: YES
    user_id=1762024
    Originator: YES

    once upon a time, Shannon Hicks said "charting should be easy enough to accomplish using Flex 2"

     
  • Nobody/Anonymous

    Logged In: NO

    a vote for cfdocument

    Jón Gaasedal

     
  • Nobody/Anonymous

    Logged In: NO

    If someone can give me an overview of how smith is built and how tags are added, I've got a pojo that does all the heavy lifting for CFDOCUMENT... it's just a matter of interfacing the HTML/PDF rendering pojo to the tag parsing code.

     
  • Nobody/Anonymous

    Logged In: NO

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    for startup with smith, please check http://smithos.svn.sourceforge.net/viewvc/smithos/docs/
    you can always ask for help at contact@smithproject.org
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    How to implement new ColdFusion(R) tag in Smith:
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    In most cases it is needed to perform the following steps:

    * Create on <project_root>src/web/src/com/youngculture/smith/translator/handlers/taghandle class named Cf<tag_name_in_lowercase>TagHandler.java which extends TagHandler class and implements translate(Node node) method. This class recognizes the tag during translation.

    * create tag implementation class on <project_root>src/web/src/com/youngculture/smith/engine/tagimpl which extends AbstractTagImpl class and implements doTag() method and optionally validate() method.

    * write appropriate Java template in the templates file <project_root>src/web/src/com/youngculture/smith/_config_files/templates.cfg

    * delete the folder WEB-INF/_smithwork

    NOTE: the best way is to check how some other tag is implemented, say CFAPPLICATION. Check: CfapplicationTagHandler class, ApplicationTagImpl class and ********** application definition in templates.cfg file.

     
  • jr

    jr - 2008-03-03

    Logged In: YES
    user_id=539224
    Originator: NO

    CFDocument has been implemented, and is sitting in the Patches Tracker.

     

Log in to post a comment.