oh, sorry, <t:label for ="userName" /> this generates a label "User Name", where is this come from, T5 just breaks the words? if I want to put some other text into the label, how?
also trying out that login example: http://tapestry.apache.org/tapestry5/tapestry-core/guide/validation.html @Component private Form _form; this will generat an error during starting: [ERROR] Login Embedded component(s) form are defined within component class org.example.hilo.pages.Login, but are not present in the component template but it still works, why? Ulrich Stärk wrote: > > And what exactly is the question? > > Angelo Chen schrieb: >> Thanks nick, it's just what I need, one more question: >> >> <t:label for ="userName" /> >> <input t:type="TextField" t:id = "userName" >> t:validate="required" >> size="30" /> >> Nick Westgate wrote: >>> There is a login example right here: >>> http://tapestry.apache.org/tapestry5/tapestry-core/guide/validation.html >>> >>> Cheers, >>> Nick. >>> >>> >>> Angelo Chen wrote: >>>> Hi, >>>> >>>> I have finished the tutorial in the T5 site, it uses BeanFormEdit, can >>>> somebody show me how to do the basic form edit/submit? like a textField >>>> for >>>> username, a button to submit, then how the java side capture the two >>>> fields? >>>> thanks. >>>> >>>> A.C. >>> --------------------------------------------------------------------- >>> 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] > > > -- View this message in context: http://www.nabble.com/T5%3ASimple-form-submit-tf4310884.html#a12275925 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]