embedded component's parent

2008-10-16 Thread Theo vN
Hi I've got on a page: 1 22 How can I get a handle on outercomp from within it's embedded innnercomp class? @InjectContainer or ComponentResources.getContainer() both returns the page class. Sure I could pass the outer's id as a parameter to the inner, but this is Ta

Re: T5: Dynamic zone id

2008-06-30 Thread Theo vN
Inject the editZone in your page: @Component @Id("editZone") private editZone; Have a property, say getZone() on your FundGraph.java that exposes your page's editZone. In your FundGraph.tml's actionlink/form have: 2008/6/26 Lance Java <[EMAIL PROTECTED]>: > Consider the following example: > >

Re: Re: Nested Forms

2006-09-29 Thread Theo vN
With Ajax permitting partial html updates (and sometimes even partial html form updates) its only natural to wonder about partial form (or nested) submits? On 29/09/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Yeah I'm sure I've tried to nest forms at one point as well(Tapestry really start

custom validator based on which button pressed

2006-08-11 Thread Theo vN
Hi I use the same Form to either create (create button) a record or to search (search button) for records. I want to do input validation (only server-side is ok) when I create a record but not for when I search (maybe even other validation rules for when I search). The build in tapestry valida

Re: Re: Tacos @PartialFor question

2006-07-08 Thread Theo vN
but you'll know really fast if you install > FireBug for firefox and view the response data from your AjaxDirectLink > request. If you don't see updates then your form will > probably blow up when submitting. > > > On 7/8/06, Theo vN <[EMAIL PROTECTED]> wrote: >

Re: Tacos @PartialFor question

2006-07-08 Thread Theo vN
Without doing submits I mean without doing Form submits. I want to update the page and form with AjaxDirectLinks . On 08/07/06, Theo vN <[EMAIL PROTECTED]> wrote: There is a @PartialFor rendering a list of fields with @TextField. The user enters and changes values in these fields WITHOUT d

Re: Re: Re: RE: RE: Re: Partial form submit

2006-07-08 Thread Theo vN
I'm looking forward to this implementation. The best I can offer is to help test. Please post a message to inform me when you are tackling this. Otherwise where can I latch on? On 08/07/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: To really do something like this properly you'd probably have to

Re: Re: button/image click to invoke listener

2006-07-08 Thread Theo vN
pestry4/tapestry-contrib/apidocs/org/apache/tapestry/contrib/link/ButtonLinkRenderer.html From Theo vN <[EMAIL PROTECTED]>: > Somehow I feel stupid asking this question.. > > How do I get a button (or for that matter also an image) to function > as a @DirectLink? > In other word

button/image click to invoke listener

2006-07-08 Thread Theo vN
Somehow I feel stupid asking this question.. How do I get a button (or for that matter also an image) to function as a @DirectLink? In other words the button click should result in a listener being invoked with optional parameters. I don't want to use a form with @Submit (or @ImageSubmit). -- R

Tacos @PartialFor question

2006-07-08 Thread Theo vN
There is a @PartialFor rendering a list of fields with @TextField. The user enters and changes values in these fields WITHOUT doing a submit. Now he wants to add another row/item - or delete an existing row/item WITHOUT doing a post/submit. So, lets say there were 5 items in the list, how do I fi

Re: Re: RE: RE: Re: Partial form submit

2006-07-08 Thread Theo vN
Another possibility would be for the form processing cycle only to receive updated values for the parts specified - "old" values for fields A and C and "new"/updated values for field B? On 08/07/06, Theo vN <[EMAIL PROTECTED]> wrote: The Tacos form works great. It ca

Re: RE: RE: Re: Partial form submit

2006-07-08 Thread Theo vN
h does contain a component called PartialForm - I've seen, but not used. I'm pretty sure it does a partial refresh as part of submitting the form contents that it contains. -Original Message- From: Theo vN [mailto:[EMAIL PROTECTED] Sent: Thursday, July 06, 2006 10:58 AM To: Tapestry

Re: RE: Re: Partial form submit

2006-07-06 Thread Theo vN
AX, though, because I have not exactly had much luck with it. I wasted *way* too much time trying to get simple stuff to work. To me, it's not worth it. -Original Message- From: Theo vN [mailto:[EMAIL PROTECTED] Sent: Thursday, July 06, 2006 10:34 AM To: Tapestry users Subject: Re: R

Re: Re: Partial form submit

2006-07-06 Thread Theo vN
In my case I would prefer if the validation errors disappear. As a matter of fact it would be great if no validation takes place so that all input fields keep their data as it was entered even if the data is invalid. -- Regards Theo ---

Validation BEFORE submit

2006-05-12 Thread Theo vN
Hi Our project requires multiple stages of validation of data editable in a form. At first there is a draft stage - all submitted fields should be validated but not all required fields have to be filled in - all submitted fields must be persisted to database. Second stage requires more in depth