I found this example somewhere, can't remember now... (I must keep bookmarking,
I must
keep bookmarking...)
[from A.html]
<span jwcid="[EMAIL PROTECTED]">
<span jwcid="editLink"><span key="link_edit">Edit</span></span>
<span jwcid="deleteLink"><span
key="link_delete">Del</span></span>
</span>
[from A.page]
<component id="editLink" type="DirectLink">
<binding name="listener" value="listener:edit"/>
<binding name="parameters" value="comp.id"/>
</component>
<component id="deleteLink" type="DirectLink">
<binding name="listener" value="listener:delete"/>
<binding name="parameters" value="comp.id"/>
</component>
That wasn't hard.
The question you were probably wanting to know though was how to include a
table value in
the link text.
[from B.html]
<span jwcid="[EMAIL PROTECTED]">
<span jwcid="descLink">
<span jwcid="descText" />
</span>
</span>
[from B.page]
<component id="descLink" type="DirectLink">
<binding name="listener" value="listener:select"/>
<binding name="parameters" value="comp.id"/>
</component>
<component id="descText" type="InsertText">
<binding name="value" value="comp.desc"/>
</component>
You have to nest the spans here, one for the link and the second for the link
text.
Now you have everything.
Cheers
mc
On 13 Jul 2006 at 13:46, Kosarev A.V. wrote:
> Update:
> I wish to place in a column two DirectLink components.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
FOCUS Computing - web design
Mob: 0415 24 26 24
[EMAIL PROTECTED]
http://www.focus-computing.com.au
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.1/390 - Release Date: 17/07/2006
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]