Any Tapestry-specific performance analytics packages available?

2012-01-16 Thread Kalle Korhonen
Since Java is so stupendously fast (really!) I've been more and more focused on scaling up lately, as opposed to the "easy cop-out" by scaling out, in an effort to reduce running costs. If any of you have tried running a bigger site on GAE, you know what I mean - you think it's cheap in the beginni

Re: Problem with securing ajax enabled Tapestry pages with Annotations ...

2012-01-16 Thread Kalle Korhonen
On Thu, Aug 25, 2011 at 1:08 AM, Gunnar Eketrapp wrote: > I still havn't managde to get ajax calls to redirect. > I changed to reload as a I saw in this mailing list. > In Chromes debugger I can see that the timed out ajax call returns .. > {"script":"window.location.reload();"} > ... but nothing

Re: What is your tapestry project setup like (build tool/ide)

2012-01-16 Thread Taha Hafeez Siddiqi
Hi I use Intellij Idea and I find it a lot easier to work with. I use it for Tapestry and ruby-on-rails. Coming from eclipse, it took me a few days to get comfortable with it but now I am never going back. I use gradle jettyRun for testing and Cmd + F9 works like a charm. In eclipse i used run

Re: Class reloading

2012-01-16 Thread Christian Grobmeier
Howard, impressive. Can you point me to some code? I would like to look at it myself, but didn't found the right place so far. Cheers Christian On Mon, Jan 2, 2012 at 6:59 PM, Howard Lewis Ship wrote: > Yes, I like the idea of your "stakeholder" seeing you build and change > the app live. > The

Re: What is your tapestry project setup like (build tool/ide)

2012-01-16 Thread Lenny Primak
My issue is/was? Nothing to do with tapestry. M2eclipse was just slowing down eclipse in general. On Jan 16, 2012, at 6:45 PM, Bryan Lewis wrote: > Just in case it's related to your question... Last year I had a problem > with m2eclipse being painfully slow but it was caused by my > mis-conf

Re: What is your tapestry project setup like (build tool/ide)

2012-01-16 Thread Bryan Lewis
Just in case it's related to your question... Last year I had a problem with m2eclipse being painfully slow but it was caused by my mis-configuration. http://tapestry.1045711.n5.nabble.com/slow-page-reload-td4287502.html On Mon, Jan 16, 2012 at 6:04 PM, Lenny Primak wrote: > When did this improv

Re: autocomplete mixin - move the box closer to the input field

2012-01-16 Thread Paul Stanton
Sorry to revive an old thread, however I have since come up with something that seems to work 100%. I thought I should share in-case someone else finds it useful. Firstly, you need to override the default CSS for tapestry. It is wrong in some areas eg ul margin and just ugly in others (who use

Re: What is your tapestry project setup like (build tool/ide)

2012-01-16 Thread Lenny Primak
When did this improvement happen? As of October it was still extremely slow for me. On Jan 16, 2012, at 4:19 PM, "Thiago H. de Paula Figueiredo" wrote: > On Mon, 16 Jan 2012 13:27:47 -0200, Dragan Sahpaski > wrote: > >> I use eclipse with no maven plugins because they have been pain in th

Tynamo new module : tapestry-jdo

2012-01-16 Thread Alex Kotchnev
I am excited to announce the release of the new addition to Tynamo's beautiful set of modules : tapestry-jdo . It brings the idioms that many Tapestry developers have come to enjoy w/ Hibernate and JPA to JDO users. Read more on the Tapestry JDO Guide

Re: What is your tapestry project setup like (build tool/ide)

2012-01-16 Thread Thiago H. de Paula Figueiredo
On Mon, 16 Jan 2012 13:27:47 -0200, Dragan Sahpaski wrote: I use eclipse with no maven plugins because they have been pain in the the past. As Kalle said, m2e (former m2eclipse) has improved dramatically in the last months, so maybe you could give it another chance. ;) -- Thiago H. de

Re: ActivateRequestParameter

2012-01-16 Thread David Canteros
I had the problem with both, Tomcat 6 and Jetty 7 -- David Germán Canteros 2012/1/16 Howard Lewis Ship > Tapestry's URLEncoder should probably be deprecated. > > It was an attempt to smooth the differences between Tomcat and Jetty

Re: ActivateRequestParameter

2012-01-16 Thread Howard Lewis Ship
Tapestry's URLEncoder should probably be deprecated. It was an attempt to smooth the differences between Tomcat and Jetty, where they did different things w.r.t. URLDecoding. I honestly can't remember which did which, but basically one would decode the path and query parameters automatically, and

Re: ActivateRequestParameter

2012-01-16 Thread Lenny Primak
Aha! I knew there was already a JIRA filed for this. Just voted got it. On Jan 16, 2012, at 2:40 PM, David Canteros wrote: > I have the same problem with Tapestry ULREncoder and the W3C standards > URLs. I think it must follow the standar way because this brings headaches > when the programm

Re: ActivateRequestParameter

2012-01-16 Thread David Canteros
I have the same problem with Tapestry ULREncoder and the W3C standards URLs. I think it must follow the standar way because this brings headaches when the programmer dont known about the internal stuff of tapestry. I have filed a Jira for this https://issues.apache.org/jira/browse/TAP5-1803 Regar

Re: ActivateRequestParameter

2012-01-16 Thread Thiago H. de Paula Figueiredo
On Mon, 16 Jan 2012 15:45:52 -0200, Lenny Primak wrote: or rather *not* adhering to W3C standards :) I agree that at least with query parameters Tapestry should use the standard URL encoding, except maybe for the cases of encoding null values. -- Thiago H. de Paula Figueiredo Independen

Re: ActivateRequestParameter

2012-01-16 Thread Thiago H. de Paula Figueiredo
On Mon, 16 Jan 2012 15:48:50 -0200, Jochen Frey wrote: Thanks for pointing that out, Thiago - that hadn't occurred to me. :) I assume binding my own implementation in the AppModule should do that. Let's hope I'm not breaking anything fundamental in the process :) I don't think it will

Re: ActivateRequestParameter

2012-01-16 Thread Jochen Frey
Thanks for pointing that out, Thiago - that hadn't occurred to me. I assume binding my own implementation in the AppModule should do that. Let's hope I'm not breaking anything fundamental in the process :) Does anyone know why $ encoding was chosen over %-encoding? Thanks! Jochen On Jan

Re: ActivateRequestParameter

2012-01-16 Thread Lenny Primak
or rather *not* adhering to W3C standards :) On Jan 16, 2012, at 12:44 PM, Lenny Primak wrote: > Tapestry's URLEncoder isn't the best implementation, I agree. > But the bug that you are referring to was indeed fixed. > As Thiago *just* answered, your solution would probably be > to put in your ow

Re: ActivateRequestParameter

2012-01-16 Thread Lenny Primak
Tapestry's URLEncoder isn't the best implementation, I agree. But the bug that you are referring to was indeed fixed. As Thiago *just* answered, your solution would probably be to put in your own URLencoder. Also, you can open up a new JIRA issue about Tapestry's URLencoder now adhering to the W3C

Re: ActivateRequestParameter

2012-01-16 Thread Thiago H. de Paula Figueiredo
On Mon, 16 Jan 2012 15:21:10 -0200, Jochen Frey wrote: Unfortunately (for me), I get this parameter passed from non-Tapestry code, and the rest of the internet uses %-encoding (http://tools.ietf.org/html/rfc3986#section-2), which makes this a problem for me, especially since this seems t

Re: ActivateRequestParameter

2012-01-16 Thread Jochen Frey
I see what you're saying, you are using Tapestry's URLEncoder. When I do that, j...@gmail.com becomes: joe$0040gmail.com When I pass that like this: /thanks?email=joe$0040gmail.com it indeed works. Unfortunately (for me), I get this parameter passed from non-Tapestry code, and the rest of the

Re: ActivateRequestParameter

2012-01-16 Thread Lenny Primak
I do the same thing (but have embedded slashes (/) instead of the '@' sign) and it works perfectly. On Jan 16, 2012, at 11:47 AM, Jochen Frey wrote: > That's exactly what I did (see my example below where I show the encoded > parameter), which is why the email is sent as: /thanks?email=joe%40gma

Re: ActivateRequestParameter

2012-01-16 Thread Jochen Frey
That's exactly what I did (see my example below where I show the encoded parameter), which is why the email is sent as: /thanks?email=joe%40gmail.com (and not as j...@gmail.com), but it still breaks. It looks to me like https://issues.apache.org/jira/browse/TAP5-1768 may not be fixed (or not

Re: [5.2] how to read the 'for' attribute of a t:label in a mixin ?

2012-01-16 Thread Robert Zeigler
Ignore my earlier e-mail about checking during @AfterRender. I didn't read your question thoroughly. Dragan is right. If your label comes before the text field, and you want the client id of the text field, then you need to use heartbeat to execute a deferred action to grab the text field's clie

Re: [5.2] how to read the 'for' attribute of a t:label in a mixin ?

2012-01-16 Thread Robert Zeigler
Have you checked the properties of interest in @AfterRender? Robert On Jan 16, 2012, at 1/168:46 AM , ffred wrote: > In fact it does work but not the way i thought :/ > The @BindParameter inject directly the TextField pointed by the for > parameter of the label ! > I imagine it's related to the

Re: Grid displaying database relation

2012-01-16 Thread Dragan Sahpaski
Hi Markus, On Mon, Jan 16, 2012 at 4:33 PM, Markus Grell wrote: > Greetings! > > Let me quickly introduce myself: I'm a long-time PHP developer, starting > developing PHP back mid of 90s. After a long pause I started with web > application again, but this time I had a look onto Tapestry. Even tho

Re: What is your tapestry project setup like (build tool/ide)

2012-01-16 Thread Alex Kotchnev
Thanks everyone for the feedback. It's roughly in line with what I expected. Being a Java framework , Tapestry benefits a lot from the strong infrastructure (e.g. IDE support, build tools, etc). Yet, I recall that when I started, I spent quite a bit of time arriving with a workable setup for myself

Grid displaying database relation

2012-01-16 Thread Markus Grell
Greetings! Let me quickly introduce myself: I'm a long-time PHP developer, starting developing PHP back mid of 90s. After a long pause I started with web application again, but this time I had a look onto Tapestry. Even though I'm knowing Java not very well I think that developing apps with Tapest

Re: What is your tapestry project setup like (build tool/ide)

2012-01-16 Thread Dragan Sahpaski
Hi Alex, I use maven and gradle (altough prefer gradle). I use eclipse with no maven plugins because they have been pain in the the past. I just generate the eclipse project and classpath files with mvn eclipse:eclipse or gradle eclipse. It works fine for me, although I don't ever use debugging, s

Re: [5.2] how to read the 'for' attribute of a t:label in a mixin ?

2012-01-16 Thread Dragan Sahpaski
Hi ffred, On Mon, Jan 16, 2012 at 3:46 PM, ffred wrote: > In fact it does work but not the way i thought :/ > The @BindParameter inject directly the TextField pointed by the for > parameter of the label ! > I imagine it's related to the way the label class is implemented. > Exactly as it is sup

Re: [5.2] how to read the 'for' attribute of a t:label in a mixin ?

2012-01-16 Thread ffred
In fact it does work but not the way i thought :/ The @BindParameter inject directly the TextField pointed by the for parameter of the label ! I imagine it's related to the way the label class is implemented. I simply first did a : @BindParamater("for") private String myFor ; which results in a T

Re: What is your tapestry project setup like (build tool/ide)

2012-01-16 Thread Azudio
I use eclipse 3.7, m2e (bundled) & jettyrunner plugin - which includes Jetty 6&7.  All runs very nicely.  -- View this message in context: http://tapestry-users.832.n2.nabble.com/What-is-your-tapestry-project-setup-like-build-tool-ide-tp7191635p7192683.html Sent from the Tapestry Users mailing l

Re: What is your tapestry project setup like (build tool/ide)

2012-01-16 Thread Lenny Primak
Its NetBeans with default maven integration for me. I use Glassfish on the backend and NB integrates with it out of the box. The only special thing I do for development is use the 'skinny' WARs With help of the parent maven module from my FlowLogix library which makes NB deploy-on-save functional

Re: ActivateRequestParameter

2012-01-16 Thread Lenny Primak
The query parameter needs to b e URLencoded otherwise it won't pass validation, which is exactly what happens in your code. Use URLencoder.encode() or similar. On Jan 16, 2012, at 12:23 AM, Jochen Frey wrote: > Hi! > > I am using a form to get e-mail signups into salesforce.com. This mecha

Re: What is your tapestry project setup like (build tool/ide)

2012-01-16 Thread Thiago H. de Paula Figueiredo
That's pretty much my experience too: Eclipse + Maven + m2e (the new name of m2eclipse) + Jetty. Regarding how to launch Jetty, I end up using two different approaches: in work projects, due to the way they were setup, I use jetty:run (Maven). In my personal projects, I add Jetty as a test

Re: remove cache

2012-01-16 Thread Thiago H. de Paula Figueiredo
On Sun, 15 Jan 2012 09:59:33 -0200, Taha Hafeez Siddiqi wrote: Hi Hi! As Thiago always says, "Never never never initialize an instance variable in its declaration in case of a page/component/mixin" :D In addition, Tapestry doesn't cache anything (unless you use the @Cache annotation

Illegal field modifiers in org/chenillekit/tapestry/core/base/EventMixin

2012-01-16 Thread Peer Brink
Hello Everybody, I upgraded to Tapestry 5.3.1 and Chenillekit 1.3.3 and I am getting the following exception on the "chenillekit/onEvent"-mixin without knowing if this is due to wrong usage or if the mixin is falsly packaged inside the chenillekit-package. Any help is greatfully appreciated. Than

Re: development with eclipse+tomcat

2012-01-16 Thread Paul Stanton
Actually, my below theory regarding the contribute's was incorrect - it seems to be some kind of race condition with my service bindings. If I do not eagerLoad any the services in my component library, LCR works fine. If I eagerLoad one of my component library services LCR intermittently doe

Re: development with eclipse+tomcat

2012-01-16 Thread Paul Stanton
After a couple of weeks working with eclipse+tomcat+live class reloading working just fine I've managed to break it all. I just included a JAR which is a component library I have written (with its own Module). I used the guide (http://tapestry.apache.org/component-libraries.html) to configure

Re: tapestry-resteasy 0.3.0 snapshot stable enough?

2012-01-16 Thread Alejandro Scandroli
Hi Yohan > > When does tapestry-resteasy 0.3.0 will be released? > It will be released in a couple of weeks. I just want to add a new Symbol to avoid scanning the ".rest" package if you don't need to. > Is it stable enough to use it? > I think it is but I just recently started to test it i

Re: What is your tapestry project setup like (build tool/ide)

2012-01-16 Thread Chris Mylonas
disclaimer: i don't dev for work, my css/js skills are improving slowly multi module maven ear - totally separate view from business logic - that ability alone is what got me back into java development after 6 or so years of system administration (and PHP hacks in CMSes and CRMs). I split my de

Re: What is your tapestry project setup like (build tool/ide)

2012-01-16 Thread Giulio Micali
Hi, basically I use maven with the jetty plugin in the pom(for command line execution) and Eclipse + M2Eclipse plugin, with some addons that works almost all the time, but causes some troubles (maybe I'm the one that don't know how to configure them...) : 1) RunJettyRun: after some workarounds (ex