Re: Reusable Component - which handles FORM/REQUEST values

2006-10-25 Thread B.S.Navin
In your case, you want a method to be called after Tapestry calls setDay(), setYear() and setMonth() during rewind. You can do it in the cleanupAfterRender() method (As Daniel suggested), or you can use the http://tapestry.apache.org/tapestry4/ tapestry/ComponentReference/InvokeListener.html

Re: Creating DirectLink using DirectService

2006-10-25 Thread andyhot
ok, without listeners: - Implement IDirect, - Use DirectServiceParameter dsp = *new* DirectServiceParameter(*this*, new Object[]{"a custom param"}); and pass it to DirectService - When the link is clicked, your* public* *void* trigger(IRequestCycle cycle) will get called [EMAIL PROTECTED] wrote:

Re: Creating DirectLink using DirectService

2006-10-25 Thread Karthik N
out of sheer curiosity. when you programmatically create the direct link, how will you also create the associated HTML for the anchor tag, and bind that HTML to the DirectLink created? Can you post your code snippet once done, please?

Re: Dynamic Radiogroup

2006-10-25 Thread James Carman
I don't think it matters where you define it within the HTML. Quite often, the field label will come before the field it labels. I've never had to resort to a .page/.jwc file in this case. On 10/24/06, Patrick Moore <[EMAIL PROTECTED]> wrote: your FieldLabel's field parameter is wrong, it sho

Re: Tapestry-4.1.1 build fails... why aren't the repositories working???

2006-10-25 Thread Norbert Sándor
As I know snapshots can be found only on people.apache.org, and 4.1.1 uses snapshot maven plugins. I have projects built on 4.1.1 which are unusable currently, any maven operations fail. + I cannot switch back to 4.1. I found this: "Scheduled Downtime The Apache Software Foundation will be doi

Re: Tapestry-4.1.1 build fails... why aren't the repositories working???

2006-10-25 Thread Norbert Sándor
I managed to compile and install 4.1.1 (without running test). I had to: - delete all references to org.apache.tapestry, tapestry-test - delete the snapshot maven plugin version numbers because people.apache.org is down Of course it is only a temporary solution... Regards, Norbi Ps.: sorry, t

Paging with contrib.tableview

2006-10-25 Thread Didi Chow
Hi everyone! This may be a very simple issue, but since I'm new with Tapestry, I'm kinda stuck at this point: I'm displaying the results of a query with the tableview thingy. The HTML-code looks like this:

RE: Paging with contrib.tableview

2006-10-25 Thread Thomas.Vaughan
It sounds like you want to call the Table's .reset() method on the form submission of the search parameters you have above the table... -Original Message- From: Didi Chow [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 25, 2006 9:34 AM To: users@tapestry.apache.org Subject: Paging wi

RE: Paging with contrib.tableview

2006-10-25 Thread Didi Chow
Thanks! That resolves the paging thingy. Unfortunately, the stale link error remains. Best regards, Didi > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 25, 2006 3:42 PM > To: users@tapestry.apache.org > Subject: RE: Paging with contri

Re: $template Asset

2006-10-25 Thread Pablo Ruggia
Thanks !! One more question: what do you do to add the $template asset in the ISpecificationResolverDelegate ? On 10/12/06, Andrei Chiritescu <[EMAIL PROTECTED]> wrote: I'm not sure that the $template asset works for pages, just components. To fix this I have implemented my own ISpecification

Re: Dynamic Radiogroup

2006-10-25 Thread Todd Orr
Reversing the radio and the label still causes this exception. On 10/25/06, James Carman <[EMAIL PROTECTED]> wrote: I don't think it matters where you define it within the HTML. Quite often, the field label will come before the field it labels. I've never had to resort to a .page/.jwc file in

getClientId() seems to output the wrong value

2006-10-25 Thread Robert Binna
Hi Since my last update on tapestry 4.1 I have a problem when using getClientId(). I have a Component (DateRangePicker) consisting of a SelectBox and two DropDownDatePickers. To do some javascript (setting the datePicker visible/invisible,depending on the range type (between,from,to,noSelecti

Tomcat failover.

2006-10-25 Thread Leo Sakhvoruk
I know this is not a Tomcat list but I'm just hoping somebody's had experience in this area and could provide some quick guidance on the issue. I'm trying to setup a cluster of tomcat servers in session replication mode for failover purposes. Though it's pretty unclear from the docs if this kin

Re: Tomcat failover.

2006-10-25 Thread Daniel Tabuenca
I'm not an expert, but you do not need Apache HTTPD server in order to get Tomcat to cluster (although you can certainly use it if you want). As far as tapestry, I don't think there is anything special you need to do other than make sure your session is serializable. On 10/25/06, Leo Sakhvoruk

Re: Tomcat failover.

2006-10-25 Thread Patrick Moore
Hi Leo -- From my experience, these are the questions that you should make sure were asked first: 1. What is the effect on the user experience if the new server does not have the session information? 2. How large a memory footprint does each session occupy? 3. How often do session variables

Re: IValidationDelegate.clearError() clears user input on form refresh

2006-10-25 Thread Karthik N
carlos, any solutions you found? Thanks, Karthik

@EventListener issue with submitForm and Upload component

2006-10-25 Thread Peter Beshai
Is it intended that if there is an Upload component in the form that is attached to an EventListener (via setting submitForm="myform"), the EventListener doesn't fire off? (I didn't see it documented anywhere, but I could have missed something). Peter Beshai __

Problems using UTF-8 encoding and forms using the GET method

2006-10-25 Thread Manuel Sugawara
Hi all, I'm having problems using Tapestry4 with UTF-8 encoding and forms that use the GET method (using POST works as expected). The form submits a keyword and when the user puts a one with acute accent, like topología, my listener reads that as topología. Any ideas on what's going on and how t

Re: IValidationDelegate.clearError() clears user input on form refresh

2006-10-25 Thread andyhot
Please vote for this issue... it might get resolved faster :) Karthik N wrote: > carlos, any solutions you found? > > Thanks, Karthik > -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting

Re: Tomcat failover.

2006-10-25 Thread Leo Sakhvoruk
Excellent points Patrick! I will most certainly consider them as I look at clustering further. Thanks, Leo Patrick Moore wrote: Hi Leo -- From my experience, these are the questions that you should make sure were asked first: 1. What is the effect on the user experience if the new server

Re: Anybody know of any Tapestry pdf presentations?

2006-10-25 Thread Jabbar
Thank you for that Karthik. I've passed the nfjs presentation to some of my team members. On 17/10/06, Karthik N <[EMAIL PROTECTED]> wrote: see if you find anything useful here http://howardlewisship.com/downloads/ ( ... and let me know!) -- Thanks A Jabbar Azam

Re: IValidationDelegate.clearError() clears user input on form refresh

2006-10-25 Thread Karthik N
any user/password that can be used for voting? On 10/25/06, andyhot <[EMAIL PROTECTED]> wrote: Please vote for this issue... it might get resolved faster :) Karthik N wrote: > carlos, any solutions you found? > > Thanks, Karthik > -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.

Re: Dynamic Radiogroup

2006-10-25 Thread Patrick Moore
Your experence maybe different. but I found that if I had a component that was not mentioned in java code nor in the .jwc file I would get problems when using FieldLabel... On 10/25/06, James Carman <[EMAIL PROTECTED]> wrote: I don't think it matters where you define it within the HTML. Quite o

Re: EventListener on components within a @For loop

2006-10-25 Thread Patrick Moore
Is there any more on this? I am just now starting to explore the EventListener model. I must admit I find it a little odd that I can't wire things up programatically. It feels wrong that I need to decide at compile time that two components are talking to each other. Or is there something new? -