I would prefer the use case.
We really want to extend tobago,
but what we don't want is adding one feature
without a real use case.

Overwriting LinkRenderer should only done for GUI changes
not for adding a featue. This should the last option.

It would be nice, if we can understand the hole problem.
Then we should able to provide a solution for you.

Regards

Bernd



Volker Weber schrieb:
You want a href additionally to the standart submitAction() javascript?

Than this is just for bookmarking, without anny function in the running
application?


how should the value of the href looks like? Can you create it in the
Renderer?

If you really need to overwrite the LinkRenderer the easiest way is to
define a new theme, extending a existing and just provide the Renderer
class.

If you want to go this way, just ask, i could give you a short howto.

Regards
  Volker

Olexandr Zakordonskyy wrote:

Hello Volker.

I can't use navigate, because action will not execute.

Olexandr.
-----Original Message-----
From: Volker Weber [mailto:[EMAIL PROTECTED] Sent: Friday, December 30, 2005 7:01 PM
To: MyFaces Discussion
Subject: Re: TobagoRenderKit.addRenderer

Hello Olexandr,

if you just want to set the href attribute you should use type="navigate" :

<tc:link type="navigate" action="[the url]" label="A Label" />

Regards
 Volker

Olexandr Zakordonskyy wrote:


Hello Bernd.

I want to replace LinkRenderer with own extended implementation of
LinkRenderer. I have to display link with url specific for action, now it
renders like "... href="#" ..." it's not suitable for me.
Now I've created factory that wrapes TobagoRenderKit and returns my

renderer


for Link. I don't want to wrap TobagoRenderKit. But I can't change renderer
implementation.

Could you additional attribute in link component like "href"?
In many cases it will be a possible solution to show in addressbar address
that user may bookmark.

Thanks,
Olexandr.






--
Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development
Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com
phone: +49 441 4082312, mobile: +49 173 8839471, fax: +49 441 4082333

Reply via email to