Hello again.
I found another way to get a listener URL. I simply put a DirectLink
component hidden in my component:
<a jwcid="[EMAIL PROTECTED]" listener="ognl:source">link</a>
source is simply a parameter with the name of the function.
In my component I then recuperate the url in:
protected void prepareForRender(IRequestCycle cycle)
{
super.prepareForRender(cycle);
setFullURL((DirectLink)getComponents().get("data_link")).getLink
(cycle).getAbsoluteURL());
}
With that fullURL, I will be able to answer the first question of my
previous post about integrating a flex chart in an HTML page
generated by Tapestry (I hope:-)
Alexander
Le Apr 18, 2007 à 6:18 PM, Alexander Lamb a écrit :
Hello list,
Imagine in a component I fetch:
IActionListener action = super.getPage().getListeners().getListener
("myListenerFunction");
From this, I would like to get the full url in order to pass it to
a flash movie (which will then call that url to populate a chart)...
I am maybe getting something wrong here but I am stuck!
Thanks,
Alex
--
Alexander Lamb
Founding Associate
RODANOTECH Sàrl
26 ch des Tattes
1222 Vésenaz
Switzerland
Fax: 022 855 06 14
http://www.rodanotech.ch
--
Alexander Lamb
Founding Associate
RODANOTECH Sàrl
26 ch des Tattes
1222 Vésenaz
Switzerland
Fax: 022 855 06 14
http://www.rodanotech.ch