Yes, I tried earlier <form t:type="form"> <input t:type="TextField" t:value="sale.product.price"/> <input type="submit" value="submit"/> </form>
After render, the html is : <input id="textfield" name="textfield" type="text" value="12"> Obviously, when i submit, occur exception beacuse my page class has no textfield field. Filip S. Adamsen-2 wrote: > > Yeah, then you definitely need to set the VALUE to sale.product.price, > not the id. Just listen to Nick, he knows what he's talking about. : ) > > smithfox skrev: >> It's a edit form. >> >> Nick Westgate wrote: >>> Why are you binding the id to that? Don't you mean >>> t:value="sale.product.price"? >>> >>> Cheers, >>> Nick. >>> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/T5%3A-How-to-bind-composite-class%27-field%28like-sale.product.price%29-in-page-template-tf4395512.html#a12536761 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]