Regarding WOComponent wizard feature request/implementation

From: Jake Fisher (fisherj..mail.com)
Date: Mon May 22 2006 - 09:18:15 EDT

  • Next message: Pierre Frisch: "Re: Build number"

    Hi guys,

       In our shop we use only around 10 common templates for the majority
    of our work and the current procees is to copy a current WOComponent
    and update it to work with the object we need with minor changes. I
    was going through the plugins source for the wizard and found the
    following comment in 'WOComponentCreator.java' and it gave me hope
    that we could better adapt our templating a bit if this feature was
    there.

    ' // TODO: select template in the user interface
        componentEngine.setSelectedTemplateName(componentEngine.names()[0]);
    '
    So in a way it is a feature request but I am willing to try to take a
    shot at updateing this myself if I could get a little direction on
    what/where I need to look, it would take a bit though as I am just
    starting to really dig into Eclipse Plugins and the WOLips code. It
    seems like some of the wocomponent.vm strings are currently hard coded
    what was the orginal thinking regarding that TODO? Was it that the
    template engine would read the template.xml for the different
    components and then look for a directory with files named along the
    lines of "wocomponent.wod.vm". Or if there were to be a woComponent
    select should the name it looks for in the wocomponent folder be of
    the type "selectedTemplate.wod.vm"?

    thx again guys for all your hard work,

    ~jake



    This archive was generated by hypermail 2.0.0 : Mon May 22 2006 - 09:18:22 EDT