Re: Tapestry 5.4-beta-6 No service implements the interface org.slf4j.Logger.

2016-06-15 Thread Ilya Obshadko
Just bumped into the same problem in TynamoJpaModule: @Startup public static void addJpaEventListener(@Autobuild ElasticSearchIndexMaintainer indexMaintainer) { indexMaintainer.start(); } Fails in exactly the same way, with "No service implements the interface org.slf4j.Logger" error message.

Re: Tapestry 5.4

2016-03-02 Thread françois facon
Hi ! I never tried to deploy an Tapestry App to GoogleApp. So I tried a gradle appRun and i get FAILURE: Build failed with an exception. * Where: Build file 'tapinapp/build.gradle' line: 3 * What went wrong: A problem occurred evaluating root project 'tapinapp'. > org/codehaus/groovy/runtime/t

Re: Tapestry 5.4

2016-03-01 Thread Gunnar Eketrapp
The minimal test project is now on GitHub with super easy instructions how to test (If you have git + gradle in you environment) Please se https://github.com/oakstair/tapinapp 2016-03-01 10:02 GMT+01:00 Gunnar Eketrapp : > > > > Hi! > > > I have been away from WEB development and Tapestry

Re: Tapestry 5.4 datefield on value changed

2015-07-08 Thread abangkis
Okay. Thanks a lot Thiago. On Wed, Jul 8, 2015 at 4:37 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 07 Jul 2015 15:26:57 -0300, abangkis wrote: > > Hi guys, what is the easiest way to detect value changed on datefield? I >> was expecting something like the select comp

Re: Tapestry 5.4 datefield on value changed

2015-07-08 Thread Lance Java
See the observe mixin here http://t5stitch-lazan.rhcloud.com/observedemo

Re: Tapestry 5.4 datefield on value changed

2015-07-07 Thread Thiago H de Paula Figueiredo
On Tue, 07 Jul 2015 15:26:57 -0300, abangkis wrote: Hi guys, what is the easiest way to detect value changed on datefield? I was expecting something like the select component where i can create void onValueChangedFromDate() { } to listen to the event. But it seems the datefield didn't trigger

Re: Tapestry 5.4 bytecode manipulation

2015-04-17 Thread Thiago H de Paula Figueiredo
On Fri, 17 Apr 2015 04:54:33 -0300, Lance Java wrote: In theory, that's possible. Tapestry doesn't reference ASM classes, it's only dependency is plastic. So in theory you could have a layer in plastic to choose ASM or javassist as the "provider" (or another byte code library). Yeah, I

Re: Tapestry 5.4 bytecode manipulation

2015-04-17 Thread Lance Java
On second thought... Why would you want to swap out the the bytecode provider? With clientside javascript it makes sense to choose the provider since you will be directly using jquery or prototype in your own code. Having a single provider reduces the scripts downloaded by the client. But with pl

Re: Tapestry 5.4 bytecode manipulation

2015-04-17 Thread Lance Java
In theory, that's possible. Tapestry doesn't reference ASM classes, it's only dependency is plastic. So in theory you could have a layer in plastic to choose ASM or javassist as the "provider" (or another byte code library). I'd doubt that this is high priority for the tapestry team. I seem to rec

Re: Tapestry 5.4 JavaScript support .... support request

2015-02-24 Thread Lance Java
You might be interested in the griddecorator mixin from tapestry-stitch See the example here which adds a context sensitive alert to the "onclick" of every row https://t5stitch-lazan.rhcloud.com/griddecoratordemo On 23 Feb 2015 18:39, "Poggenpohl, Daniel" < daniel.poggenp...@isst.fraunhofer.de> w

Re: Tapestry 5.4 JavaScript support .... support request

2015-02-23 Thread Geoff Callender
ot; you'll see the answer. > Regards, > Daniel P. > > Von: Geoff Callender [geoff.callender.jumpst...@gmail.com] > Gesendet: Montag, 23. Februar 2015 22:13 > An: Tapestry users > Betreff: Re: Tapestry 5.4 JavaScript support sup

Re: Tapestry 5.4 JavaScript support .... support request

2015-02-23 Thread Geoff Callender
On 24 Feb 2015, at 5:38 am, Poggenpohl, Daniel wrote: > Hello everyone, > > I'm trying to add some functionality to a grid: > > Every grid row should be an area where you can click to go to the details > page of the row object. > > But enough of that, even a simple javascript like alert on

Re: Tapestry 5.4 JavaScript support .... support request

2015-02-23 Thread Thiago H de Paula Figueiredo
On Mon, 23 Feb 2015 15:38:30 -0300, Poggenpohl, Daniel wrote: Hello everyone, I'm trying to add some functionality to a grid: Every grid row should be an area where you can click to go to the details page of the row object. But enough of that, even a simple javascript like alert on clic

Re: Tapestry 5.4 JavaScript support .... support request

2015-02-23 Thread George Christman
On Mon, Feb 23, 2015 at 1:38 PM, Poggenpohl, Daniel < daniel.poggenp...@isst.fraunhofer.de> wrote: > Hello everyone, > > I'm trying to add some functionality to a grid: > > Every grid row should be an area where you can click to go to the details > page of the row object. > > But enough of that, e

Re: Tapestry 5.4 Beta 22: Supposed directory structure for modules used by requirejs

2015-02-05 Thread samt & sonders
Thanks Geoff and Chris for your quick response. Much appreciated! In fact I referenced it like this: javaScriptSupport.require("login") because I thought the module name is a reference to the folder. javaScriptSupport.require("login/login") works fine. Thank you so much! Andreas Geoff Callen

Re: Tapestry 5.4 Beta 22: Supposed directory structure for modules used by requirejs

2015-02-05 Thread Geoff Callender
Or, as I prefer these days because in this style you can easily modify it to add parameters or invoke particular functions: void afterRender() { javaScriptSupport.require("login/login"); } Geoff On 5 Feb 2015, at 8:01 pm, Chris Poulsen wrote: > Modules should e

Re: Tapestry 5.4 Beta 22: Supposed directory structure for modules used by requirejs

2015-02-05 Thread Chris Poulsen
Modules should end up in: /META-INF/modules (classpath in your case being WEB-INF/classes ) You haven't shared anything about how you attempt to reference the files so its hard to help you. To include the module in: WEB-INF/classes/META-INF/modules/login/login.js You could do @Import( module =

Re: Tapestry 5.4-beta-26

2015-01-19 Thread Thiago H de Paula Figueiredo
On Mon, 19 Jan 2015 17:23:36 -0200, Howard Lewis Ship wrote: - Split more code out into smaller modules, to encourage reuse (even outside of a Tapestry web application) Specifically, two new subprojects/JARs were created: BeanModel (everything you need to use BeanModel without any dep

Re: tapestry 5.4 and jquery datepicker

2014-11-17 Thread Jan Fryblik
OMG, I'm so blind! Sorry for stupid question! You are right, of course. Thanks! On Mon, 17 Nov 2014 19:14:30 +0100, Thiago H de Paula Figueiredo wrote: On Mon, 17 Nov 2014 15:56:23 -0200, Jan Fryblik wrote: Hi guys, Hi! I'm migration my project from tapestry 5.3.7 to 5.4-bet

Re: tapestry 5.4 and jquery datepicker

2014-11-17 Thread Thiago H de Paula Figueiredo
On Mon, 17 Nov 2014 15:56:23 -0200, Jan Fryblik wrote: Hi guys, Hi! I'm migration my project from tapestry 5.3.7 to 5.4-beta22 and I'm facing another tough error. There is tapestry-jquery >4.0.1-SNAPSHOT included in project and there is no usage of datepicker in page where is excepti

Re: tapestry-5.4 way of url -> page that is not page class name

2014-10-07 Thread Chris Mylonas
I'll check out both in any event. Yes, it's crazy! :p It shouldn't be hard to make it work in your environment. Fixed. open another terminal and run `mvn clean package` reload page, viola. took me a 2nd go at live class reloading troubleshooting - "build automatically in your ide" sor

Re: tapestry-5.4 way of url -> page that is not page class name

2014-10-07 Thread Thiago H de Paula Figueiredo
On Tue, 07 Oct 2014 11:48:55 -0300, Chris Mylonas wrote: You had to put an extreme case of URL rewriting as an example for v2! Subdomains and tag mappings!!! /s v2 is actually exactly the same as v1, but without the outgoing (generated) URL rewriting, as LinkTransformer is better as it.

Re: tapestry-5.4 way of url -> page that is not page class name

2014-10-07 Thread Chris Mylonas
My personal opinion is that the old URL Rewriter API is easier to use for incoming URLs (requested ones), while LinkTransformer is better for outgoing ones (generated by Tapestry). c) ComponentEventLinkEncoder - [2], description sounds good, impl looks followable LinkTransformer works

Re: tapestry-5.4 way of url -> page that is not page class name

2014-10-07 Thread Thiago H de Paula Figueiredo
On Tue, 07 Oct 2014 08:53:17 -0300, Chris Mylonas wrote: hi tapestry users, Hi Questions/observations/notes/feedback-or-guidance a) LinkTransformer - looks like PageRenderLinkTransformer would be an easier thing to implement b) URLRewrite v2 from thiago - there a naming convention inv

Re: tapestry-5.4 way of url -> page that is not page class name

2014-10-07 Thread Chris Mylonas
Yeah very good point, I've not been a fan of naming conventions since first looking at tapestry and @Annotations were new to me when I first touched deving again - handy "new" thing in java indeed :) I'm on a deadline for this Friday so it'll have to be put into the scratch-the-itch bag unt

Re: tapestry-5.4 way of url -> page that is not page class name

2014-10-07 Thread Lance Java
I'd probably use an explicit @ProvidesMenu annotation rather then naming convention magic. Much nicer for the next poor developer who has to maintain the code :) On 7 Oct 2014 12:53, "Chris Mylonas" wrote: > hi tapestry users, > > whatever responses i get i'll tack onto here [1] > > i have a page

Re: Tapestry 5.4 Ajax Event Handling

2014-08-08 Thread peter . skala
homework done > On Wed, 06 Aug 2014 10:38:40 -0300, wrote: > >> Hi Thiago, > > Hi! > >> thanks for the useful link. >> Many thanks also for the hint - I don't event have to monkey path the >> t5-dom module, as the "on" method in this module is public. It is enough >> to call it with the "selector

Re: Tapestry 5.4 Ajax Event Handling

2014-08-06 Thread peter . skala
I am using prototype. What kind of problem is it? > Are you running with jQuery or Prototype? I just found a Zone event > problem > today and when I switched to jQuery it went away. > > > On Wed, Aug 6, 2014 at 12:49 PM, Thiago H de Paula Figueiredo < > thiag...@gmail.com> wrote: > >> On Wed, 06 A

Re: Tapestry 5.4 Ajax Event Handling

2014-08-06 Thread Barry Books
Are you running with jQuery or Prototype? I just found a Zone event problem today and when I switched to jQuery it went away. On Wed, Aug 6, 2014 at 12:49 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 06 Aug 2014 12:22:24 -0300, wrote: > > I shall do it as soon as pos

Re: Tapestry 5.4 Ajax Event Handling

2014-08-06 Thread Thiago H de Paula Figueiredo
On Wed, 06 Aug 2014 12:22:24 -0300, wrote: I shall do it as soon as possible Thanks in advance. :) Posting bugs is a contribution to the project. ;) thanks for your experience. I will try to do some systematical measurements of the response times on the front end and back end separately soo

Re: Tapestry 5.4 Ajax Event Handling

2014-08-06 Thread peter . skala
> >> Hi Thiago, > > Hi! > >> thanks for the useful link. >> Many thanks also for the hint - I don't event have to monkey path the >> t5-dom module, as the "on" method in this module is public. It is enough >> to call it with the "selector" as the first parameter instead of >> document. > > Nice! >

Re: Tapestry 5.4 Ajax Event Handling

2014-08-06 Thread Thiago H de Paula Figueiredo
On Wed, 06 Aug 2014 10:38:40 -0300, wrote: Hi Thiago, Hi! thanks for the useful link. Many thanks also for the hint - I don't event have to monkey path the t5-dom module, as the "on" method in this module is public. It is enough to call it with the "selector" as the first parameter instead

Re: Tapestry 5.4 Ajax Event Handling

2014-08-06 Thread peter . skala
Hi Thiago, thanks for the useful link. Many thanks also for the hint - I don't event have to monkey path the t5-dom module, as the "on" method in this module is public. It is enough to call it with the "selector" as the first parameter instead of document. I haven't filled Jira yet. This is a new

Re: Tapestry 5.4 Ajax Event Handling

2014-08-06 Thread Thiago H de Paula Figueiredo
On Wed, 06 Aug 2014 06:56:30 -0300, wrote: Hi everybody, Hi! I am preparing the migration of two tapestry projects from 5.3.7 to 5.4. A strong motivation for this is the fact, that die client (java script) interface is much clearer and easier to handle and to extend in Tapestry 5.4. (Gr

Re: Tapestry 5.4-beta-6 No service implements the interface org.slf4j.Logger.

2014-07-03 Thread Manuel Sugawara
On Wed, Jul 2, 2014 at 8:36 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 02 Jul 2014 21:29:03 -0300, Manuel Sugawara < > manuel.sugaw...@gmail.com> wrote: > > Hi, >> > > Hello, Manuel! > > > I'm trying to play a little bit with 5.4-beta-6 but our application that >> ru

Re: Tapestry 5.4-beta-6 No service implements the interface org.slf4j.Logger.

2014-07-03 Thread Lance Java
I'm guessing you're trying to @Inject a logger into a service. >From memory, I *think* that loggers can only be @Inject'ed into pages and components. Components have additional behaviour availble to @Inject that services do not. See InjectWorker/InjectProvider On 3 July 2014 01:29, Manuel Sugawar

Re: Tapestry 5.4-beta-6 No service implements the interface org.slf4j.Logger.

2014-07-02 Thread Barry Books
do you have this in your pom file org.slf4j slf4j-log4j12 1.7.2 On Wed, Jul 2, 2014 at 8:36 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 02 Jul 2014 21:29:03 -0300, Manuel Sugawara < > manuel.sugaw...@gmail.com> wrote: > > Hi, >> > > Hello, Manuel!

Re: Tapestry 5.4-beta-6 No service implements the interface org.slf4j.Logger.

2014-07-02 Thread Thiago H de Paula Figueiredo
On Wed, 02 Jul 2014 21:29:03 -0300, Manuel Sugawara wrote: Hi, Hello, Manuel! I'm trying to play a little bit with 5.4-beta-6 but our application that runs on tapestry 5.3.7 isn't starting, the error is: org.apache.tapestry5.ioc.internal.OperationException: No service implements the in

Re: Tapestry 5.4 Select: Can't stop tapestry generating it's own clientId

2014-05-21 Thread Lance Java
I was forced to add data- attributes to the fields and use jquery selectors by the data attributes instead of by id. I can only assume these selectors perform poorly compared with id selectors. Having no way to set the id on a field is a pretty epic fail to me. I feel this should be fixed before 5

Re: Tapestry 5.4 Select: Can't stop tapestry generating it's own clientId

2014-05-21 Thread Thiago H de Paula Figueiredo
On Wed, 21 May 2014 15:17:42 -0300, George Christman wrote: Lance, I think I'm encountering a similar issue with the textfields. I have a textfield nested in a ajaxformloop. The code that generates the client ids for almost all Tapestry-provided form field components is the same, located

Re: Tapestry 5.4 Select: Can't stop tapestry generating it's own clientId

2014-05-21 Thread George Christman
Lance, I think I'm encountering a similar issue with the textfields. I have a textfield nested in a ajaxformloop. When I create a new row the textfield gets the initial id of activityCode_a91bfdca926f. This is a required field, so when I leave it blank and try to save the form I get the serverside

Re: Tapestry 5.4 Select: Can't stop tapestry generating it's own clientId

2014-05-16 Thread Lance Java
https://issues.apache.org/jira/browse/TAP5-2331

Re: Tapestry 5.4 Select: Can't stop tapestry generating it's own clientId

2014-05-13 Thread Thiago H de Paula Figueiredo
On Mon, 12 May 2014 15:00:34 -0300, Lance Java wrote: Note: Under the hood, AbstractField is calling allocatedClientId = javaScriptSupport.allocateClientId(clientId); Yeah, this doesn't match the corresponding behavior in Zone, which uses the clientId as is if provided: clientId = resourc

Re: Tapestry 5.4 Dojo as the Infrastructure Provider

2014-02-15 Thread Chris Mylonas
Impressive! I am currently a simple and irregular t5 app maker, sadly with more php foo than js. However, t5.4 and addons like this will turn me into a js and json loving fiend. Thanks for hacking at it :) On 15/02/2014 11:55 pm, "Azudio Developer" wrote: > I'm making some more progress on a D

Re: Tapestry 5.4 Dojo as the Infrastructure Provider

2014-02-15 Thread Azudio Developer
I’m making some more progress on a Dojo implementation and have DOM manipulation, Events & Zones working. I’ve had to replace events.js with an implementation with event names without colons. https://github.com/adamhenderson/tapestry-dojo On 8 Feb 2014, at 16:55, Thiago H de Paula Figueired

Re: Tapestry 5.4 and Hibernate version

2014-02-14 Thread Balázs Palcsó
I forgot to add that I use tapestry-jpa, not tapestry-hibernate, so it might work with hibernate 4.3.x On 14 February 2014 23:17, Balázs Palcsó wrote: > I use it with hibernate 4.2.8.Final. > I have found 4.3.x to be incompatible. > > > On 14 February 2014 21:12, George Christman wrote: > >> Ta

Re: Tapestry 5.4 and Hibernate version

2014-02-14 Thread Balázs Palcsó
I use it with hibernate 4.2.8.Final. I have found 4.3.x to be incompatible. On 14 February 2014 21:12, George Christman wrote: > Tapestry-Hibernate 5.4-beta-2 uses hibernate-core 4.1.2 by default. However > if your using mysql and tomcat you'll want to upgrade hibernate-core do to > this bug ht

Re: Tapestry 5.4 and Hibernate version

2014-02-14 Thread George Christman
Tapestry-Hibernate 5.4-beta-2 uses hibernate-core 4.1.2 by default. However if your using mysql and tomcat you'll want to upgrade hibernate-core do to this bug https://forum.hibernate.org/viewtopic.php?p=2454336. I created a JIRA issue requesting hibernate to be upgraded. I'm using a newer version

Re: Tapestry 5.4 Dojo as the Infrastructure Provider

2014-02-08 Thread Thiago H de Paula Figueiredo
On Sat, 08 Feb 2014 08:19:08 -0200, Azudio Developer wrote: I’m currently having trouble getting rid of the require config object that gets written out before the libraries are loaded - can’t seem to override the ModuleManager service. ModuleManager is a service like every other, so you

Re: Tapestry 5.4 Dojo as the Infrastructure Provider

2014-02-08 Thread Adam Henderson
Hi Dimitris, As you know, Tap 5.4 is using RequireJS as the loader and is configured by creating a var require={} object before the require.js file is loaded. As I am using dojo, it uses a similar mechanism but the variable is called ‘dojoConfig’. The ‘require’ object currently being output by

Re: Tapestry 5.4 Dojo as the Infrastructure Provider

2014-02-08 Thread Dimitris Zenios
Why do you want to get rid of the config?You can add/remove/ovveride the current config using javascriptSupport.addModuleConfigurationCallback On Sat, Feb 8, 2014 at 12:19 PM, Azudio Developer wrote: > Thanks Dragan. > > I've started to knock something up at > https://github.com/adamhenderson/t

Re: Tapestry 5.4 Dojo as the Infrastructure Provider

2014-02-08 Thread Azudio Developer
Thanks Dragan. I’ve started to knock something up at https://github.com/adamhenderson/tapestry-dojo which is my first rough stab at getting something working. I’ve basically just created a module that builds a new JavaScriptStack containing references to dojo but keeping underscore & bootstrap

Re: Tapestry 5.4 Dojo as the Infrastructure Provider

2014-01-27 Thread Dragan Sahpaski
If you want to replace jquery than take a look at /tapestry-core/src/main/preprocessed-coffeescript/org/apache/tapestry5/t5-core-dom.coffee [1]. Quoting the part of the doc from the file file "This is the abstraction layer that allows the majority of components to operate without caring whether th

RE: Tapestry 5.4-beta-2 quickstart app

2014-01-26 Thread Бауэр Владимир Валерьевич
- From: Alejandro Scandroli [mailto:alejandroscandr...@gmail.com] Sent: Thursday, January 23, 2014 7:06 PM To: Tapestry users Subject: Re: Tapestry 5.4-beta-2 quickstart app Hey Jon Massimo introduced a couple of changes into the 5.4 archetype, if you want to get the 5.4 version of the

Re: Tapestry 5.4 Dojo as the Infrastructure Provider

2014-01-26 Thread Thiago H de Paula Figueiredo
On Thu, 23 Jan 2014 22:35:04 -0200, Azudio Developer wrote: Hi All, Hi! I know that Tap 5.4 is still (great) work in progress but I would like to see a better explanation of the Classes behind all the JavaScript handling and how it all hangs together. Any classes or interfaces in par

Re: Tapestry 5.4-beta-2 quickstart app

2014-01-23 Thread Alejandro Scandroli
Hey Jon Massimo introduced a couple of changes into the 5.4 archetype, if you want to get the 5.4 version of the quickstart app you can do: $ mvn archetype:generate -DarchetypeCatalog=https://repository.apache.org/content/repositories/staging The Tapestry5 quickstart app is the archetype Nº 2 C

RE: Tapestry 5.4 demo

2014-01-21 Thread nhhockeyplayer nashua
Thiago, I seen on alot of your replies to ask folks to check if the tapestry jar file is corrupt or truncated. What are the characteristics of this criteria ? I look in my repo and see everything looks fine and I can open the jar with winzip and I see all the modules inside from A-Z I am unsu

Re: Tapestry 5.4-beta-2 GoogleClosureCompiler

2014-01-20 Thread Kristian Marinkovic
+1 to that. Btw. I just realized that the ETag value is double quoted (""56633""). Is that on purpose? Am 21.01.2014 02:28 schrieb "Howard Lewis Ship" : > That's an interesting trade-off: bandwidth (gzip better) vs. cost of > unzipping (gzip worse). Good thing Tapestry does a good job of letting

Re: Tapestry 5.4-beta-2 GoogleClosureCompiler

2014-01-20 Thread Howard Lewis Ship
That's an interesting trade-off: bandwidth (gzip better) vs. cost of unzipping (gzip worse). Good thing Tapestry does a good job of letting the client cache the assets! On Sun, Jan 19, 2014 at 1:04 AM, Kristian Marinkovic < kristian.marinko...@gmail.com> wrote: > Thank you for all your responses

Re: Tapestry 5.4 demo

2014-01-20 Thread Thiago H de Paula Figueiredo
On Mon, 20 Jan 2014 16:14:20 -0200, nhhockeyplayer nashua wrote: Thanks alot Thiago... ;) To address your assertions... (and thanks for the help) your assertion == * JAR version mismatch. You're using Tynamo Routing and it may not be compatible with the Tapestry 5.4 version

RE: Tapestry 5.4 demo

2014-01-20 Thread nhhockeyplayer nashua
Thanks alot Thiago... With all the transient dependencies... this is bound to happen lots of the time... especially if your depending on groups of developers developing dozens of projects that your web app relies on. Building an inoperable maven webapp might be a nice white paper for developers

Re: Tapestry 5.4 demo

2014-01-20 Thread Thiago H de Paula Figueiredo
On Sun, 19 Jan 2014 12:23:53 -0200, nhhockeyplayer nashua wrote: Hi Folks, Hi! java.lang.NoSuchMethodError: org.apache.tapestry5.internal.services.RequestSecurityManager.checkPageSecurity(Ljava/lang/String;)Lorg/apache/tapestry5/internal/services/LinkSecurity; at org.tynamo.routing

Re: Tapestry 5.4 demo

2014-01-19 Thread nhhockeyplayer nashua
Hi Folks, Its been almost three months for this thread. http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Tapestry-5-4-demo-td5724463.html I am using tap-5.4-beta-2 And I am receiving this same error this gentleman receives... just trying to run a simple webapp. 2014-01-19 09

Re: Tapestry 5.4-beta-2 GoogleClosureCompiler

2014-01-19 Thread Kristian Marinkovic
Thank you for all your responses and references. What i want to activate is the SIMPLE_OPTIMIZATIONS level that activates whitespace removal and renaming (shortening) of variables and functions. my webapp is getting used more by mobile clients (tablets, phonse) than desktop clients. during testing

Re: Tapestry 5.4-beta-2 GoogleClosureCompiler

2014-01-17 Thread Howard Lewis Ship
That said, in a HTTP 2.0 world, there isn't such an advantage to aggregation, especially with Tapestry's asset URLs (e.g., the encoding of the content hash into the URL). On Fri, Jan 17, 2014 at 11:45 AM, Howard Lewis Ship wrote: > Google Closure is best in a situation where *all* the JavaScript

Re: Tapestry 5.4-beta-2 GoogleClosureCompiler

2014-01-17 Thread Howard Lewis Ship
Google Closure is best in a situation where *all* the JavaScript that will be part of the page is known statically; it goes beyond other minimizers in that, if you follow certain rules, it can perform real optimizations, such as dead-code analysis and function inlining. It can work with a couple o

Re: Tapestry 5.4-beta-2 GoogleClosureCompiler

2014-01-17 Thread Thiago H de Paula Figueiredo
On Fri, 17 Jan 2014 07:12:14 -0200, Massimo Lusetti wrote: BTW as a side note I'm not completely sure all these minimization and concatenation are a good thing. Let's think about this a little bit more. Some resources may help: http://rubyrogues.com/135-rr-http-2-0-with-ilya-grigorik/ Fro

Re: Tapestry 5.4-beta-2 GoogleClosureCompiler

2014-01-17 Thread Massimo Lusetti
On Fri, Jan 17, 2014 at 2:31 AM, Howard Lewis Ship wrote: What are you looking for? Advanced minimization, unfortunately, doesn't > make sense when you are minimizing multiple files (there can always be a > mix of stacks, libraries, and modules). > > BTW as a side note I'm not completely sure al

Re: Tapestry 5.4-beta-2 GoogleClosureCompiler

2014-01-16 Thread Howard Lewis Ship
What are you looking for? Advanced minimization, unfortunately, doesn't make sense when you are minimizing multiple files (there can always be a mix of stacks, libraries, and modules). On Mon, Jan 13, 2014 at 12:29 PM, Kristian Marinkovic < kristian.marinko...@gmail.com> wrote: > Hi all, > > ho

Re: Tapestry 5.4 require.js modules

2014-01-15 Thread Howard Lewis Ship
The outer function is a "hygenic wrapper" created by the CoffeeScript compiler. Occasionally, it places a few things that should be local to the individual file inside the function and before the define(). I haven't checked yet whether the Google Closure compiler is smart enough to unwrap these, wh

Re: Tapestry 5.4 require.js modules

2014-01-15 Thread Daniel Jue
I don't have input on the question of additional scope, but thanks for letting us know that the upgrade went pretty smoothly-- I'm eager to use 5.4 but I can't change right now. On Mon, Jan 13, 2014 at 3:25 PM, Kristian Marinkovic < kristian.marinko...@gmail.com> wrote: > Hi all, > > why are tap

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: 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: 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

Re: Tapestry 5.4 demo

2013-11-04 Thread Thiago H de Paula Figueiredo
On Mon, 04 Nov 2013 16:33:28 -0200, Boris Horvat wrote: Ok I think that then the problem is that since I am using tapestry-hibernate https://repository.apache.org/content/repositories/snapshots/org/apache/tapestry/tapestry-hibernate/ and in there there is no alpha-23, so what should I use

Re: Tapestry 5.4 demo

2013-11-04 Thread Boris Horvat
Ok I think that then the problem is that since I am using tapestry-hibernate https://repository.apache.org/content/repositories/snapshots/org/apache/tapestry/tapestry-hibernate/ and in there there is no alpha-23, so what should I use? On Mon, Nov 4, 2013 at 7:22 PM, Chris Poulsen wrote: > > ht

Re: Tapestry 5.4 demo

2013-11-04 Thread Chris Poulsen
https://repository.apache.org/content/groups/staging/org/apache/tapestry/tapestry-core/? On Mon, Nov 4, 2013 at 7:11 PM, Boris Horvat wrote: > I was unable to find any alpha version in > > > apache-staging > Apache staging > https://repository.apache.

Re: Tapestry 5.4 demo

2013-11-04 Thread Boris Horvat
I was unable to find any alpha version in apache-staging Apache staging https://repository.apache.org/content/groups/staging apache-snapshot Apache snapshot https://repository.apache.org/content/gro

Re: Tapestry 5.4 demo

2013-11-03 Thread Thiago H de Paula Figueiredo
I'll try to give a shot at cloning the repository and getting this to work this week. By the way, I noticed you're trying to use 5.4-SNAPSHOT. Due to some problems the team is already taking care, no snapshots have been uploaded to the repository. In addition, snapshots may not work. I'd tr

Re: Tapestry 5.4 demo

2013-11-03 Thread Boris Horvat
Sadly even after removing all the tapestry5-jquery dependency (there was one transient), and doing a clean build I still have the same problem. I have also tried to create an object of AjaxUploadServletRequestFilter in order to see where does it come from but it simple doesnt exist in my project si

Re: Tapestry 5.4 demo

2013-11-01 Thread Andreas Ernst
Am 01.11.13 18:20, schrieb Boris Horvat: Well the problem is not in the tapestry-jquery as I still have the same issue after removing it Do a clean rebuild. -- ae | Andreas Ernst | IT Spektrum Postfach 5, 65612 Beselich Schupbacher Str. 32, 65614 Beselich, Germany Tel: +49-6484-91002 Fax: +49-

Re: Tapestry 5.4 demo

2013-11-01 Thread Lenny Primak
It still looks like you have tapestry-jquery in your path. Maybe as a transitive dependency. > On Nov 1, 2013, at 1:20 PM, Boris Horvat wrote: > > Well the problem is not in the tapestry-jquery as I still have the same > issue after removing it > > > org.apache.shiro.subject.ExecutionExcep

Re: Tapestry 5.4 demo

2013-11-01 Thread Boris Horvat
Well the problem is not in the tapestry-jquery as I still have the same issue after removing it org.apache.shiro.subject.ExecutionException: java.lang.NoSuchMethodError: org.apache.tapestry5.services.javascript.JavaScriptSupport.importStylesheet(Lorg/apache/tapestry5/Asset;)V at org.apache.shiro.

Re: Tapestry 5.4 demo

2013-11-01 Thread Boris Horvat
This looks perfect, will give it read and try it out. Thanks On Fri, Nov 1, 2013 at 5:54 PM, Lenny Primak wrote: > Look at the bottom of this blog: > https://github.com/bobharner/blog/wiki/Jumping-Into-Tapestry-5.4-Alpha-3 > > If you remove tapestry5-jquery and add in the methods to enable JQu

Re: Tapestry 5.4 demo

2013-11-01 Thread Lenny Primak
Look at the bottom of this blog: https://github.com/bobharner/blog/wiki/Jumping-Into-Tapestry-5.4-Alpha-3 If you remove tapestry5-jquery and add in the methods to enable JQuery in Tapestry, you will have JQUery support in tapestry. I am not too familiar with extra components that Tapestry-JQuery

Re: Tapestry 5.4 demo

2013-11-01 Thread Boris Horvat
And what would happen if I just remove tapestry-jquery from the combination? Does 5.4 include jquery components now? I will try it out but wondering if someone knows the answer? On Fri, Nov 1, 2013 at 5:46 PM, Lenny Primak wrote: > Tynamo Security is ready for T5.4. I think (not sure) but Res

Re: Tapestry 5.4 demo

2013-11-01 Thread Lenny Primak
Tynamo Security is ready for T5.4. I think (not sure) but RestEasy is good to go as well. Tapestry-JQuery is definitely incompatible at this point. On Nov 1, 2013, at 8:25 AM, Boris Horvat wrote: > Yea probably from say Tynamo Security or Rest, or it could be from > tapestry-jquery > > I

Re: Tapestry 5.4 demo

2013-11-01 Thread Boris Horvat
Well in my pom I have 5.4-SNAPSHOT I guess this has the reference to the latest alpha version, right? Since I see that there are people here that are using 5.4, what version of tapestry-jquery, tynamo-rest and tynamo-security do you guys use? Cheers On Fri, Nov 1, 2013 at 5:04 PM, Andreas Ernst

Re: Tapestry 5.4 demo

2013-11-01 Thread Andreas Ernst
Am 01.11.13 16:55, schrieb Boris Horvat: Excluding dependency from tynamo security cased a new problem :) java.lang.NoSuchMethodError: org.apache.tapestry5.services.javascript.JavaScriptSupport.importStylesheet(Lorg/apache/tapestry5/Asset;)V at org.got5.tapestry5.jquery.services.ImportJQueryUIW

Re: Tapestry 5.4 demo

2013-11-01 Thread Boris Horvat
Excluding dependency from tynamo security cased a new problem :) java.lang.NoSuchMethodError: org.apache.tapestry5.services.javascript.JavaScriptSupport.importStylesheet(Lorg/apache/tapestry5/Asset;)V at org.got5.tapestry5.jquery.services.ImportJQueryUIWorker$2.advise(ImportJQueryUIWorker.java:92

Re: Tapestry 5.4 demo

2013-11-01 Thread George Christman
What about tapestry quickstart? It's not a full demo like the hotel project, but should give you a general idea what some of the components look like. I believe we're on 5.4-alpha-23 now. On Fri, Nov 1, 2013 at 8:25 AM, Boris Horvat wrote: > Yea probably from say Tynamo Security or Rest, or it c

Re: Tapestry 5.4 demo

2013-11-01 Thread Boris Horvat
Yea probably from say Tynamo Security or Rest, or it could be from tapestry-jquery I guess just moving the application is that that easy yet :( I will have to see if they have a version that is getting ready for the 5.4 On Fri, Nov 1, 2013 at 1:20 PM, Thiago H de Paula Figueiredo < thiag...

Re: Tapestry 5.4 demo

2013-11-01 Thread Thiago H de Paula Figueiredo
Yeah, it seems the demo will need a couple tweaks before it works with 5.4. I'd guess it's mostly dependency stuff. It seems like you're getting two different Tapestry-IoC versions in the classpath at the same time. On Fri, 01 Nov 2013 10:02:48 -0200, Boris Horvat wrote: and running it

Re: Tapestry 5.4 demo

2013-11-01 Thread Boris Horvat
and running it on my app gives me this ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.modules.InternalModule 2013-11-01 13:01:13.818:WARN:oejuc.AbstractLifeCycle:FAILED app: java.lang.RuntimeException: Error invoking service binder method org.apache.tapestry5.modules.

Re: Tapestry 5.4 demo

2013-11-01 Thread Boris Horvat
I guess it wont be that easy TapestryIOCModule.RegistryStartup Construction of service RegistryStartup failed: Error invoking service contribution method com.tap5.hotelbooking.dal.DataModule.initialize(): java.lang.NullPointerException org.apache.tapestry5.ioc.internal.OperationException: Error i

Re: Tapestry 5.4 demo

2013-11-01 Thread Boris Horvat
Should i use 5.4-SNAPSHOT or 5.4-alpha-3-SNAPSHOT tnx On Fri, Nov 1, 2013 at 12:13 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 01 Nov 2013 06:13:34 -0200, Boris Horvat > wrote: > > Is there any way of checking out the demo for 5.4, I would like to see >> how do com

Re: Tapestry 5.4 demo

2013-11-01 Thread Thiago H de Paula Figueiredo
On Fri, 01 Nov 2013 06:13:34 -0200, Boris Horvat wrote: Is there any way of checking out the demo for 5.4, I would like to see how do components look like without creating the code my self in order to see if we should maybe start to move our webapp on the tapestry alpha I guess you can

  1   2   >