Re: Change WOHyperlink URL programmatically

David Wetzel <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Romeo Mariani wrote:
> I need to Change WOHyperlink URL programmatically adding a parameter 

The easiest method is:

Turbolink: WOGenericContainer
{
  href = turbocatURL;
  target = "_blank";
  title = "Hosting and ShopLogic by Turbocat's Development";
  elementName = "A";
}

And then you create a method "turbocatURL" which returns a string you want as URL...
That way you may also change the target and title attributes the same way.

HTH

Dave

-- 
   _  _
 _(_)(_)_  David Wetzel, Turbocat's Development,
(_) __ (_) Buchhorster Strasse 23, D-16567 Muehlenbeck/Berlin, FRG,
  _/  \_   Fax +49 33056 82835 Phone +49 33056 82834
 (______)  http://www.turbocat.de/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.