In this example, how do you reach the object components.table.tableRow?

I'm trying to do the exact same thing, but I dont know how to attach the ID
of the row to the DirectLink. I always end up with 0 and never the real ID.

What is the components object? Is table the name of the table that was just
declared or is that string just an example without any real meaning?

Thanks for any help
Rui



On 6/2/06, Eric Fesler <[EMAIL PROTECTED]> wrote:

From the Tapestry 3 component reference
(
http://jakarta.apache.org/tapestry/3.0.4/doc/ComponentReference/contrib.Table.html
):

<style> td { text-align: center } </style>
<table jwcid="[EMAIL PROTECTED]:Table" width="90%"
    source="ognl:@[EMAIL PROTECTED]()"
    columns="Locale:toString(), Language, Country, Variant, ISO3Language,
ISO3Country, !select"/>
<span jwcid="[EMAIL PROTECTED]">&nbsp;</span>
<span jwcid="[EMAIL PROTECTED]">
    <a jwcid="@DirectLink" listener="ognl:listeners.selectLocale"
parameters="ognl:components.table.tableRow">select</a>
</span>


--ERic


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




--
Cumprimentos,
Rui Pacheco

Reply via email to