Re: How are you handling html templates created in other apps?
Re: How are you handling html templates created in other apps?
- Subject: Re: How are you handling html templates created in other apps?
- From: Kevin Windham <email@hidden>
- Date: Fri, 16 Feb 2007 13:30:55 -0600
On Feb 15, 2007, at 9:35 PM, Chuck Hill wrote:
If the links in the HTML don't have a leading /, use a BASE tag in
the page's HEAD to specify where the paths are relative to.
Otherwise they are relative to the dynamically generated page and
that won't ever work. Then load all the resources into the
Apache's doc root and run your app through Apache. Trying to make
all that into the project's WebServer Resources is (a) a lot of
work and (b) going to cause no end of problems as the designer
continues to tweak the template.
Chuck
Hi Chcuk,
Thanks a lot for pointing out the BASE tag. I don't think I've ever
run across that before, and it turns out to be extremely useful with
WebObjects Builder.
I was able to copy and paste the whole html page into the source of
my component and add the base tag. I then uploaded all the images to
the server in an appropriate directory and WebObjects Builder now
displays everything without needing to edit any image tags. Very
snazzy. Now I am able to see the various elements so I can do the
binding thing and I am in business painlessly.
Kevin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden