Thanks this helps alot.
Paul
>From: Mind Bridge <[EMAIL PROTECTED]>
>Reply-To: "Tapestry users" <[email protected]>
>To: Tapestry users <[email protected]>
>Subject: Re: contrib:Table javascript
>Date: Mon, 11 Apr 2005 16:19:07 +0300
>
>Hi,
>
>I am guessing that the onchange will be placed on the ValidField (or
>whatever input field you are using)?
>You can make its contents to be an OGNL expression that returns a
>string (e.g. "ognl: 'func(.., ' + rowId + ')'" ) and have the
>getRowId() identify the row. See the 'row' parameter of
>contrib:Table -- you can bind that to a setter of yours, get the
>currently rendered row from there and that would allow you to
>implement getRowId().
>
>Hope this helps,
>- mb
>
>
>seloha . wrote:
>
>>I am using the contrib:Table in a way that could effectively be
>>described as a spreadsheet.
>>
>>The problem I have is, as it stands to update information the user
>>has to press a button, to do a round trip to the server and update
>>the full table.
>>
>>I am looking at incorporating javascript on each row to perform an
>>operation onchange. The problem is I have no idea how to best go
>>about this or even how to uniquely identify the row.
>>
>>I was hoping to achieve this without using the separate
>>contrib:Table components. I was possibly going to use XTile or
>>PartialForm for round trips on inidividual rows.
>>
>>Any ideas would be much apprciated.
>>
>>Paul
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail:
>>[EMAIL PROTECTED]
>>For additional commands, e-mail:
>>[EMAIL PROTECTED]
>>
>>
>>
>
>
>
>--
>No virus found in this outgoing message.
>Checked by AVG Anti-Virus.
>Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 4/7/2005
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail:
>[EMAIL PROTECTED]
>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
