For example:

<div class="foo" name="myName"><p>other content</p></div> --becomes-- > <div class="foo"><webobject name="myName"></webobject><p>other content</p></div>

<%name="myName"%><p>other content</p><%/%> --becomes--> <webobject name="myName"><p>other content</p></webobject>

On Aug 14, 2006, at 4:04 PM, John Larson wrote:

I guess what I'm proposing is NOT changing the tag, but inserting the WO component in between the tags. I mentioned the <% %> tags as I brainstormed about the case when you wouldn't want tags around the component (i.e. WOConditional). The idiom would become that the containing component would always choose how to display the contained component, as far as what it appears in HTML as. Lastly, in the cases when additional tags are in the container tag, the WO component content would become the first generated component.

:-?

On Aug 14, 2006, at 3:44 PM, Anjo Krank wrote:

You have some misconception here: the div tag will get *changed* into the component in question. So if you need a div, your component would need to contain one otherwise it will be gone.

Which in fact is some serious caution note: CSS styling can handle

span span ol li {
}

If your code would be

<span woid="foo"><span woid="bar">...</span>

this might resolve at runtime to:

...

Which is not quite the same...

Cheers, Anjo

Am 14.08.2006 um 22:09 schrieb John Larson:

The number of tags could be cut in half: (i.e. <div woid="myName"></div> instead of <div><webobject name="myName"></ webobject></div>) and that means less opportunities for error.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/the_larsons% 40mac.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Reply via email to