Re: An easy one...
Re: An easy one...
- Subject: Re: An easy one...
- From: Dirk Bajohr <email@hidden>
- Date: Wed, 22 Oct 2003 17:31:40 +0200
Hi David,
write a function called "getMailLink" in your Main.java that returns the
String that you want:
public String getMailLink() {
return "mailto:" + emailAddress;
}
Finally bind "getMailLink" to the HREF-binding in your WOHyperlink.
Dirk
At 16:59 22.10.2003, you wrote:
Hi,
I have a WOHyperLink on a Main.wo page and I want to set the HREF property
to be dynamic, i.e I want to have the text of the hyperlink show the
person9s name, which I have done, but I want to embed their email address in
the HREF (so the HREF will be mailto:<theiremailaddress>). I can9t seem to
figure out how to do this.
Anyone help?
Thanks,
Dave.
--
__________________________________
Dirk Bajohr
iSOLUTION
Hauptstrasse 50
53757 Sankt Augustin
T 02241 921 567-0
F 02241 921 567-89
email@hidden
http://www.iSOLUTION.de
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.