This is some really bad style. Use a WOGenericElement or WOGenericContainer.

As for the format conversion just use Mike tool to reformat the html it will do it for you very nicely.

Pierre
--
Pierre Frisch
[EMAIL PROTECTED]


On Apr 15, 2008, at 17:09, Lachlan Deck wrote:

AFAIK, you still need old-style tags when your wo tags are within quotes.
e.g., <sometag somebinding="<webobject name=Blah></webobject>"...>

On 15/04/2008, at 6:17 AM, John Huss wrote:
I thought I would convert a bunch of old WOBuilder-made components to use
the shorter and more readable self-closing webobjects tags, so

<webobject name="SomeString"></webobject>

becomes

<webobject name="SomeString"/>

You can replace all occurances of this if you do a project-wide search and
replace in Eclipse with these regular expression parameters:

Find in *.html:
<webobject ([^>]+)></webobject>

Replace:
<webobject $1/>

Note: I give no guarantees that this will work correctly - make sure you
test it out first and back up your work beforehand.

John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/lachlan.deck%40gmail.com

This email sent to [EMAIL PROTECTED]

with regards,
--

Lachlan Deck



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

This email sent to [EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

This email sent to [EMAIL PROTECTED]

Reply via email to