Re: expert needed

2007-05-23 Thread Ben Acker
listener that you want invoked. This works good, as I am using this approach myself. - Original Message - From: Paul Stanton [EMAIL PROTECTED] To: Tapestry users users@tapestry.apache.org Sent: Monday, May 14, 2007 8:56:54 PM (GMT-0500) America/New_York Subject: expert

Re: expert needed

2007-05-23 Thread Paul Stanton
. - Original Message - From: Paul Stanton [EMAIL PROTECTED] To: Tapestry users users@tapestry.apache.org Sent: Monday, May 14, 2007 8:56:54 PM (GMT-0500) America/New_York Subject: expert needed Tapestry 4.1 I've got a set of anchors (a) which are common for a group of pages

Re: expert needed

2007-05-23 Thread Nick Westgate
Paul Stanton wrote: Hmm.. I guess what I don't get is how you can submit a form from a DirectLink component. I'm guessing you can't, unless you emulate what LinkSubmit does: http://tapestry.apache.org/tapestry4.1/components/form/linksubmit.html In my Tapestry 3 apps I actually used form

Re: expert needed

2007-05-23 Thread Ben Acker
Paul, I apologize for recommending a 'dirty' way of solving your problem! You could just create a new component based on the AbstractSubmit class or the Submit component. That way you could utilize the form submission from AbstractSubmit. In addition, the html in your tab could display this new

Re: expert needed

2007-05-23 Thread Paul Stanton
thanks nick. Nick Westgate wrote: Paul Stanton wrote: Hmm.. I guess what I don't get is how you can submit a form from a DirectLink component. I'm guessing you can't, unless you emulate what LinkSubmit does: http://tapestry.apache.org/tapestry4.1/components/form/linksubmit.html In my

Re: expert needed

2007-05-23 Thread Paul Stanton
Nick (or anyone), two questions: 1. If I define the form in the border component, why doesn't listener=listener:page.formSubmit work? It seems I have to define a listener in the border component that delegates to the page method? 2. How do I read the value of the 'tag' attribute of a

Re: expert needed

2007-05-23 Thread Nick Westgate
I have no T4 project to test with, but in T3 I used OGNL expressions: getPage().listeners.submitForm getPage().submitTarget Cheers, Nick. Paul Stanton wrote: Nick (or anyone), two questions: 1. If I define the form in the border component, why doesn't listener=listener:page.formSubmit work?

Re: expert needed

2007-05-23 Thread Nick Westgate
Isn't this just a field of your page base class? In T4 you can inherit, which should be great. In T3 I had to add the property to each .page file. Cheers, Nick. Paul Stanton wrote: thanks, listener=ognl:page.listeners.formSubmit works. anyone know how to read the 'tag' attribute once in the

Re: expert needed

2007-05-23 Thread Paul Stanton
Thanks, I've figured it out now, hadn't read the doc on 'selected' attribute :( Nick Westgate wrote: Isn't this just a field of your page base class? In T4 you can inherit, which should be great. In T3 I had to add the property to each .page file. Cheers, Nick. Paul Stanton wrote: thanks,

Re: expert needed

2007-05-22 Thread Paul Stanton
. - Original Message - From: Paul Stanton [EMAIL PROTECTED] To: Tapestry users users@tapestry.apache.org Sent: Monday, May 14, 2007 8:56:54 PM (GMT-0500) America/New_York Subject: expert needed Tapestry 4.1 I've got a set of anchors (a) which are common for a group of pages

Re: expert needed

2007-05-22 Thread Paul Stanton
myself. - Original Message - From: Paul Stanton [EMAIL PROTECTED] To: Tapestry users users@tapestry.apache.org Sent: Monday, May 14, 2007 8:56:54 PM (GMT-0500) America/New_York Subject: expert needed Tapestry 4.1 I've got a set of anchors (a) which are common for a group of pages

Re: expert needed

2007-05-22 Thread Ben Acker
] To: Tapestry users users@tapestry.apache.org Sent: Monday, May 14, 2007 8:56:54 PM (GMT-0500) America/New_York Subject: expert needed Tapestry 4.1 I've got a set of anchors (a) which are common for a group of pages and are contained within a component, however on each page they need to do

Re: expert needed

2007-05-22 Thread Paul Stanton
Sent: Monday, May 14, 2007 8:56:54 PM (GMT-0500) America/New_York Subject: expert needed Tapestry 4.1 I've got a set of anchors (a) which are common for a group of pages and are contained within a component, however on each page they need to do different things. Essentially they will either

Re: expert needed

2007-05-15 Thread Ben Acker
] To: Tapestry users users@tapestry.apache.org Sent: Monday, May 14, 2007 8:56:54 PM (GMT-0500) America/New_York Subject: expert needed Tapestry 4.1 I've got a set of anchors (a) which are common for a group of pages and are contained within a component, however on each page they need to do

Re: expert needed

2007-05-14 Thread Phillip Rhodes
@tapestry.apache.org Sent: Monday, May 14, 2007 8:56:54 PM (GMT-0500) America/New_York Subject: expert needed Tapestry 4.1 I've got a set of anchors (a) which are common for a group of pages and are contained within a component, however on each page they need to do different things. Essentially