retrieve WOHyperlink url without tags?
retrieve WOHyperlink url without tags?
- Subject: retrieve WOHyperlink url without tags?
- From: Andres Toussaint <email@hidden>
- Date: Thu, 03 Feb 2005 21:19:10 -0500
The problem: how can I pass the URL of a specific WOComponent action to
my XML when assembling it. (Similar to the URL that is assigned on
runtime to a WOHyperlink, but in my java page, instead of on my
WOComponent).
Or, how can i get the result of a WOHyperlink, without the <a href= part ?
I have managed to create a WOComponent that returns the content as XML,
but still cannot figure out how to get only the URL information without
the a href tag. And i think I cannot use a directAction, since i need
session information (such as validation), but please correct me if i am
wrong.
I think this is similar to assigning a value to a Javascript function to
redirect a page call, in that you need the data inside the quotes of the
href tag, but not the tag itself.
This is what i need it for:
I am assembling in runtime a SVG element (basically XML data) from a
Database, and feeding it to a WOEmbedElement as NSData (mime
image/svg+xml), everything works fine so far, and my Browser calls the
SVG Viewer and shows the image.
Now, from my SVG I need to call a URL to get additional data (this does
not create a page reload on the browser). This loading is triggered by
a user action on the SVG.
Any orientation will be greatly appreciated.
Andres.
_______________________________________________
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