I have a bunch of links I'm trying to convert to a dropdown list. The
problem is once I do that they all go to a  listener that could either
return an IPage or an ILink. Currently some of the links are
DirectLinks and some are links to custom services such as a FOP pdf
service, a CSV service or a Jasper Report Service.

I cannot figure out a way to get an IPage or ILink for these various
things. I think IPage is out of  the question because I may need to
switch EngineServices, but it seems like ILink might work. The problem
is ILink wants something that implements DirectLink which my
DirectLink component does and then figures out what listenerer to
call. Currently those things all return IPage so I can't just call
them.

I guess I could implement IDirect in my component but then how do I
figure out what listener to call on all my existing pages? It's not
really possible to pass them in because the list of links is generated
from a database query. I don't really want to go to all my existing
paging and implement IDirect.

So my question is: Is this even possible without a lot of work or
should I give up now?

Thanks
Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to