The DirectLink component is not that complex: it uses the "direct"
service to create a link. When the user clicks on the link, the "direct"
service handles almost everything.
What you can do (for example) is to implement IDirect in your component
(which extends AbstractComponent) and generate a link using the "direct"
service which will trigger that component.
I recommend you to look at the source code of DirectComponent.
As I know you can define contained components in any component. So
another solution is to define a DirectLink in your .jwc file and
explicitly render it from the renderComponent() method of your custom
component.
Regards,
Norbi
jake123 wrote:
Please,
have anybody created a DirectLink in a Custom Component that extends from
AbstractComponent? How do you do that?
I could really need some pointers!
Thanks in advance,
Jacob
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]