Re: The Clean Way to Embed WebObjects within the Tag?
Re: The Clean Way to Embed WebObjects within the Tag?
- Subject: Re: The Clean Way to Embed WebObjects within the Tag?
- From: Chuck Hill <email@hidden>
- Date: Fri, 10 Nov 2006 11:21:53 -0800
I'd be tempted to use WOOGNL.
<webobject name="Menu3Link"></webobject>
Menu3Link: WOHyperlink {
class="nav";
href= ~"/cgi-bin/WebObjects/" + appName() + ".woa/wa/
showCategory?path=" + pathPrefix();
string=menu3Name;
}
Chuck
On Nov 10, 2006, at 11:15 AM, James Cicenia wrote:
Hello -
I have been placing <webobject name="asdf"> inside href strings in
anchor tags.
This is really ugly and can never "parse" and format well in the
editors.
What is the best practice here?
Here is the ugly version:
<a class="nav" href="/cgi-bin/WebObjects/<webobject name=AppName1></
webobject>.woa/wa/showCategory?path=<webobject name=PathPrefix></
webobject>"><webobject name=menu3></webobject></a>
Thanks
James Cicenia
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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