Hi folks,

my questions don't end... ;-)

I'm rewriting a component which formerly used a
html template but I need to do all output in Java,
now.

In the template there was something like:

<span jwcid="@DirectLink" listener="ognl:listeners.tabClicked" 
parameters="ognl:tab.id">
   <span jwcid="@Insert" value="ognl:tab.title"/>
</span>

How has the corresponding Java code to look like if I have
a AbstractComponent derived class?

I started with

@Component(type = "DirectLink", bindings = {
        "listener=ognl:listeners.tabClicked", "value=ognl:tab.id" })
public abstract DirectLink getTabLink();

to create a DirectLink component. But how can I "inject" the tab
title and do I only have to call getTabLink().renderBody(...)
in the end?

Thanks for your answers!
Sincerly,
  Andreas

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

Reply via email to