Grabbag of quick questions about Eclipse/WOLips/Webobjects

From: Louis Demers (louisdemer..ac.com)
Date: Thu Feb 28 2008 - 19:57:44 EST

  • Next message: Lachlan Deck: "Re: Entity Modeler and embedded derby"

    Here is a collection of questions/remarks i've gathered during the
    past few weeks: My config, is OSX 10.5.2, latest WOLips, latest
    WOnder. WO 5.4

    1) WOLips/Entity Modeler: When I edit a fetch specification, the text
    field is very small so I put a carriage return after each and clause
    to put them on different lines. After a save they are all replaced by
    space and everything is on a long line. In fact the Properties Tab is
    too small and does not stretch to provide larger scroll area for
    entities.

    2) WOLips: Build Path dialog. When I edit a Library, If I resize the
    window, the content does not resize, everything stays at the same
    place and I'm stuck with just a small scrolling list.

    3) Wonder: ERXStyleSheet: It seems to be incapable to find stylesheets
    that contains an hyphen like in obzerv-black.css

    4) Wonder: I use WonderEntity.java & _WonderEntity.java. I would like
    to change _WonderEntity.java so that it inherits form my own
    superclass instead of ERXGenericRecords. (Of course my own superclass
    would inherit from ERXGenericRecords 8-). But I can't find the files
    _WonderEntity.java.

    5) WebObjects: I wish to have some graphical links inside a FORM but
    without them submitting form values. My component works fine when I
    use WOHyperlink but when I use WOImageButton, it shows some funky
    behavior. The links in questions are used to navigate previous and
    next batches of a display group.

    6) WOLips: Sometimes when editing .wo files, format, auto-completion
    stops working. Usually closing and reopening re-enable these features,

    7) WOLips: Some recent email mentioned we could put //VALID next to
    some bindings in the wod to prevent warnings from being displayed. Is
    there some similar tag that can be used when using inline notation.

    8) Eclipse/Java: Sometimes I manually format some code/data which I
    would like to be let alone when executing subsequent format commands.
    Is there any comment I can put in to have protect such sections ?

    9) Eclipse/WOLips: Every time I do a format of a .wo file, the html
    comment get stuffed with one additional space character at the
    beginning and at the end, causing the comment line to grow each time.

    10) Eclipse/WOLips: same question about protecting some portions of
    a .wo file against reformatting.

    11) Eclipse:WOLips: I tried to bind some key stroke like "command-
    right arrow" to "Terminate and Relaunch" with the settings "in
    Windows" or "in Console" but it does not seem to work.

    12) WOLips: In trying to get clickToOpen to work as recently
    demonstrated by Mike, All I got were crashes saying the "WOLToolbar
    class/component could not be found" (from memory) I checked build
    path, I whecked that WOLips framework was in cluded, everything
    extends ERXComponents. I finally got it to go further by adding
    "import er.wolips.components.*;"
    to my Page wrapper.

    At Least the app now starts, I can see the WOLtoolbar and I can click
    on it and it seems to respond like in Mike's video, however, when I
    do , the browser gets stuck forever trying to load/reload the page,
    and eclipse does not show/open any source code. My properties file
    does include
    er.component.clickToOpen=true
    wolips.host=localhost
    wolips.port=9485
    wolips.password=(the password configured in to WOLips Server
    preferences)

    Is there any log I could enable to see where it hangs ?

    The reason I had to use memory for the initial error message is that I
    removed the import statement to reproduce it and it kept on working !
    (quit eclipse, did clean rebuild and it keeps starting without the
    original error message !)

    13) WebObjects: If I want to pass a component and array of String, do
    I have to build it in the java file and return it through a binding to
    the component ? or is there a syntax that allows me to write the array
    of String directly into the .wo file ( I use the inline notation) ?

    14) Eclipse/WOLips: during the development cycle of running ,
    debugging running. application instances just pile up. I'm looking for
    something like "Terminate All Launches" (two little red squares). I
    see in Eclipse documentation it is supposed to be in the Debug View. I
    did find it in a contextual menu and it would be more useful in the
    console view. Is there a way to kill all running launches or Have I
    got to click the red button in the console window for each instances.
    There is a "remove all terminated Launches" but the launches have to
    be terminated. I've now gotten into the use of switching ot the debug
    view and control clicking in the upper left pane to kill all launched
    instances.

    In wrestling with some of these questions, I was wishing for just a
    glimpse over the shoulder of somebody like mike, chuck ... as they
    work to get an idea of their habits and usage patterns. 8-) Then Mike
    sent us a few screencasts... I encourage you guys to keep producing
    those shorts as they are so much more explicit and better suited to
    explaining how Eclipse/WOLips/WO can be fully exploited than
    traditional textual descriptions. In that vein, thanks to Pascal
    Robert for his screencast contributions. Those short screencast are
    priceless for people like me.

    With the continued improvements to WOLips and Wonder, I'm finally
    starting to make some significant improvement to my dev. effort and
    getting more proficient. While still considering myself a newbie, I'm
    much more encouraged and I now appreciate Eclipse/WOLips more. Still
    not "love", but well past the "like" stage 8-)

    Cheers to all an thanks in advance for any clues you can provide.

    Louis Demers eng.
    www.obzerv.com



    This archive was generated by hypermail 2.0.0 : Thu Feb 28 2008 - 19:59:33 EST