RE: WO development with eclipse/WOLips: problem in WOImage filename attribute binding

From: Watkins, Garry (gwatkin..otleyrice.com)
Date: Wed Aug 13 2003 - 10:34:12 EDT

  • Next message: Anders Peterson: "Re: Build after JavaBuilder doesn't work"

    Your PB.project file probably does not have those images listed in the
    web server resources, or your build.xml file is not including them in
    the WSResources node of the WOApp. Either way it has to be in
    PB.project, before wobuilder will find the images.
     
     
    Garry Watkins
     
    Programmer, Information Technology
    Motley Rice LLC
    28 Bridgeside Blvd.
    Mt. Pleasant, SC 29464
    843-216-9639
    gwatkin..otleyrice.com

            -----Original Message-----
            From: Paolo Sommaruga [mailto:psomma4..iscali.it]
            Sent: Wednesday, August 13, 2003 6:11 AM
            To: woproject-de..bjectstyle.org
            Subject: WO development with eclipse/WOLips: problem in WOImage
    filename attribute binding
            
            
            I apologize, I am forget the subjectin my previous mail

            Hi,

            I'm new in this mailling list and with WOLips. I am trying to
    approach the WO development with eclipse/WOLips porting some my
    ProjectBuilder projects. I'm working with eclipse 2.1.1/WOLips_1.0.6 in
    OSX 10.2.6 box, WO 5.2.1 Developer. I'have posted my problem in the
    webobjects-de..mnigroup.com mailling list and some guys have suggested
    me to post in this mailling list.

            My troubles with eclipse/WOLips regards WebServerResources like
    gif, jpeg. When binding a WOImage in WebObjects Builder in the framework
    "app" I don't see any file in order to bind with filename attribute.

            I have adjust the wsresources tag in the build.xml file. After
    building, the build appear correct (in the WebServerResources folder
    under the .woa folder I can see the images files)

            This is an WOImage binding in the .wod file

            ImageInfocontatti: WOImage {
            align = "top";
            filename = "infocontatti.jpg";
            framework = "app";

            and this is a portion of html sent to the browser

            <body
    onload="MM_preloadImages('/cgi-bin/WebObjects/guide3.woa/wr?wodata=ERROR
    _NOT_FOUND_framework_*null*_filename_
    infocontatti.jpg','/cgi-bin/WebObjects/guide3.woa/wr?wodata=ERROR_NOT_FO
    UND_framework_*null*_filename_menuservizi.gif','/cgi-bin/WebObjects/guid
    e3.woa/wr?wodata=ERROR_NOT_FOUND_framework_*null*_filename_rigoletto1.jp
    g','/cgi-bin/WebObjects/guide3.woa/

            It seems that WOLips build don't recognize the attribute
    framework = "app" in the WOImage binding

            Can someone point me some suggestion ?

            Thanks

            Paolo Sommaruga



    This archive was generated by hypermail 2.0.0 : Wed Aug 13 2003 - 10:22:30 EDT