Application (build with T5.3.2/T5.4-alpha-24) working on Eclipse Helios but not on Eclipse Juno/Kepler

2013-11-11 Thread Anil Agnihotri
Hello All, I have a working application (Tapestry 5.3.2 + Hibernate + MySQL) Dev’ed with Eclipse Helios (with Maven, Jetty, Hibernate installation). Let alone my application, if I even try to run “First Tapestry Project” mentioned at http://tapestry.apache.org/getting-started.html (with Tapestry

Re: Best way to implement continuously background jobs

2013-11-11 Thread Ilya Obshadko
This is it, thanks! On Tue, Nov 12, 2013 at 11:25 AM, Dmitry Gusev wrote: > > http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/ReloadAware.html > > > On Tue, Nov 12, 2013 at 4:16 AM, Ilya Obshadko >wrote: > > > I have implemented ParallelExecutor for background mail sending.

Re: Best way to implement continuously background jobs

2013-11-11 Thread Dmitry Gusev
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/ReloadAware.html On Tue, Nov 12, 2013 at 4:16 AM, Ilya Obshadko wrote: > I have implemented ParallelExecutor for background mail sending. > > However, there is a problem with live class reloading, because I have to > stop the ol

Re: Apache Tapestry 5.4-alpha-25 preview release

2013-11-11 Thread Howard Lewis Ship
On Mon, Nov 11, 2013 at 2:55 PM, Dimitris Zenios wrote: > Hello everyone. > > It looks that something changed between alpha 23 and alpha 25 regarding > stacks and modules.If i add a module to a stack and then import this stack > in a page,the module will not be executed? > > I have to call require

Re: Best way to implement continuously background jobs

2013-11-11 Thread Ilya Obshadko
I have implemented ParallelExecutor for background mail sending. However, there is a problem with live class reloading, because I have to stop the old instance of ParallelExecutor and start the new one. How do I hook to class reload event? finalize() doesn't seem to work. On Wed, Jun 19, 2013 at

Re: Tapestry 5.4 and JQuery integration

2013-11-11 Thread Boris Horvat
No but there is a snapshot version that is being developed for the T5.4. By JQueryModule configuration I was referring that that is the place where the symbol for tapestry is probably set. Interesting is that now since the new alpha has been pushed my error has changed. Previously if I where to re

Re: Apache Tapestry 5.4-alpha-25 preview release

2013-11-11 Thread Dimitris Zenios
Hello everyone. It looks that something changed between alpha 23 and alpha 25 regarding stacks and modules.If i add a module to a stack and then import this stack in a page,the module will not be executed? I have to call require on the module seperately? Is that correct? If yes what happens to a

Apache Tapestry 5.4-alpha-25 preview release

2013-11-11 Thread Howard Lewis Ship
This updates a number of bundled dependencies: - Bootstrap 3.0.2 - RequireJS 2.1.9 - Less4J 1.2.0 - Closure Compiler v20131014 It also fixes a bug that prevent JavaScript stacks from being minimized. There's also been a little bit of juggling to make Underscore a library within the core JavaScript

Re: [T5.4] - stack js not minified

2013-11-11 Thread Howard Lewis Ship
My mistake; I mistook weird end-of-line handling for minification. I'll look into this. On Mon, Nov 11, 2013 at 10:38 AM, Howard Lewis Ship wrote: > Works for me! I turned off JS aggregation and minification in a client app > and it works exactly as expected. > > You probably don't have the tape

Re: [T5.4] - stack js not minified

2013-11-11 Thread Howard Lewis Ship
Works for me! I turned off JS aggregation and minification in a client app and it works exactly as expected. You probably don't have the tapestry-webresources module in your classpath; tapestry-core defines the API, but the implementation is in tapestry-webresources. On Mon, Nov 11, 2013 at 9:08

Re: Tapestry 5.4 and JQuery integration

2013-11-11 Thread Thiago H de Paula Figueiredo
On Mon, 11 Nov 2013 14:54:31 -0200, Boris Horvat wrote: Hi, Hi! Yea I have already tried to add that before. However I got the following exception java.lang.IllegalArgumentException: Service contribution (to service 'ApplicationDefaults') conflicts with existing contribution (by org.got

Re: Tapestry 5.4 and JQuery integration

2013-11-11 Thread Thiago H de Paula Figueiredo
On Mon, 11 Nov 2013 14:54:31 -0200, Boris Horvat wrote: Hi, Hi! Yea I have already tried to add that before. However I got the following exception java.lang.IllegalArgumentException: Service contribution (to service 'ApplicationDefaults') conflicts with existing contribution (by org.got5

Re: [T5.4] - stack js not minified

2013-11-11 Thread Howard Lewis Ship
That sounds like an oversight, and I'm a bit surprised! On Sun, Nov 10, 2013 at 6:55 AM, Bård Magnus Kvalheim wrote: > Hi guys. > > Just noised that stack js in not minified in 5.4. > Tried on 5.4.22 and 5.4.24 and seems to be missing on both. > > I'm in production mode and have also set > combi

Re: Tapestry 5.4 and JQuery integration

2013-11-11 Thread Boris Horvat
Hi, Yea I have already tried to add that before. However I got the following exception java.lang.IllegalArgumentException: Service contribution (to service 'ApplicationDefaults') conflicts with existing contribution (by org.got5.tapestry5.jquery.services.JQueryModule.contributeApplicationDefault(

Re: Tapestry 5.4 and JQuery integration

2013-11-11 Thread Boris Horvat
I guess it is possible that I have some more transitive dependencies from the old tapestry5-jquery or even old tapestr 5.3.7 :( On Mon, Nov 11, 2013 at 5:54 PM, Boris Horvat wrote: > Hi, > > Yea I have already tried to add that before. However I got the following > exception > > java.lang.Illega

Re: Tapestry 5.4 and JQuery integration

2013-11-11 Thread Thiago H de Paula Figueiredo
If you just want to use Tapestry 5.4 with jQuery insteadd of Prototype, just add this to your AppModule: public static void contributeApplicationDefaults(MappedConfiguration configuration) { configuration.add(SymbolConstants.JAVASCRIPT_INFRASTRUCTURE_PROVIDER, "jquery"); } You don't

Tapestry 5.4 and JQuery integration

2013-11-11 Thread Boris Horvat
(this is part of he different thread but since the title is no misleading I am posting here) I am using tapestry 5.4 and tapestry5-jquery 4.0.0 to try to see how will my site behave. While I managed to run everything, the page displays javascript erros Loading 1 libraries console.js:44

Re: Tapestry Hibernate

2013-11-11 Thread Boris Horvat
Removed a few transitive dependencies and got it to work. YEY :) Now I need to figure out why my jquery wont work out of the box (probably conflict) TypeError: Property '$' of object [object Object] is not a function On Mon, Nov 11, 2013 at 12:26 PM, Boris Horvat wrote: > When jetty runs this

Re: Tapestry Hibernate

2013-11-11 Thread Boris Horvat
When jetty runs this is the output Configuring Jetty for project: flow blackbox webAppSourceDirectory not set. Defaulting to C:\Users\borish\Documents\NetBeansProjects\flow\src\main\webapp Reload Mechanic: automatic Classes = C:\Users\borish\Documents\NetBeansProjects\flow\target\classes Context p

Tapestry Hibernate

2013-11-11 Thread Boris Horvat
Hi everyone, I am trying to run a 5.4 on my application. I have modified my pom to use tapestry-hibernate 5.4-alpha-3-SNAPSHOT, as well as tapestry5-jquery 4.0.0-SNAPSHOT (this version is development for the 5.4). After fixing a problem with ioc conflicts coming from tapestry-security I run the

Re: Render a string but replace tokens with a component render

2013-11-11 Thread Thiago H de Paula Figueiredo
On Sun, 10 Nov 2013 08:42:58 -0200, Ben Titmarsh wrote: I operate a kind of forum and I'd like to give me users to ability to specify something like this when tying up a post: [CARD]Gamble[/CARD] The text will be saved in this format in the DB. When it comes time to render it, I would l