Converting to self-closing webobject tags
Converting to self-closing webobject tags
- Subject: Converting to self-closing webobject tags
- From: "John Huss" <email@hidden>
- Date: Mon, 14 Apr 2008 15:17:41 -0500
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden