Boy I am stupid - I thought I wasn't getting any tapestry emails but they were actually going into a different folder in outlook. Anyway I sorted this out shortly after first posting by using the submit component instead of the DirectLink component, and it worked fine. Denis
-----Original Message----- From: Denis McCarthy Sent: 31 October 2005 15:48 To: [email protected] Subject: newbie For row update href problem Hi, We've just started using tapestry for parts of our web app. Currently I'm trying to build a page that shows a list of credit cards, and allows the user to update a credit limit on each card in the list via a DirectLink. The key parts of my .page are here: <property name="card"/> <component id="cards" type="For"> <binding name="source" value="cards"/> <binding name="value" value="card"/> <binding name="element" value="literal:tr"/> <binding name="keyExpression" value="id"/> </component> <component id="maxWithdrawalInPeriod" type="TextField"> <binding name="value" value="card.maxWithdrawalInPeriod"/> <binding name="translator" value="translator:number,pattern=#"/> <binding name="displayName" value="literal:Max Withdrawal In Period"/> <binding name="validators" value="validators:required,min=0,max=600"/> </component> <component id="updateCard" type="DirectLink"> <binding name="listener" value="listener:updateCard"/> <binding name="parameters" value="card"/> </component> So basically for each card I render an updateCard DirectLink. I want the maxWithdrawalInPeriod passed to the updateCard method via the card parameter to be set as the value in the TextField for that line, but what's happening is that the original value is being passed always (i.e. any change to the value in the TextField is ignored). I know I'm missing something fundamental here but I can't figure out what it is. Any pointers would be really appreciated Thanks Denis ********************************************************************** This email and any files transmitted with it are confidential and/or privileged and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient(s) please note that any review, distribution, dissemination, disclosure, alteration, printing, copying, transmission or use of this email and/or any file transmitted or the information therein is prohibited and may be unlawful. If you have received this email and any file transmitted with it in error please notify us by email at [EMAIL PROTECTED] or by telephone at +353 66 97 61258 and then delete the email and all copies of it from your system and destroy any hard copies of the email. Please note that any views, opinions or advice contained in this communication are those of the sending individual and not necessarily those of FEXCO. Email may be susceptible to data corruption, interception and unauthorised amendment, and we do not accept liability for any such corruption, interception or amendment or the consequences thereof. FEXCO and each legal entity in the FEXCO group of companies or business units of FEXCO reserve the right to monitor all email communications through its networks. This footnote also confirms that this email message has been swept for viruses. www.FEXCO.com ********************************************************************** --------------------------------------------------------------------- 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]
