Re: Unable to edit component with WOLips 4118 (stable)

From: Chuck Hill (chil..lobal-village.net)
Date: Wed Jun 27 2007 - 15:27:50 EDT

  • Next message: Ulrich Köster: "Re: WOLips 3.3"

    On Jun 27, 2007, at 12:15 PM, JR Ruggentaler wrote:

    > Yes I did check the log. I can send all of the log if necessary.
    >
    > The editor seems to be having problems parsing the component api file.
    >
    > !ENTRY org.objectstyle.wolips.apieditor.ApieditorPluginResources 2 2
    > 2007-06-27 14:06:18.040
    > !MESSAGE Failed to parse API file

    <snip>

    >
    > Here is the contents of the API file.
    >
    > {
    > /*
    > This file describes the keys (methods and variables) that are
    > exported
    > as possible bindings for a WebObject of this component type.
    > Any
    > keys
    > listed here will appear in the bindings inspector in
    > WebObjectsBuilder.
    > The format is a comma separated list of strings:
    > (key1, key2, key3)
    > The required bindings should list any that must have values for
    > the
    > component to function correctly. The optional list is for those
    > bindings
    > which are not needed by the component (i.e. can be nil/null)
    > but
    > can be
    > used to supply additional information to the component.
    > */
    > Required = (buildNote);
    > Optional = ();
    > }

    I have _no_ idea where that is from. Here is what it should look like:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <wodefinitions>
         <wo wocomponentcontent="false" class="BuildNote.java">
                 <binding name="buildNote"/>

               <validation message="&amp;apos; buildNote&amp;apos; is a required
    binding">
                        <unbound name="buildNote"/>
                </validation>

         </wo>
    </wodefinitions>

    -- 
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Wed Jun 27 2007 - 15:28:42 EDT