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

From: JR Ruggentaler (JR.Ruggentale..pv.com)
Date: Wed Jun 27 2007 - 15:45:50 EDT

  • Next message: Chuck Hill: "Re: Unable to edit component with WOLips 4118 (stable)"

    Older versions of WOBuilder generated a plist API file. The new version
    can read the plist file and when you save, it converts to XML. Of course
    I am on Windows and don't use the WO Windows development tools. On the
    MAC there is also a tool (Property List Editor) that ships with WO that
    edits plists and can convert to XML. Is there a Windows app that can
    convert plist to XML?

    J.R.

    -----Original Message-----
    From: Chuck Hill [mailto:chil..lobal-village.net]
    Sent: Wednesday, June 27, 2007 2:28 PM
    To: woproject-de..bjectstyle.org
    Subject: Re: Unable to edit component with WOLips 4118 (stable)

    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:46:38 EDT