You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Eng Lark Eric Tan <ne...@yahoo.com.hk> on 2005/06/29 05:50:43 UTC

Modify TableValues?

Dear all,
    How can I add something on the value of
contrib:Table or contrib:TableValues?

e.g.
<component id="age" type="Insert">
        <binding name="value"
expression="components.tableRows.tableRow.age"/>
    </component>

can I do something like this?
expression="components.tableRows.tableRow.age * 5"


		
伈鴃立即知

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Modify TableValues?

Posted by Mind Bridge <mi...@yahoo.com>.
Hi,

I am not entirely sure this helps, but here is a paragraph of the Table
documentation:


If defined, a Block with a name that is starts with the column id and ends
with ColumnValue will be used to render the column values. Similarly, a
Block with a name that starts with the column id and ends with ColumnHeader
will be used to render the column headers.

For example:
 <span jwcid="selectColumnValue@Block">
    <a jwcid="@DirectLink" listener="ognl:listeners.selectLocale"
parameters="ognl:components.table.tableRow">select</a>
</span>

You can replace the DirectLink above with an Insert as you describe, for
example.

The full documentation and the example is here:
http://jakarta.apache.org/tapestry/doc/ComponentReference/contrib.Table.html



----- Original Message ----- 
From: "Eng Lark Eric Tan" <ne...@yahoo.com.hk>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Wednesday, June 29, 2005 6:50 AM
Subject: Modify TableValues?


> Dear all,
>     How can I add something on the value of
> contrib:Table or contrib:TableValues?
>
> e.g.
> <component id="age" type="Insert">
>         <binding name="value"
> expression="components.tableRows.tableRow.age"/>
>     </component>
>
> can I do something like this?
> expression="components.tableRows.tableRow.age * 5"
>
>
>
> 伈鴃立即知
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org