RE: How to have a WOHyperlinks Functionality inside a Java String
RE: How to have a WOHyperlinks Functionality inside a Java String
- Subject: RE: How to have a WOHyperlinks Functionality inside a Java String
- From: <email@hidden>
- Date: Fri, 10 Jun 2005 10:12:38 +0200
- Thread-topic: How to have a WOHyperlinks Functionality inside a Java String
Hi!
You really should investigate doing this in the template. It will be much less trouble.
If really this cannot be done, you will need to generate URLs with unique element IDs. These elements will appear as sender IDs in your invokeAction action methods in an upcoming request-response loop. There you will have to react upon the click on such a link.
You might want to look at the source of WOLongResponsePage for such a use of a custom element ID.
Pierre
-----Original Message-----
From: webobjects-dev-bounces+pierre.bernard=email@hidden
[mailto:webobjects-dev-bounces+pierre.bernard=email@hidden]On
Behalf Of Ute Hoffmann
Sent: Friday, June 10, 2005 10:03 AM
To: email@hidden
Subject: How to have a WOHyperlinks Functionality inside a Java String
Hallo,
I'm looking for something like WOActionURL, but for use not in a
template with a .wod binding but in a java String.
This is what I need to do:
I have a repetition, which generates a string. In this string some URL
should be generated as well, which performs a action and returns a
WOComponent depending on where the URL is placed in the repetition
(Which element is currently active). This string is a table but is
represented in the component as a string element and it will contain
several such hyperlinks, their numer ect completely dynamic.
I think I did something like that before, but it was a long time ago
and that there was a function I could use in the WO frameworks, but I
do not recall what it was. It needs to create a WOHyperlink in a
string. I would prefer not to have a direct action, though I know how
to do this with a direct action.
Any idea?
Thanks,
Ute
_______________________________________________
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
**********************************************************************
This email and any files transmitted with it are intended solely for
the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender
of this message. (email@hidden)
This email message has been checked for the presence of computer
viruses; however this protection does not ensure this message is
virus free.
Banque centrale du Luxembourg; Tel ++352-4774-1; http://www.bcl.lu
**********************************************************************
_______________________________________________
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