WOD Feedback

From: Greg (ghuland..ramedphotographics.com)
Date: Thu Sep 15 2005 - 20:33:10 EDT

  • Next message: Mike Schrag: "Re: WOD Feedback"

    Hi Mike,
    I am using 2.0.0.48. I did a clean of the project. I have to say that
    it is really good to see errors that have actual meaning now that all
    the parser errors have disappeared. Below is what I have found
    testing it. I will file bugs if you like.

    1. You cannot save the wod file in the component editor using command-
    s, using cmd-shift-s works. Though I have noticed that sometimes it
    does work. After deleting an element from the wod file and then
    hitting cmd-s does not seem to work.

    2. Fully qualified element names produce an error. For example

    Template : com.my.package.to.component.Template {
         title = "Hello World";
    }

    Web Objects allows you to have a fully qualified component name
    incase you have components with the same in different packages /
    frameworks. Currently the wod parser is showing an error on this.

    3. This is one thing I came across when scrolling through the error
    list.

    ERPPieChart1: ERPPieChart
    {
         nameKey = "group";
         height = 300;
         valueKey = "count";
         items = data;
         width = 300;
         showLegend = false;
         chartType = "PieChart";
    }

    Either items, nameKey and valueKey or dataset must be bound

    I have had a look at the api file and it seems to look ok:

             <validation message="Either items, nameKey and valueKey or
    dataset must be bound">
                 <or>
                     <and>
                         <unbound name="items"/>
                         <unbound name="nameKey"/>
                         <unbound name="valueKey"/>
                     </and>
                     <unbound name="dataset"/>
                 </or>
             </validation>

    Keep up the great work.

    Greg



    This archive was generated by hypermail 2.0.0 : Thu Sep 15 2005 - 20:33:53 EDT