T4 Possible to manual initialize tapestry

2008-10-29 Thread J W
Hi, I was wondering whether it's possible to manually initialize tapestry instead of declaring the ApplicationServlet inside web.xml? I've tried to comment out , but it still gets initialized during the web server startup time. Besides, is it possible to manually point tapestry to a different l

Re: T5: cannot use Grid's rowIndex in page class

2008-10-29 Thread Geoff Callender
So noone has succeeded in reading Grid's rowIndex in the page class as it renders each row or during form submission? On 28/10/2008, at 10:57 PM, Geoff Callender wrote: I think that's a slightly different case. It looks like your page class is interested in the rowIndex value only when the A

Re: T5: help required: Context and PageLink

2008-10-29 Thread Thiago H. de Paula Figueiredo
Em Tue, 28 Oct 2008 20:46:33 -0300, Howard Lewis Ship <[EMAIL PROTECTED]> escreveu: Again, the solution is to avoid relative paths. Strip out style.css from your page or layout template, use the @IncludeStylesheet annotation instead of directly-code HTML. Another option is to use ${asset:co

Re: [T5] - Using a mixin on a beaneditform to do an submit without a page reload

2008-10-29 Thread Thiago H. de Paula Figueiredo
Em Tue, 28 Oct 2008 22:48:47 -0300, BarryDev <[EMAIL PROTECTED]> escreveu: Ok I removed all my JQuery code to see if this was causing the issue and it was, but than I realised I was also returning the chatroom page from my onSuccess() method. You must return your Zone instance in your on

Re: new URLEncoder Service

2008-10-29 Thread Thiago H. de Paula Figueiredo
Em Tue, 28 Oct 2008 19:54:21 -0300, Fernando Padilla <[EMAIL PROTECTED]> escreveu: Just wondering if Tapestry-IOC will ever support something like "override" of services ( like alias )? It already does! The documentaton in T5's site is a little scarce and can be found here: http://tapestry.ap

Re: new URLEncoder Service

2008-10-29 Thread Thiago H. de Paula Figueiredo
Em Wed, 29 Oct 2008 10:08:36 -0300, Thiago H. de Paula Figueiredo <[EMAIL PROTECTED]> escreveu: It already does! The documentaton in T5's site is a little scarce and can be found here: http://tapestry.apache.org/tapestry5/guide/alias.html. Well, not quite. Alias and AliasContribution are part

Re: [T5] - Using a mixin on a beaneditform to do an submit without a page reload

2008-10-29 Thread BarryDev
Thiago H. de Paula Figueiredo wrote: > > > You must return your Zone instance in your onSuccess() method. If you > return a page, it will be a normal, non AJAX request. > I've returned a zone from my onSuccess method which I'm getting using injectComponent, and the behaviour is the same, th

Re: New JIRA: Tapestry does not pick pages, components and templates after application startup

2008-10-29 Thread Howard Lewis Ship
You should be able to point Jetty at your workspace's src/main/webapp folder (or equivalent). As long as your IDE compiles classes to folders on Jetty's classpath, live class reloading just works. Live class reloading is only for class file directly on the file system; classes packaged into JARs a

Re: Trapping the "user is on a new page event" and calling ComponentResources.discardPersistentFieldChanges() on new page?

2008-10-29 Thread Peter Stavrinides
If there was a good solution for this it would be a real boon... I can think of a number of cases where this would be extremely useful. - Original Message - From: "Joel Halbert" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Friday, 24 October, 2008 8:56:22 PM GMT +02:00 Athens, Beirut,

Re: Trapping the "user is on a new page event" and calling ComponentResources.discardPersistentFieldChanges() on new page?

2008-10-29 Thread Thiago H. de Paula Figueiredo
Em Wed, 29 Oct 2008 12:02:38 -0300, Peter Stavrinides <[EMAIL PROTECTED]> escreveu: If there was a good solution for this it would be a real boon... I can think of a number of cases where this would be extremely useful. I already posted some code to solve this problem here: http://www.nab

multiple hits on mixin confirm dialog box

2008-10-29 Thread tapestry5
I am working in tapestry 5.0.13 version I have a list of students. and there is a feature of deleting students from the list. I am using mixin for the confirm box. Now in local the confirm box works fine but when i launch the application to server it starts giving me the problem. I have multip

[T5] Contribution to ValidationMessagesSourcedoes not work

2008-10-29 Thread Thiago H. de Paula Figueiredo
Hi! I would like to know if there are more people having the same issue as me with the ValidationMessagesSource configuration/contribution. I've added this method to my AppModule. public static void contributeValidationMessagesSource(Configuration configuration) { configuration.ad

Re: new URLEncoder Service

2008-10-29 Thread Fernando Padilla
that's what I was talking about :) And I was just wondering because we already have a mechanism to decorate a service (decorateService), and adding an "overrideService" syntax might be something to play with.. though as we've seen tapestry ioc contributions/configurations don't support overr

Re: New JIRA: Tapestry does not pick pages, components and templates after application startup

2008-10-29 Thread Peter Stavrinides
I have found that it depends greatly on your configuration. I use maven with eclipse 3.3 on ubuntu for build and dependency management with the jetty plug-in to run Tapestry. Reloading works well for me, but I have found that some versions of the plug-in didn't do the reloading out of the box fo

t5: change the validation message: Date value is not parseable.

2008-10-29 Thread peibel
I need change the validation message " Date value is not parseable. ". in the properties file. this message appears when an erroneous data in a datefiel thanks. P.D: forgiveness for my English -- View this message in context: http://www.nabble.com/t5%3A-change-the-validation-message%

[T5] Customizing BeanEditForm Layout

2008-10-29 Thread Marcel Sammut
I've been able to extend and customize the layout and order of a BeF using the element. However, when I try and customize the Submit button, the element doesn't seem to work. I've read/seen that you can specify the label of the button via the submitlabel parameter of the BeF, but I need to do

Re: New JIRA: Tapestry does not pick pages, components and templates after application startup

2008-10-29 Thread Kalle Korhonen
Just to provide a differing viewpoint: I've had live class reloading already in Tapestry 4.x with Tomcat, Eclipse and Sysdeo's Tomcat plugin for years. I've always wondered what the fuss is about live class reloading as a new feature. I say if during development you have to restart your app server

Re: [T5] Customizing BeanEditForm Layout

2008-10-29 Thread Thiago H. de Paula Figueiredo
Em Wed, 29 Oct 2008 15:19:34 -0300, Marcel Sammut <[EMAIL PROTECTED]> escreveu: For example, how would I add an ActionLink component right beside the submit button? Use a Form component and put an BeanEditor inside it. Then add anything you want. Something like this: Below is my templa

Re: T4.1 AJAX Indicators

2008-10-29 Thread Marcus Schulte
did you try dojo.event.connect("before", dojo.byId ? 2008/10/27 Norman Franke <[EMAIL PROTECTED]> > I've now upgraded to T4.1.6 and the problem remains on Firefox, IE and > Safari. Here is how I coded it: > > dojo.event.connect(dojo.byId('delete'), 'onclick', >function (evt) { >

Re: T4.1 AJAX Indicators

2008-10-29 Thread Norman Franke
Yep, that's the default (but I tried it anyway.) It appears to be working, since causing a javascript error does abort properly. Odd that it works properly for non-ajax requests, too. Perhaps I'll try a simple case and see if that works. Norman Franke Answering Service for Directors, Inc. ww

Problems with 4.1.6 ExternalPages and back/forward button

2008-10-29 Thread Jon Williams
Tapestry Version 4.1.6 Release I have Shell.disableCaching = true When I back & forward button in my browser to IExternalPages shouldn't ExternalService.service be invoked? It isn't, and I know this was not the case with Tapestry 4.0.*. I can back and forward and ExternalService.service is NOT inv

T5 force_relative_uris?

2008-10-29 Thread Toby Hobson
I have an unusual requirement - I am developing a facebook application and I would like to use Tapestry however I have hit a problem with the URLs T5 is generating. Basically I need the urls to be relative i.e. ../test or absolute i.e. http://server.com/context/test, Facebook is falling over when T

Re: T5 force_relative_uris?

2008-10-29 Thread Thiago H. de Paula Figueiredo
Em Wed, 29 Oct 2008 18:21:04 -0300, Toby Hobson <[EMAIL PROTECTED]> escreveu: I have an unusual requirement - I am developing a facebook application and I would like to use Tapestry however I have hit a problem with the URLs T5 is generating. Basically I need the urls to be relative i.e.

Re: New JIRA: Tapestry does not pick pages, components and templates after application startup

2008-10-29 Thread Thiago H. de Paula Figueiredo
Em Wed, 29 Oct 2008 15:29:58 -0300, Kalle Korhonen <[EMAIL PROTECTED]> escreveu: Just to provide a differing viewpoint: I've had live class reloading already in Tapestry 4.x with Tomcat, Eclipse and Sysdeo's Tomcat plugin for years. I've always wondered what the fuss is about live class r

Re: New JIRA: Tapestry does not pick pages, components and templates after application startup

2008-10-29 Thread Kalle Korhonen
On Wed, Oct 29, 2008 at 3:32 PM, Thiago H. de Paula Figueiredo < [EMAIL PROTECTED]> wrote: > Just to provide a differing viewpoint: I've had live class reloading >> already in Tapestry 4.x with Tomcat, Eclipse and Sysdeo's Tomcat plugin for >> years. I've always wondered what the fuss is about liv

Re: Problems with 4.1.6 ExternalPages and back/forward button

2008-10-29 Thread Norman Franke
There is a "preventBackButtonFix" attribute of shell that may help. Norman Franke Answering Service for Directors, Inc. www.myasd.com On Oct 29, 2008, at 5:19 PM, Jon Williams wrote: Tapestry Version 4.1.6 Release I have Shell.disableCaching = true When I back & forward button in my browser t

Re: T5 force_relative_uris?

2008-10-29 Thread Toby Hobson
Yeah I tried that but the problem is that it's still generating urls that dont contain the hostname i.e. assuming I have mapped my app to the root context a pagelink renders as: move to test page Whereas I need it to be in the format or http://www.server.com/test";> Toby 2008/10/29 Thiago H. d

Re: New JIRA: Tapestry does not pick pages, components and templates after application startup

2008-10-29 Thread Martin Strand
On Wed, 29 Oct 2008 22:42:50 +0100, Kalle Korhonen <[EMAIL PROTECTED]> wrote: On Wed, Oct 29, 2008 at 3:32 PM, Thiago H. de Paula Figueiredo < [EMAIL PROTECTED]> wrote: Just to provide a differing viewpoint: I've had live class reloading already in Tapestry 4.x with Tomcat, Eclipse and Sysde

Re: New JIRA: Tapestry does not pick pages, components and templates after application startup

2008-10-29 Thread Howard Lewis Ship
In Tapestry, for component classes, you can make any change you want. On Wed, Oct 29, 2008 at 2:52 PM, Martin Strand <[EMAIL PROTECTED]> wrote: > On Wed, 29 Oct 2008 22:42:50 +0100, Kalle Korhonen > <[EMAIL PROTECTED]> wrote: > >> On Wed, Oct 29, 2008 at 3:32 PM, Thiago H. de Paula Figueiredo < >>

RE: Problems with 4.1.6 ExternalPages and back/forward button

2008-10-29 Thread Jon Williams
No luck with the "preventBackButtonFix=true". Same problems/symptoms. Thanks for the suggestion any how. -Original Message- From: Norman Franke [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2008 2:44 PM To: Tapestry users Subject: Re: Problems with 4.1.6 ExternalPages and back/for

T5: Multiple handlers for one event - calling order

2008-10-29 Thread shymon
In comments to http://tapestryjava.blogspot.com/2007/08/handling-direct-urls-in-tapestry-5.html Lewis has written that: > When a single method is overloaded with different parameters, the order of > invocation is fewest parameters to most parameters. > So onActivate() will be invoked before onA

Re: T5: Multiple handlers for one event - calling order

2008-10-29 Thread Thiago H. de Paula Figueiredo
Em Wed, 29 Oct 2008 22:27:15 -0300, shymon <[EMAIL PROTECTED]> escreveu: In comments to http://tapestryjava.blogspot.com/2007/08/handling-direct-urls-in-tapestry-5.html Lewis has written that: But I have noticed calling order is exactly opposite: onActivate(String, String) is called before onA

Re: T5: Multiple handlers for one event - calling order

2008-10-29 Thread shymon
hmmm, what to say... thanks :) -- View this message in context: http://www.nabble.com/T5%3A-Multiple-handlers-for-one-event---calling-order-tp20239292p20239594.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: T5: Multiple handlers for one event - calling order

2008-10-29 Thread Thiago H. de Paula Figueiredo
Em Wed, 29 Oct 2008 22:55:03 -0300, shymon <[EMAIL PROTECTED]> escreveu: hmmm, what to say... thanks :) You're welcome! When your page class ends up having more than one onActivate method, most of the time it is a better idea to have a single onActivate(EventContext e). Take a look at

Re: T5 - new clien side validator, again

2008-10-29 Thread dhning
http://wiki.apache.org/tapestry/Tapestry5HowToAddValidators The js code segment is outdated, please refer to latest tapestry.js. Thanks! DH - Original Message - From: "Mohammad Shamsi" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Saturday, October 25, 2008 2:23 AM Subject: Re: T5 -