• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: The Clean Way to Embed WebObjects within the Tag?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >The Clean Way to Embed WebObjects within the Tag? (From: James Cicenia <email@hidden>)

  • Prev by Date: The Clean Way to Embed WebObjects within the Tag?
  • Next by Date: Re: The Clean Way to Embed WebObjects within the Tag?
  • Previous by thread: The Clean Way to Embed WebObjects within the Tag?
  • Next by thread: Re: The Clean Way to Embed WebObjects within the Tag?
  • Index(es):
    • Date
    • Thread