Re: Organising web server resources

From: Chuck Hill (chil..lobal-village.net)
Date: Tue Aug 29 2006 - 23:30:48 EDT

  • Next message: womai..ac.com: "Some Entity Modeler questions"

    You need to mark the .gif and .css files as resources (select, right
    click, WOLips Tools, Include as Resource). Xcode does this inclusion
    in a group. WOLips does this by name or file type.

    Chuck

    On Aug 29, 2006, at 7:10 PM, Luis Miguel Espinoza wrote:

    > I am having a similar problem and I exposed it here but any person
    > answer me.
    >
    > I used Wonder (ERXExtension) and "app" property to bind my images
    > and ERXStyleSheet component. All work fine with XCode, but with
    > WOLips in Eclipse it fail when I deploy my application. If I run my
    > application into eclipse it look good, but when I deploy it to my
    > server my .html generated is different to XCode generated. Look:
    >
    > XCODE WOA:
    >
    > <link rel="stylesheet" type="text/css" href="/cgi-bin/WebObjects/
    > wemisa.woa/wr?wodata=file%3A%2FUsers%2Flmespinoza%2Fprojects%
    > 2Fwemisa%2Fstylewemisa.css">
    >
    > </head>
    > <body bgcolor="#FFFFFF">
    >
    > <div class="logo"><img src="/cgi-bin/WebObjects/wemisa.woa/wr?
    > wodata=file%3A%2FUsers%2Flmespinoza%2Fprojects%2Fwemisa%2Fimages%
    > 2Fwemisalogo.gif" width="142" height="142"><span class="TituloWO">
    > Pagina en construcción </span></div>
    >
    > <div class="Navegar"><ul>
    >
    > ECLIPSE/ WOLips:
    >
    > S.A.</title>
    > <link rel="stylesheet" type="text/css" href="/ERROR/NOT_FOUND/
    > framework=app/filename=stylewemisa.css">
    >
    > </head>
    > <body bgcolor="#FFFFFF">
    >
    > <div class="logo"><img src="/ERROR/NOT_FOUND/app=wemisa/
    > filename=wemisalogo.gif"><span class="TituloWO"> Pagina en
    > Construción </span></div>
    >
    > <div class="Navegar"><ul>
    >
    > Can some give a road to follow???
    >
    > Thanks...
    >
    >
    >
    > On Aug 29, 2006, at 8:44 AM, Anders Peterson wrote:
    >
    >> Hi,
    >>
    >> When I launch some frameworks and applications in eclipse/WOLips
    >> (3.2 and 2.0.0.???) the images are not found. Everything else
    >> works just fine.
    >>
    >> When if I launch using versions 3.1 and 1.1.0.109 everything works
    >> fine - the images are found and displayed correctly.
    >>
    >> The projects are exactly the same. I use the same eclipse workspace.
    >>
    >> What's different between WOLips 1.1.0.109 and 2.0.0.??? in terms
    >> of launching?
    >>
    >> /Anders
    >>
    >> --
    >> http://ojalgo.org/
    >>
    >> Mathematics, Linear Algebra and Optimisation with Java
    >>
    >
    >

    -- 
    

    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 : Tue Aug 29 2006 - 23:31:03 EDT