Hold on. Reading again, it looks like you don't want a link.
Do you just need the string you quoted?

In that case you can write a helper function to build the string
you want and just @Insert it into your page etc.

Look at the source for AbstractLinkComponent and your chosen link
component (e.g. DirectLink) to see how to get access to the URI
for a link specific to a particular service.

Cheers,
Nick.


Nick Westgate wrote:
Hi Edward.

You'll want to subclass org.apache.tapestry.link.DefaultLinkRenderer.

Bend it to your will and pass a (static) instance to the renderer
parameter of your chosen link component.

Cheers,
Nick.


Edward Scanzano wrote:

Hi all,

I need a custom link component that will return only
the href string (no "href">

for instance

<a href="#" jwcid="@MyCustomLink"
listener="ognl:listeners.doEdit"
parameters="ognl:parameterContainerIndex"></a>

returns

"/intaglioWebClient/app?service=direct/1/CWorkspace/folderList.$DirectLink&amp;sp=S21adsdfasdfasdf2232d"

nothing else!

Can someone get me started on which class to subclass
(I presume it is DirectLink) but what to code is a
mystery to me.

Thanks for the headstart on this.
E



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



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



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

Reply via email to