Re: WOBuilder + Webkit Any Chance?
Re: WOBuilder + Webkit Any Chance?
- Subject: Re: WOBuilder + Webkit Any Chance?
- From: email@hidden
- Date: Sat, 4 Feb 2006 17:35:45 -0800
On 平成 18/02/04, at 15:45, Niels Meersschaert wrote:
As of WebObjects 5.3, WebObjects Builder uses Webkit for
rendering. If you want a quick way to confirm this, make a new
WOComponent. Open a browser to a webpage & view source. Copy the
source to the clipboard. In WOBuilder, look at the source view.
Select all & then paste. You should now have the source from the
page you selected. Look at the preview & you'll see it renders
exactly like Safari. In a real component any static elements would
render correctly, but it sounds like what you want is a means to
see a representation of the dynamic elements. Since there isn't
any actual data from those elements, in preview it simply shows the
element name. Since there isn't any data there, it has nothing to
render with CSS.
Yes, it seems that the preview layout at least works....
In theory, out of the box elements could have dummy placeholders
used for preview. But, since you can make your own elements,
WOBuilder would have no way to know what placeholder data would be
appropriate for those elements.
What a nice surprise. Yes, it works, but apparently only for inline.
Thats why I didn't see any results when I included the CSS file, via
<link/> element....
I wonder if I was linking the path wrong.... trying something like:
<link href="../CSS/Document-Main.css" rel="stylesheet" type="text/
css" />
Doesn't seem to work from within WOBuilder....
My CSS folder is just outside of main.wo bundle.
Other than in-lining it all, any chance of a workaround?
Thanks for the wonderful help.
Andre
email@hidden
On Feb 4, 2006, at 3:23 PM, Andre wrote:
On 平成 18/02/04, at 8:52, Guido Neitzer wrote:
On 04.02.2006, at 8:17 Uhr, email@hidden wrote:
Is there any chance that Webobject Buider would use Webkit so we
can have a "true" preview with all the CSS formating etc.?
I have never seen a WebObjects application more complex than a
"Hello, WOrld", where this could display ANYTHING useful.
Well, just the ability to have some idea what the page would look
like would be nice, after all there is a preview, and it shouldn't
be too hard to accomplish I would think....
All my applications have lots of conditionals, switch components,
database content, dynamic CSS creation or loading based on
runtime information and so on.
Yes, I understand. I guess thats why they have 3 basic views,
code, layout and preview.... I just wish preview actually
previewed correctly.
It would be much more helpful, when WebObjects could produce
valid xhtml instead of fiddling around with the new GUI tools
(they are only good, because they show, that someone at Apple has
some interest in WO).
Yes, I agree, this is something major, I don't like at all.
Since WO is "free" now I wish they could make the dev tools at
least open sourced. There's a ton of stuff I would love to get
down on if I could....
cug
--
PharmaLine, Essen, GERMANY
Software and Database Development
Andre
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
Andre
email@hidden
_______________________________________________
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