[T5.2.6] / [T5.3] Possible (minor) bug in ImportWorker

2011-10-10 Thread Steve Eynon
I might have this all wrong but thought it's worth a mention... When org.apache.tapestry5.internal.transform.ImportWorker adds stack advice to the setupRender() method, it calls invocation.proceed() multiple times, once per added stack: line 119: private MethodAdvice createImportStackAdvice(fina

Re: ApplicationDefaults depends on itself

2011-10-10 Thread Steve Eynon
Maybe the intended purpose of the method would be clearer if it was renamed to contributeSymbolDefaults() rather than contributeApplicationDefaults() ??? Just a thought. (Or maybe I'm not clear on what it's there for!) Steve. On 11 October 2011 05:05, Martin Strand wrote: > On Mon,

Re: running eclipse in production

2011-10-10 Thread Yohan Yudanara
Sorry, but the words "*turns off*" below should be "*turns on*", right? Development mode will turn on live class reloading, right? CMIIW... On Tue, Oct 11, 2011 at 2:25 AM, Howard Lewis Ship wrote: > That would be a very silly idea, and not necessary. If you deploy an > exploded WAR (with appli

Re: Accessing Registered Services - Tap 5.3-beta-16

2011-10-10 Thread Thiago H. de Paula Figueiredo
On Mon, 10 Oct 2011 18:51:36 -0300, Tony Nelson wrote: In this scenario, are you in a web app or not? I am in a web app, however, I have a service that I need to start as a runnable. The services is registered with bind, and started with @Startup in AppModule. You can inject ObjectLo

Re: running eclipse in production

2011-10-10 Thread Chris Mylonas
Also in your container you can set it up for debugging - i.e. attach to port number X, for debugging with eclipse. If that's what your intention was as well. On 11/10/2011, at 6:25 AM, Howard Lewis Ship wrote: > That would be a very silly idea, and not necessary. If you deploy an > exploded WAR

Re: Accessing Registered Services - Tap 5.3-beta-16

2011-10-10 Thread Tony Nelson
On Oct 10, 2011, at 5:34 PM, Thiago H. de Paula Figueiredo wrote: > On Mon, 10 Oct 2011 18:14:01 -0300, Tony Nelson wrote: > >> >> On Oct 10, 2011, at 4:58 PM, Thiago H. de Paula Figueiredo wrote: >> >>> On Mon, 10 Oct 2011 17:18:59 -0300, Tony Nelson >>> wrote: >>> How is it possible

Re: Accessing Registered Services - Tap 5.3-beta-16

2011-10-10 Thread Thiago H. de Paula Figueiredo
On Mon, 10 Oct 2011 18:14:01 -0300, Tony Nelson wrote: On Oct 10, 2011, at 4:58 PM, Thiago H. de Paula Figueiredo wrote: On Mon, 10 Oct 2011 17:18:59 -0300, Tony Nelson wrote: How is it possible to access a service registered in AppModule#bind from an object created outside of Tapest

Re: ApplicationDefaults depends on itself

2011-10-10 Thread Martin Strand
On Mon, 10 Oct 2011 22:15:26 +0200, Greg Pagendam-Turner wrote: Hi, I'm trying to pull some of my config out of AppModule into config files. The config files are loaded via contributeSymbolSource. Some of these symbols are referred to in ApplicationDefaults. For some reason IOC thinks the

Re: ApplicationDefaults depends on itself

2011-10-10 Thread Thiago H. de Paula Figueiredo
On Mon, 10 Oct 2011 17:15:26 -0300, Greg Pagendam-Turner wrote: Hi, Hi! I'm trying to pull some of my config out of AppModule into config files. The config files are loaded via contributeSymbolSource. Some of these symbols are referred to in ApplicationDefaults. For some reason IOC t

Re: Compiled CSS

2011-10-10 Thread Cezary Biernacki
Hi, I like that proposition. Is it possible to change ResourceTransformer and include ResourceDependencies in Tapestry 5.3.* ? Best regards, Cezary On Sat, Oct 8, 2011 at 12:35 AM, Howard Lewis Ship wrote: > True; so we need the Resource passed in, but also another object to > collect additio

Accessing Registered Services - Tap 5.3-beta-16

2011-10-10 Thread Tony Nelson
How is it possible to access a service registered in AppModule#bind from an object created outside of Tapestry's control? Specifically, I have a number of services created in AppModule. One of these services creates new instances of objects via reflection to solve a specific business problem.

Re: running eclipse in production

2011-10-10 Thread Howard Lewis Ship
That would be a very silly idea, and not necessary. If you deploy an exploded WAR (with application class files and resources on the file system, not inside a WAR file) you can get hot swapping (but you'll need to run in development mode in 5.3, which turns off live class reloading in production).

Re: running eclipse in production

2011-10-10 Thread Dmitry Gusev
Eclipse is not a web container, so you're not running Tapestry in Eclipse anyway. On Mon, Oct 10, 2011 at 22:42, Bryan Lewis wrote: > This might be a silly idea, but I'll ask it anyway... Would it be bad to > run a Tapestry application inside Eclipse on a production server? The > objective wou

running eclipse in production

2011-10-10 Thread Bryan Lewis
This might be a silly idea, but I'll ask it anyway... Would it be bad to run a Tapestry application inside Eclipse on a production server? The objective would be to have full hot-swapping, as I have in my local development workspace, but maybe it would be bad for memory consumption or stability.

Re: [T5.3] Tree component

2011-10-10 Thread Thiago H. de Paula Figueiredo
On Mon, 10 Oct 2011 03:47:32 -0300, ngocquy_ytc wrote: Hi All, Hi! I try to build the tree component in T 5.3.0! it render successful! I use : @OnEvent(component="myTree", value=EventConstants.NODE_SELECTED) and @OnEvent(component="myTree", value=EventConstants.NODE_UNSELECTED) P

Re: Tapestry JPA question

2011-10-10 Thread Christine
On 10/09/2011 10:14 PM, Lenny Primak wrote: 5.3.0 is very old. Your problem may be that you need the later beta... tapestry-repo https://repository.apache.org/content/groups/staging and use beta-18 or later. Thanks. I now use beta-18 from the staging repo

[T5.3] Tree component

2011-10-10 Thread ngocquy_ytc
Hi All, I try to build the tree component in T 5.3.0! it render successful! I use : @OnEvent(component="myTree", value=EventConstants.NODE_SELECTED) and @OnEvent(component="myTree", value=EventConstants.NODE_UNSELECTED) But I can't cacth action from tree. Anybody help me! Thanks! -- View

Grid sorting - lowercase,uppercase

2011-10-10 Thread darkslide
Hi, could you please help me with sorting of lowercase and uppercase for Grid? Please see example: I have output grid as below: Name Description A ALPHA B beta C GAMA When I click on Description label and sort it descending then row number two will be as first : Name Descrip

Re: T5.1.0.5 problem with a grid

2011-10-10 Thread upgrading
Hi Thiago, Thx you for your piece of advices, it is working ;-) Regards, -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-1-0-5-problem-with-a-grid-tp4885091p4888206.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: T5.1.0.5 problem with a grid

2011-10-10 Thread Thiago H. de Paula Figueiredo
On Sun, 09 Oct 2011 09:54:13 -0300, upgrading wrote: Hi Hi! java.lang.NullPointerException org.apache.tapestry5.corelib.components.Grid$DefaultGridSortModel.getSortConstraints(Grid.java:346) org.apache.tapestry5.corelib.components.Grid.setupDataSource(Grid.java:463) @SetupRender voi

Re: User registration component with captcha for tapestry 5.3?

2011-10-10 Thread Muhammad Gelbana
I wouldn't use an existing module for that. It's easier to do it your self than searching for a module. Take care, you might get used to laziness sponsored by tapestry's awesomeness hehehe :D On Fri, Sep 30, 2011 at 8:46 PM, TG wrote: > Hi, > > If I sounded like to greedy, please let me know :)