Simpler Select configuration

2011-05-31 Thread Inge Solvoll
Hi! In my new job I've worked a lot with Swing GUI code. I immediately saw the strong need for a framework, in order to provide better abstractions, events and data binding between GUI and the model layer. The framework market for Swing applications is very close to dead, but I found a decent dead

Re: datefield - no option to cancel?

2011-05-31 Thread antalk
That was relatively easy: Replace these 2 functions with this: DatePicker.prototype.goToNextMonth = function () { var d = new Date(this._selectedDate); d.setDate(Math.min(d.getDate(), DatePicker.getDaysPerMonth(d.getMonth() + 1, d.getFullYear(; // no need to catch dec ->

[OT] The response time of websites - comparison between frameworks

2011-05-31 Thread Borut Bolčina
Hello, just wanted to share this link http://www.jtict.com/blog/rails-wicket-grails-play-lift-jsp/ -borut

Re: [T5.2.5] NPE on form submit

2011-05-31 Thread rorschach
I've messed around with this problem a bit more. The same exception obviously also happens in Jetty (now that I checked the actual logs), but Jetty somehow manages to not crash and redirect me back to the proper page. The workaround I came up with was that I just overwrote the class that throws th

Re: File download breaks ajax zone manager

2011-05-31 Thread Joost Schouten (ml)
Thanks for the JIRA reference to the other tickets already open on this topic. For the record, until this is fixed I created a workaround where my downloads open in a new window (target="_blank"). The only downfall here is that some browsers end up with an empty screen. Better than a non funct

Importing multiple stacks in a formelement extending AbstractField causes a ghost processSubmission

2011-05-31 Thread Joost Schouten (ml)
Hi, I took the tapx datefield component as a base and altered it somewhat to my own needs. One of those was to add two javascript stacks I use @Import(stack = {CommonBaseStack.STACK_NAME, DateFieldStackV2.STACK_NAME}) It has taken me most of the day to figure out that this was the cause of

Re: [OT] The response time of websites - comparison between frameworks

2011-05-31 Thread Massimo Lusetti
On Tue, May 31, 2011 at 11:03 AM, Borut Bolčina wrote: > Hello, > > just wanted to share this link > > http://www.jtict.com/blog/rails-wicket-grails-play-lift-jsp/ A quick search of "tapestry" doesn't reveal anything... Am I missing something? Cheers -- Massimo http://meridio.blogspot.com ---

[Slightly OT] Jetty "manager"/deployer

2011-05-31 Thread Massimo Lusetti
Hi all, I'm using Jetty all over the place and I'm fine with it but now I need to give others the possibility to deploy and redeploy at runtime an applications subset. Let's say I would love to have the "manager" gui from tomcat... any hints? Thanks -- Massimo http://meridio.blogspot.com

Re: [Slightly OT] Jetty "manager"/deployer

2011-05-31 Thread Lenny Primak
I use glassfish for this purpose now and it works great with tapestry. On May 31, 2011, at 10:35 AM, Massimo Lusetti wrote: > Hi all, > I'm using Jetty all over the place and I'm fine with it but now I > need to give others the possibility to deploy and redeploy at runtime > an applications

Re: [Slightly OT] Jetty "manager"/deployer

2011-05-31 Thread Massimo Lusetti
On Tue, May 31, 2011 at 4:39 PM, Lenny Primak wrote: > I use glassfish for this purpose now and it works great with tapestry. Nice, but I would like to stay with jetty... Cheers -- Massimo http://meridio.blogspot.com - To uns

Re: Pentaho Reporting integration - SOLVED

2011-05-31 Thread atcach
Yes solved this, but still with the problem when reading the report as pentaho thorws an exception (xml parser really, but called within pentaho's classes) telling that there is data in the prolog, but it works if I call those classes from outside tapestry. Regards -- View this message in context

Re: [OT] The response time of websites - comparison between frameworks

2011-05-31 Thread Kalle Korhonen
No, but Tapestry's got to make it to these comparisons to stay as a contender. Has anybody tried contacting the author? If not, I'll see what I can do. Kalle On Tue, May 31, 2011 at 7:27 AM, Massimo Lusetti wrote: > On Tue, May 31, 2011 at 11:03 AM, Borut Bolčina > wrote: > >> Hello, >> >> ju

tapestry-hibernate TypeCoercers

2011-05-31 Thread dragan.sahpas...@gmail.com
Hi, Is there a reason why tapestry-hibernate does not provide a TypeCoercer between String<->EntityType or ID<->EntityType. it provides ValueEncoders and the implementation would be pretty much the same. I have a problem when I re-throw an event from an triggered from an eventLink. If I catch the

Stateful service

2011-05-31 Thread Erik Fäßler
Hey all, I'm sure this question has been answered a lot - but I couldn't find an answer for so please excuse this :-) I have a service which is filled with data at one class (some random Java class, no page). Then, in another class, I'd like to retrieve the service and get the data. I do it

Re: [Slightly OT] Jetty "manager"/deployer

2011-05-31 Thread LLTYK
Jetty has an API, not sure if it's accessible from an application. Would be neat to have an app that can redeploy the other apps. -- View this message in context: http://tapestry-users.832.n2.nabble.com/Slightly-OT-Jetty-manager-deployer-tp6422979p6423600.html Sent from the Tapestry Users mailing

Re: [T5.2.5] NPE on form submit

2011-05-31 Thread Josh Canfield
> java.lang.NullPointerException @ > org.apache.tapestry5.internal.services.ResponseCompressionAnalyzerImpl.isCompressable(ResponseCompressionAnalyzerImpl.java:65) > Can you provide more of the stack trace? It's strange for the content-type to be null unless you're doing something with the respons

Re: Stateful service

2011-05-31 Thread Thiago H. de Paula Figueiredo
On Tue, 31 May 2011 13:39:50 -0300, Erik Fäßler wrote: Hey all, Hi! I have a service which is filled with data at one class (some random Java class, no page). Then, in another class, I'd like to retrieve the service and get the data. I do it this way because quite a lot of objects

Re: File download breaks ajax zone manager

2011-05-31 Thread Josh Canfield
> For the record, until this is fixed I created a workaround where my > downloads open in a new window (target="_blank"). There is a solution that uses an iframe to download the file (get's around the open tab problem). Here's one example: http://stackoverflow.com/questions/2010506/resetting-wait

Re: Importing multiple stacks in a formelement extending AbstractField causes a ghost processSubmission

2011-05-31 Thread Josh Canfield
If you create a stack with a noop script in it, do you get the same behavior? On Tue, May 31, 2011 at 6:42 AM, Joost Schouten (ml) wrote: >  Hi, > > I took the tapx datefield component as a base and altered it somewhat to my > own needs. One of those was to add two javascript stacks I use @Import

Re: Importing multiple stacks in a formelement extending AbstractField causes a ghost processSubmission

2011-05-31 Thread Joost Schouten (ml)
On 31/05/11 7:08 PM, Josh Canfield wrote: If you create a stack with a noop script in it, do you get the same behavior? I need to have another go at this to understand it better. It also only seemed to occur when in a zone after zone update. I'll get back to this once my missed deadline due to

Re: [T5.2.5] NPE on form submit

2011-05-31 Thread Taha Hafeez
I faced a similar problem when I was using response.sendRedirect() in ComponentRequestFilter#handlePageRender. I later used response.disableCompression() and it solved my problem. Still, i believe, npe should be taken care of by the framework. regards Taha On Tue, May 31, 2011 at 10:30 PM, Josh

Re: Stateful service

2011-05-31 Thread Erik Fäßler
Hey, thanks for your answer! >> . > > How is this second class getting the service object? If the service is > singleton (this is the default scope in Tapestry-IoC), the same service > instance is injected. Don't forget that both classes need to be Tapestry-IoC > services for them to have servi

Re: Stateful service

2011-05-31 Thread Josh Canfield
> But before doing something unnecessary: I would need a separate instance of > my service for each user session, holding information for this particular > session. Would I get this when switching to the T5.2 IoC? I haven't heard of anyone implementing a per-session service scope. In T5 instead

Strange behaviour in tapestry app

2011-05-31 Thread Greg Pagendam-Turner
Hi, I'm working on a Tapestry application using the 5.3.0 version of Tapestry. At this stage I have an application with just an Index page and a single Action Link. The ActionLink executes some code that calls our secure messaging apis to send an xml message via a web service call. If I ca

Re: tapestry-security users: are you using shiro.ini?

2011-05-31 Thread Kalle Korhonen
FYI, this is implemented now. For the impatient, see http://svn.codehaus.org/tynamo/trunk/tapestry-security/src/test/java/org/tynamo/security/testapp/services/AppModule.java and try out tapestry-security 0.4.0-SNAPSHOT. Release follows once I've updated the docs. Kalle On Wed, May 4, 2011 at 10:

Re: [Slightly OT] Jetty "manager"/deployer

2011-05-31 Thread Mark
The cargo plugin for tomcat makes it easy to redeploy from the command line. I think it works with jetty to. On May 31, 2011 9:35 AM, "Massimo Lusetti" wrote: > Hi all, > I'm using Jetty all over the place and I'm fine with it but now I > need to give others the possibility to deploy and redeploy

Re: tapestry-security users: are you using shiro.ini?

2011-05-31 Thread ael
Good Job Kalle I cant wait to try this out. :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/tapestry-security-users-are-you-using-shiro-ini-tp4365590p160.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Strange problem with tapestry.js

2011-05-31 Thread Taha Hafeez
Hi I was stuck with a strange problem in ie7 and ie8 compatibility mode. I was getting "object doesn't support this property or method". On debugging I found that the Element.addMethods was not extending form and input elements(input,textarea,select). On changing it from addMethods('FORM', {...})