RE: Action Handler not being called component

2014-11-14 Thread nhhockeyplayer nashua
Folks, I attached the console stack trace the request object is getting totaled I am hoping someone can make some sense out of it its almost, and I am guessing, someone is using a t5 Request, when it should be an HttpRequest ? just a guess... importing the wrong object could force operation o

RE: Action Handler not being called component

2014-11-14 Thread nhhockeyplayer nashua
I connected up the t5-beta-22 source code from my local repo to my run environment session this is where it happens public ClientPersistentFieldStorageImpl(Request request, ClientDataEncoder clientDataEncoder, SessionPersistedObjectAnalyzer analyzer) { this.clientDataEncoder = c

RE: Action Handler not being called component

2014-11-14 Thread nhhockeyplayer nashua
I attempted enough tries. I hate these corruption bugs the code is good and something broke it. here is trace something is getting mauled any ideas what to do ? zones wont help... oir will they and if so why HTTP ERROR 500 Problem accessing /psi/home.galleryform/player. Reason: org.apache

Re: GAE & 5.4-beta22 - access denied for "modifyThreadGroup"

2014-11-14 Thread Alex Kotchnev
Well - it looks like this modifyThreadGroup permission is checked when getting ThreadGroup.getParent only when it reaches the "rootGroup", which is supposedly somehow special ( http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/lang/SecurityManager.java#SecurityManage

URL Rewriting to base

2014-11-14 Thread George Christman
Hi guys, so I've managed to find a someone challenging task. I'm creating profiles and I'd like to create profile domains and do a url rewrite so those domains appear directly after the baseUrl. Example domain.com/profile/profiledomain to domain.com/profile now the profiledomain will actually b

Re: Minify JS / CSS in production

2014-11-14 Thread George Christman
Thanks guys, I ended up finding it and was able to update it. All fixed. On Fri, Nov 14, 2014 at 11:17 AM, Kalle Korhonen wrote: > Update the version of the offending library, but perhaps not that easy. > Googling the exception gives you these potential matches: > > http://stackoverflow.com/ques

RE: Action Handler not being called component

2014-11-14 Thread nhhockeyplayer nashua
The gallery widget is geared to collect PLAYERS for now... when I set items per page (you can try it) to 100 my code works fine and refreshes the collection. when I set items per page to 15 I get the following http://psinh.ddns.net:9011/psi/home.galleryform/player The connection was reset T

RE: Action Handler not being called component

2014-11-14 Thread nhhockeyplayer nashua
Hi Thiago, Your suggested solution seems fine. But it only goes as far as populating the model thru the onChanged event. I dont see theoretically the display being rendered again. My component, in theory, should work fine with parameters and a submit onchange="galleryForm.submit()" and histor

Re: GAE & 5.4-beta22 - access denied for "modifyThreadGroup"

2014-11-14 Thread Kalle Korhonen
GAE doesn't like user code calling ThreadGroup.getParent() (line 597 of TapestryInternalUtils, in your stack trace) which seems an unnecessary restriction given that access to Thread.currentThread().getThreadGroup() is allowed. I wouldn't be surprised if there was a bug open against GAE on that. A

RE: Action Handler not being called component

2014-11-14 Thread nhhockeyplayer nashua
Thank You Thiago, I will try that this weekend. If you like you can try my gallery... its athttp://psinh.ddns.net:9011/psi/home sometimes when its up its up but other times it might be down. but its a T5 gallery tynamo version Best regards and thanks... KEN

Re: [ANNOUNCEMENT] Project Arras

2014-11-14 Thread françois facon
Nice! Have you ever been in Arras? It's also a nice place http://informationfrance.com/arras.php Congrats! François 2014-11-12 18:27 GMT+01:00 Felix Scheffer : > Hi all, > > I'm pleased to announce the release of arras-components and arras-cms. > > https://github.com/fscheffer/arras/ > > *Arra

Re: GAE & 5.4-beta22 - access denied for "modifyThreadGroup"

2014-11-14 Thread Alex Kotchnev
Bummer, I just confirmed that the same error happens when deployed in AppEngine. At first glance this looked similar to an issue that was fixed a couple of years ago (https://issues.apache.org/jira/browse/TAP5-1616), but this is definitely different. I do recall that in general in production one mi

GAE & 5.4-beta22 - access denied for "modifyThreadGroup"

2014-11-14 Thread Alex Kotchnev
I took 5.4-beta-22 out for a spin yesterday and I ran into the following exception when trying to run the AppEngine local dev server and there is an error on the page and Tapestry attempts to display the exception page. I'm not yet sure if this is going to work when deployed to AppEngine proper, bu

Re: [ANNOUNCEMENT] Project Arras

2014-11-14 Thread Charlouze
haha ! I didn't try that. Clever :) 2014-11-14 22:30 GMT+01:00 Andreas Ernst : > Am 14.11.14 um 17:43 schrieb Charlouze: > >> Is it possible to have admin login and password for the cms demo ? >> >> 2014-11-14 17:28 GMT+01:00 Felix Scheffer : >> >> Demo for arras-components: >>> https://arras-c

Re: [ANNOUNCEMENT] Project Arras

2014-11-14 Thread Andreas Ernst
Am 14.11.14 um 17:43 schrieb Charlouze: Is it possible to have admin login and password for the cms demo ? 2014-11-14 17:28 GMT+01:00 Felix Scheffer : Demo for arras-components: https://arras-components.herokuapp.com/ Demo for arras-cms (should reset every 24h) http://arras-cms.herokuapp.com/

Re: session invalidate in tapestry

2014-11-14 Thread Thiago H de Paula Figueiredo
On Fri, 14 Nov 2014 18:15:12 -0200, Ivano Luberti wrote: Oh God! Yes , I messed up with interfaces: too much time using PHP Hehehe. Actually, even without PHP messing up with your brain, it's easy to mistake one of the interfaces for the other . . . Thanks Thiago :D Il 14/11/2014 2

Re: session invalidate in tapestry

2014-11-14 Thread Ivano Luberti
Oh God! Yes , I messed up with interfaces: too much time using PHP Thanks Thiago Il 14/11/2014 20:47, Thiago H de Paula Figueiredo ha scritto: > On Fri, 14 Nov 2014 15:27:51 -0200, Ivano Luberti > wrote: > >> So B is created in the first page but not bound to the session while >> some way is vi

Re: session invalidate in tapestry

2014-11-14 Thread Thiago H de Paula Figueiredo
On Fri, 14 Nov 2014 15:27:51 -0200, Ivano Luberti wrote: So B is created in the first page but not bound to the session while some way is visible across pages While A is created at server start-up (why?) but is not visible in the page. If from web.xml I remove it.archicoop.met.obliteraz

Re: Stacktrace when on Tomcat server

2014-11-14 Thread Daniel Jue
Yes, I'm guessing it's something malformed in your page template. On Fri, Nov 14, 2014 at 2:03 PM, Andreas Ernst wrote: > Am 14.11.14 um 13:44 schrieb Nathan Quirynen: > >> Maybe this helps... it's not much more than what I originally sent, but >> there is no more... >> This is all I see in the

Re: Stacktrace when on Tomcat server

2014-11-14 Thread Andreas Ernst
Am 14.11.14 um 13:44 schrieb Nathan Quirynen: Maybe this helps... it's not much more than what I originally sent, but there is no more... This is all I see in the tomcat logs: [ERROR] ioc.Registry java.lang.ArrayIndexOutOfBoundsException [ERROR] ioc.Registry Operations trace: [ERROR] ioc.Registr

Re: session invalidate in tapestry

2014-11-14 Thread Ivano Luberti
Il 14/11/2014 13:13, Thiago H de Paula Figueiredo ha scritto: > On Fri, 14 Nov 2014 09:25:47 -0200, Ivano Luberti > wrote: > >> Hi > > Hi! > >> When I call the Index page in the browser onPrepare is called > > What's your onPrepare() method? You didn't post it here. By the way, > you could prin

Re: [ANNOUNCEMENT] Project Arras

2014-11-14 Thread Charlouze
Is it possible to have admin login and password for the cms demo ? 2014-11-14 17:28 GMT+01:00 Felix Scheffer : > Demo for arras-components: > https://arras-components.herokuapp.com/ > > Demo for arras-cms (should reset every 24h) > http://arras-cms.herokuapp.com/ > > > Felix > > > 2014-11-13 14:4

Re: Tapestry Event Bubbling

2014-11-14 Thread Thiago H de Paula Figueiredo
On Fri, 14 Nov 2014 12:26:30 -0200, Robson Pires wrote: Hi guys, Hi! (Bão? :)) I am handling an event in a page A which was bubbling from a component B: ComponentB.java componentResources.triggerEvent(BULK_ACTION_SELECTED, new Object[] { selectedAction, keys}, null); PageA.java void

Re: [ANNOUNCEMENT] Project Arras

2014-11-14 Thread Felix Scheffer
Demo for arras-components: https://arras-components.herokuapp.com/ Demo for arras-cms (should reset every 24h) http://arras-cms.herokuapp.com/ Felix 2014-11-13 14:48 GMT+01:00 Nathan Quirynen : > Looks nice (looking at the code)! > > Are there online demos running to show everything? > > Con

Re: Minify JS / CSS in production

2014-11-14 Thread Kalle Korhonen
Update the version of the offending library, but perhaps not that easy. Googling the exception gives you these potential matches: http://stackoverflow.com/questions/25808115/google-contacts-java-lang-nosuchmethoderror-com-google-common-collect-immutab http://stackoverflow.com/questions/16475015/nos

Tapestry Event Bubbling

2014-11-14 Thread Robson Pires
Hi guys, I am handling an event in a page A which was bubbling from a component B: ComponentB.java componentResources.triggerEvent(BULK_ACTION_SELECTED, new Object[] { selectedAction, keys}, null); PageA.java void onBulkActionSelectedFromresourceSearchResults(String context, long[] keys

Re: Minify JS / CSS in production

2014-11-14 Thread Thiago H de Paula Figueiredo
On Fri, 14 Nov 2014 11:26:54 -0200, George Christman wrote: So I tried this out last night and ended up with this beautiful exception. Any ideas? HTTP Status 500 - java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.of(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;L

Re: Action Handler not being called component

2014-11-14 Thread Thiago H de Paula Figueiredo
On Fri, 14 Nov 2014 11:07:13 -0200, nhhockeyplayer nashua wrote: @Component(id = "itemsPerPageSelect", parameters = { "value=itemsPerPage", "clientId=itemsPerPageSelect" }) private Select itemsPerPageSelect; For the valueChanged event from Select to be triggered, you need to use

Re: Minify JS / CSS in production

2014-11-14 Thread George Christman
So I tried this out last night and ended up with this beautiful exception. Any ideas? HTTP Status 500 - java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.of(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Obj

RE: Action Handler not being called component

2014-11-14 Thread nhhockeyplayer nashua
Apologies... I listed the wrong java code handler here it is @Component(id = "itemsPerPageSelect", parameters = { "value=itemsPerPage", "clientId=itemsPerPageSelect" }) private Select itemsPerPageSelect; @OnEvent(value = EventConstants.VALUE_CHANGED, component = "itemsPerPageSe

Action Handler not being called component

2014-11-14 Thread nhhockeyplayer nashua
Hi Folks, Can anyone explain this stack trace ? I am implementing a select component within my template. Items Per Page and here is my handler @Component(id = "tableColumnsSelect", parameters = { "value=tableColumns", "clientId=tableColumnsSelect" }) private Select table

Re: Stacktrace when on Tomcat server

2014-11-14 Thread Nathan Quirynen
Maybe this helps... it's not much more than what I originally sent, but there is no more... This is all I see in the tomcat logs: [ERROR] ioc.Registry java.lang.ArrayIndexOutOfBoundsException [ERROR] ioc.Registry Operations trace: [ERROR] ioc.Registry [ 1] Constructing instance of page class com.e

Re: Stacktrace when on Tomcat server

2014-11-14 Thread Chris Mylonas
Put logback in your pom.XML Presuming u use 5.4 On 14/11/2014 11:36 pm, "Nathan Quirynen" wrote: > The problem is that's all I see in the logs of tomcat... Maybe my > logging is not setup correctly? > > On 14/11/14 12:21, Thiago H de Paula Figueiredo wrote: > > On Fri, 14 Nov 2014 07:48:34 -0200,

Re: Stacktrace when on Tomcat server

2014-11-14 Thread Nathan Quirynen
The problem is that's all I see in the logs of tomcat... Maybe my logging is not setup correctly? On 14/11/14 12:21, Thiago H de Paula Figueiredo wrote: > On Fri, 14 Nov 2014 07:48:34 -0200, Nathan Quirynen > wrote: > >> Hi, > > Hi! > >> *root cause* >> >> java.lang.ArrayIndexOutOfBoundsException

Re: session invalidate in tapestry

2014-11-14 Thread Thiago H de Paula Figueiredo
On Fri, 14 Nov 2014 09:25:47 -0200, Ivano Luberti wrote: Hi Hi! When I call the Index page in the browser onPrepare is called What's your onPrepare() method? You didn't post it here. By the way, you could print a stack trace inside the User constructor to know exactly which method

Re: session invalidate in tapestry

2014-11-14 Thread Ivano Luberti
Hi Il 13/11/2014 15:24, Thiago H de Paula Figueiredo ha scritto: > On Thu, 13 Nov 2014 12:16:03 -0200, Ivano Luberti > wrote: > >> Hi all, I have a question about session handling in Tapestry5. >> I have a >> >> @SessionState >> protected User user; > > Shouldn't it be @SessionState(create =

Re: Stacktrace when on Tomcat server

2014-11-14 Thread Thiago H de Paula Figueiredo
On Fri, 14 Nov 2014 07:48:34 -0200, Nathan Quirynen wrote: Hi, Hi! *root cause* java.lang.ArrayIndexOutOfBoundsException You left out exactly where the real information in this stack trace is . . . -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and develop

Stacktrace when on Tomcat server

2014-11-14 Thread Nathan Quirynen
Hi, A simple application with 1 page containing some static text won't work on Tomcat for some reason and I can't figure out why. It works when running in Eclipse with maven jetty plugin, but when I deploy it on my Tomcat server I get the stacktrace below when I access the page. Anyone an idea wh

Re: [5.4] javascript - simplify the new paradigm please

2014-11-14 Thread Paul Stanton
Thanks Geoff, Im going to have to play around with this and see what is happening under the covers. I'll get back... cheers, p. On 14/11/2014 3:06 PM, Geoff Callender wrote: I accidentally left out the object's state vars. Added below. On 14 Nov 2014, at 10:00 am, Geoff Callender wrote: