Re: Issues with beaneditform component

2014-11-27 Thread Thiago H de Paula Figueiredo
er I press Save, it fires event however doesn't process anything? What do you mean by "doesn't process anything"? Is the event handler method invoked? http://stackoverflow.com/questions/5366498/tapestry-5-beaneditform-component-trouble I had to remove all constructors from

RE: Issues with beaneditform component

2014-11-27 Thread Name Surname
Nope. Implementation is fair OK to me. Checked console and there is nothing and I mean nothing on screen when I press Submit. It's like I didn't press anything??? > Date: Thu, 27 Nov 2014 22:48:14 +1100 > Subject: RE: Issues with beaneditform component > From: ch...@openc

RE: Issues with beaneditform component

2014-11-27 Thread Chris Mylonas
Dunno - I use the param user in onActivate instead of setData. Also just int. During @setupRender stage, fetch from logic the orig. At save time, my logic sets it all from form object. Make sense?

RE: Issues with beaneditform component

2014-11-26 Thread Name Surname
Hello Chris! Well the thing is I used @persist just for that purpose, to save me from using the stale user object. There is some other issue around here which at this stage I can't figure out. :/ > Date: Thu, 27 Nov 2014 13:04:56 +1100 > Subject: Re: Issues with beaneditform compo

Re: Issues with beaneditform component

2014-11-26 Thread Chris Mylonas
@CommitAfter > public String OnSuccess() { > logic.editUser(user); > return "ListClassesPage"; > } > > /** > * Sets user > * @param u user > */ > public void setData(User u) { > user = u; > } > } > > > > Now after I press Save, it fires event however doesn't process anything? > Am I somewhere wrong? > Also because of the issue regarding > http://stackoverflow.com/questions/5366498/tapestry-5-beaneditform-component-trouble > I had to remove all constructors from entity User but default one. If > anyone knows or had similar trouble with this, would be grateful to hear > his/her solution. > > Thanks in advance. > >

Issues with beaneditform component

2014-11-26 Thread Name Surname
nything? Am I somewhere wrong? Also because of the issue regarding http://stackoverflow.com/questions/5366498/tapestry-5-beaneditform-component-trouble I had to remove all constructors from entity User but default one. If anyone knows or had similar trouble with this, would be grateful to hear his/her solution. Thanks in advance.

nested object in beaneditform component

2009-09-04 Thread Navier Stokes
Hi: Is it possible to ask the beaneditform to display the fields for an object with nested object? For example: I have a customer class with address field as an object: public class Customer { private String firstName; private String lastName; private Address address; } public

Re: [T5] Is is possible to add Delete and Cancel buttons to BeanEditForm Component?

2008-12-17 Thread Geoff Callender
ut most anything you'd like within the t:parameter tags. -Luther Marcelo Lotif-2 wrote: You can use the BeanEditor component and wrap it with a form. At the bottom, you can add as many submit buttons as you want. I heard somewhere in this list that the beaneditform component is nothing m

Re: [T5] Is is possible to add Delete and Cancel buttons to BeanEditForm Component?

2008-12-17 Thread mraible
ke within the >>> t:parameter >>> tags. >>> >>> -Luther >>> >>> >>> >>> >>> Marcelo Lotif-2 wrote: >>>> >>>> You can use the BeanEditor component and wrap it with a form. At the >>>

Re: [T5] Is is possible to add Delete and Cancel buttons to BeanEditForm Component?

2008-12-17 Thread Geoff Callender
t the beaneditform component is nothing more than this. On Mon, Dec 15, 2008 at 2:19 PM, mraible wrote: Is it possible to add Delete and Cancel buttons to the component? If so, how? Thanks, Matt -- View this message in context: http://www.nabble.com/-T5--Is-is-possible-to-add-Delete-and-C

Re: [T5] Is is possible to add Delete and Cancel buttons to BeanEditForm Component?

2008-12-16 Thread mraible
; Generally, you can put most anything you'd like within the t:parameter > tags. > > -Luther > > > > > Marcelo Lotif-2 wrote: >> >> You can use the BeanEditor component and wrap it with a form. At the >> bottom, >> you can add as many submit b

Re: [T5] Is is possible to add Delete and Cancel buttons to BeanEditForm Component?

2008-12-15 Thread luther.baker
BeanEditor component and wrap it with a form. At the > bottom, > you can add as many submit buttons as you want. > I heard somewhere in this list that the beaneditform component is nothing > more than this. > > On Mon, Dec 15, 2008 at 2:19 PM, mraible wrote: > >> >

Re: [T5] Is is possible to add Delete and Cancel buttons to BeanEditForm Component?

2008-12-15 Thread Marcelo Lotif
You can use the BeanEditor component and wrap it with a form. At the bottom, you can add as many submit buttons as you want. I heard somewhere in this list that the beaneditform component is nothing more than this. On Mon, Dec 15, 2008 at 2:19 PM, mraible wrote: > > Is it possible to add

[T5] Is is possible to add Delete and Cancel buttons to BeanEditForm Component?

2008-12-15 Thread mraible
Is it possible to add Delete and Cancel buttons to the component? If so, how? Thanks, Matt -- View this message in context: http://www.nabble.com/-T5--Is-is-possible-to-add-Delete-and-Cancel-buttons-to-BeanEditForm-Component--tp21017894p21017894.html Sent from the Tapestry - User mailing

Re: BeanEditForm Component in Tapestry 5

2008-12-13 Thread SergeEby
;>> @Id >>>> @GeneratedValue(strategy = GenerationType.AUTO) >>>> public Long getId() { >>>> return this.id; >>>> } >>>> >>>> @Column(name = "first_name", length = 50) >>>> public String get

Re: BeanEditForm Component in Tapestry 5

2008-12-13 Thread nillehammer
ot;last_name", length = 50) >>> public String getLastName() { >>> return this.lastName; >>> } >>> >>> public String toString() { >>> return firstName + ' ' + lastName; >>> } >>> } >>> >

Re: BeanEditForm Component in Tapestry 5

2008-12-13 Thread nillehammer
llowing error: >> >> Render queue error in >> AfterRender[PersonForm:beaneditform.editor.loop]: Failure reading >> parameter 'validate' of component core/PropertyEditBlocks:numberfield: >> No object of type org.apache.tapestry5.services.PropertyEditContext is >

Re: BeanEditForm Component in Tapestry 5

2008-12-12 Thread Otho
ailable types are > org.apache.tapestry5.RenderSupport, > org.apache.tapestry5.ValidationDecorator, > org.apache.tapestry5.ValidationTracker, > org.apache.tapestry5.internal.services.ClientBehaviorSupport, > org.apache.tapestry5.in

BeanEditForm Component in Tapestry 5

2008-12-11 Thread mraible
y ideas? Thanks, Matt -- View this message in context: http://www.nabble.com/BeanEditForm-Component-in-Tapestry-5-tp20964358p20964358.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-

Re: BeanEditForm Component

2008-06-16 Thread Marcelo Lotif
n" <[EMAIL PROTECTED]> > To: "Tapestry users" > Sent: Sunday, June 15, 2008 5:29 PM > Subject: Re: BeanEditForm Component > > > BeanEditForm is just a BeanEditor component with a submit button. > Please see BeanEditForm.tml in the Tapestry 5 source core. >

Re: BeanEditForm Component

2008-06-15 Thread tengxh
Do you mean that i need custome the BeanEdit Compoent? - Original Message - From: "Shing Hing Man" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Sunday, June 15, 2008 5:29 PM Subject: Re: BeanEditForm Component BeanEditForm is just a BeanEditor component wi

Re: BeanEditForm Component

2008-06-15 Thread Shing Hing Man
AIL PROTECTED]> wrote: > From: tengxh <[EMAIL PROTECTED]> > Subject: BeanEditForm Component > To: "Tapestry users" > Date: Sunday, 15 June, 2008, 4:02 PM > The beanEditForm component has only a default button >

BeanEditForm Component

2008-06-15 Thread tengxh
The beanEditForm component has only a default button (Create/Update),how to add other buttons?

Re: T5: Annotations documentation [was Re: T5: beaneditform component error message]

2008-01-09 Thread Howard Lewis Ship
Those are the main ones. In addition, there are marker annotations, used as part of service injection, scattered about. These are used to differentiate which particular service to inject when multiple services implement the same service interface. On Jan 9, 2008 1:22 PM, Franz Amador <[EMAIL PROT

T5: Annotations documentation [was Re: T5: beaneditform component error message]

2008-01-09 Thread Franz Amador
[Franz Amador] By the way, is there a list of Tapestry5 annotations and what they do? I haven't seen one on the web site or the wiki. [Howard Lewis Ship] I think the JavaDoc is a perfectly good reference. Okay, but it'd still be nice to know where to look for them. I've found these: tapestry

Re: T5: beaneditform component error message

2008-01-09 Thread Howard Lewis Ship
reference. > > > - Original Message > From: Howard Lewis Ship <[EMAIL PROTECTED]> > To: Tapestry users > Sent: Tuesday, January 8, 2008 7:00:54 PM > Subject: Re: T5: beaneditform component error message > > > @Component defines a component, it does no

Re: T5: beaneditform component error message

2008-01-09 Thread Franz Amador
t of Tapestry5 annotations and what they do? I haven't seen one on the web site or the wiki. - Original Message From: Howard Lewis Ship <[EMAIL PROTECTED]> To: Tapestry users Sent: Tuesday, January 8, 2008 7:00:54 PM Subject: Re: T5: beaneditform component error message @C

Re: T5: beaneditform component error message

2008-01-08 Thread Howard Lewis Ship
tForm beaneditform; > > which I presume is coming from the @Component. The question is: why can't it > find the beaneditform component? It sure looks like it's there to me. Does > it have some other name? > > thanks, > Franz > > > -- Howard M. Lewis Sh

T5: beaneditform component error message

2008-01-08 Thread Franz Amador
ublic class FormPage { @Persist private Bean bean; @Component private BeanEditForm beaneditform; which I presume is coming from the @Component. The question is: why can't it find the beaneditform component? It sure looks like it's there to me. Does it have some othe

Editing complex beans with BeanEditForm component.

2007-07-30 Thread Imants Firsts
Hi! Is it possible to use BeanEditForm component for editing complex beans? I have the following classes (getters and some irrelevant things are stripped, which might make classes slightly odd, but they have to be this way in my case). public class Item { private String name