Re: form that create an object

2009-09-25 Thread Thiago H. de Paula Figueiredo
Em Fri, 25 Sep 2009 10:50:59 -0300, limonn escreveu: I understand that but my problem it is only to create an object, I dont know how to code a form with the object properties and many buttons and receive them in java the whole as an object. Take a look at the tutorial: http://tapestry.a

Re: form that create an object

2009-09-25 Thread limonn
ional commands, e-mail: users-h...@tapestry.apache.org > > > -- View this message in context: http://www.nabble.com/form-that-create-an-object-tp25414886p25612509.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: form that create an object

2009-09-25 Thread Thiago H. de Paula Figueiredo
Em Fri, 25 Sep 2009 10:24:56 -0300, limonn escreveu: Ok I m not editing so no need to use value, however it looks like there is no way in tapestry to receive an object as described above ( straight from a form as BeanEditForm, that I can't use because I need many submit buttons) m I correc

Re: form that create an object

2009-09-25 Thread limonn
t; > -- > Thiago H. de Paula Figueiredo > Independent Java consultant, developer, and instructor > http://www.arsmachina.com.br/thiago > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional com

Re: form that create an object

2009-09-24 Thread Thiago H. de Paula Figueiredo
Em Thu, 24 Sep 2009 10:53:41 -0300, limonn escreveu: t:validate="required,minlength=3" size="30"/> Failure parsing template context:TestForm.tml: Component id 'user.lastName' is not valid; component ids must be valid Java identifiers: start with a letter, and consist of letters,

Re: form that create an object

2009-09-24 Thread limonn
--- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > -- View this message in context: http://www.nabble.com/form-that-create-an-o

Re: form that create an object

2009-09-22 Thread Thiago H. de Paula Figueiredo
Em Tue, 22 Sep 2009 05:54:09 -0300, Sergey Didenko escreveu: Hi Limonn, you need a public setter for your User object. Or annotate it with @Property. This only works in Tapestry pages, components and mixins. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and i

Re: form that create an object

2009-09-22 Thread Sergey Didenko
Hi Limonn, you need a public setter for your User object. > Class com.limonn.pages.Form does not contain a property named 'name' (within > property expression 'name'). Available properties: class, > componentResources, user > > > because in the class page I have > > private User user > > it is th

Re: form that create an object

2009-09-13 Thread ningdh
ame'. void onPrepareForSubmit() { this.user = new User(); } DH - Original Message - From: "limonn" To: Sent: Sunday, September 13, 2009 9:55 PM Subject: Re: form that create an object yes but in that case i loose the object, so now I m getting Class com.limonn.pages.Form doe

Re: form that create an object

2009-09-13 Thread limonn
extfield component will map the bean property(lastName) to the form > field, so you can just think that after form submit, the bean's property > is properly set. > > DH > > - Original Message - > From: "limonn" > To: > Sent: Sunday, September 13, 2

Re: form that create an object

2009-09-12 Thread ningdh
m: "limonn" To: Sent: Sunday, September 13, 2009 7:39 AM Subject: Re: form that create an object > > is not working I did try > > t:id="user.lastName"/> > > but > > Failure parsing template context:Form.tml: Component id 'user.name'

Re: form that create an object

2009-09-12 Thread limonn
quot; name was : " + this.user.getName() + " from > cancel"); > > } > return index; > } > > ----------- >

Re: form that create an object

2009-09-12 Thread Thiago H. de Paula Figueiredo
Em Sat, 12 Sep 2009 15:59:45 -0300, limonn escreveu: Never use ${} when passing parameters. It should be value="user.name". -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago --

Re: form that create an object

2009-09-12 Thread limonn
rint(" name was : " + this.user.getName() + " from > success"); > > } else { > > System.out.print(" name was : " + this.user.getName() + " from > cancel"); > > } > return index; > } > > --------

Re: form that create an object

2009-09-12 Thread Ulrich Stärk
Read the component reference about the textfield component. You want to use textfield's value attribute. Uli On 12.09.2009 16:15 schrieb limonn: I want to have a form that represent an object, so far I have something but is not working. name : last name : -

form that create an object

2009-09-12 Thread limonn
t;); } return index; } --- how you get the user.name and user.lastName as properties from User as object from the form ? Thank 's in advance -- View this message in context: http://www.nabble.com/form-that-create