Re: Tapestry 5 - cache issue when accessed via proxy

2011-03-17 Thread sunmoor007
Added the below method to AppModule.java public LinkCreationListener buildLinkCreationListener( LinkCreationHub hub) { LinkCreationListener listener = new MyLinkCreationListenerImpl(); hub.addListener(listener); return l

Re: Tapestry 5 - cache issue when accessed via proxy

2011-03-17 Thread sunmoor007
Added the below method to AppModule.java public LinkCreationListener buildLinkCreationListener( LinkCreationHub hub) { LinkCreationListener listener = new MyLinkCreationListenerImpl(); hub.addListener(listener); return liste

Re: [Tapestry Central] Rethinking JavaScript in Tapestry 5.3

2011-03-17 Thread jqzone
That great! On Thu, Mar 17, 2011 at 8:17 AM, Howard wrote: > I've always had a love/hate relationship with JavaScript; some of the > earliest motivations for Tapestry was to "encapsulate that ugly > JavaScript stuff so I don't have to worry about it again." However, as > I've come to appreciate

Re: Using conditional comments with @Import(stylesheet="...")

2011-03-17 Thread Ben Tomasini
Thanks! It's good to be using Tapestry again. This is a personal project. :) Ben On Thu, Mar 17, 2011 at 9:35 AM, Howard Lewis Ship wrote: > This can be done using the new (in 5.2) JavaScriptSupport > @Environmental object.  It can express a couple of things that @Import > can not.  Just @Inj

Re: Using conditional comments with @Import(stylesheet="...")

2011-03-17 Thread Howard Lewis Ship
This can be done using the new (in 5.2) JavaScriptSupport @Environmental object. It can express a couple of things that @Import can not. Just @Inject the Asset for the stylesheet(s) and invoke one of the importStylesheet() methods. Glad to see you back in the Tapestry fold ... is this a persona

Re: TAP5-781: single error message for multiple fields

2011-03-17 Thread Adam Zimowski
Answering my own question here, just to document... This grossly simplified dirty hack simulates behavior described in TAP5-781: Then in the Page class: @Persist("flash") @Property(write=false) private boolean multiFieldError; // inject form & fields @OnEvent(value="validate", com

Re: Tapestry 5 - cache issue when accessed via proxy

2011-03-17 Thread Thiago H. de Paula Figueiredo
On Thu, 17 Mar 2011 10:57:06 -0300, sunmoor007 wrote: I also got the option what Thiago has suggested. I have created a method call buildLinkListener which takes LinkCreationHub as argument and returns a LinkCreationListener object. One thing still am clueless is how to integrate this in ap

Re: Tapestry 5 - cache issue when accessed via proxy

2011-03-17 Thread sunmoor007
Thanks Rich. I also got the option what Thiago has suggested. I have created a method call buildLinkListener which takes LinkCreationHub as argument and returns a LinkCreationListener object. One thing still am clueless is how to integrate this in app module so that this method gets invoked for al

Re: Questions: Chenillekit-reports, Services

2011-03-17 Thread degressor
Sorry, but there can I get the jar file from chenillekit-reports? Or maybe I should download the source code and export an jar? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Questions-Chenillekit-reports-Services-tp3877500p3878670.html Sent from the Tapestry - User mailin

Re: Disable Validation of a field

2011-03-17 Thread LLTYK
You can use a FormFragment to hide and disable the field. Or you can remove the builtin required validation and manually decide whether it's required in onValidateForm. -- View this message in context: http://tapestry-users.832.n2.nabble.com/Disable-Validation-of-a-field-tp6176353p6180826.html Se

Re: Questions: Chenillekit-reports, Services

2011-03-17 Thread Sven Homburg
add the dependcies to your maven pom.xml org.chenillekit chenillekit-quartz and add the contribuition to your application service /** * configuring the jasperreports service. * *

Re: Questions: Chenillekit-reports, Services

2011-03-17 Thread Thiago H. de Paula Figueiredo
On Thu, 17 Mar 2011 10:11:54 -0300, degressor wrote: Hi, Hi! I tried to work with Chenillekit-reports, but I don't know how to integrate a module into my app, are there some tutorials or help? Just add the module JAR in the webapp classpath. -- Thiago H. de Paula Figueiredo Independent

Questions: Chenillekit-reports, Services

2011-03-17 Thread degressor
Hi, I'm new in tapestry, and trying to integrate JasperReports. I can run simple report, with empty datasoeuce, but for more complex issues I need a custom datasource class. Do I realy need to write a service, because I can't use new. I tried to work with Chenillekit-reports, but I don't know h

Re: Disable Validation of a field

2011-03-17 Thread gauravchopra
Yes I am using the JS to disable the field, but the tapestry validation remains there. When i click on submit, it says that the field is required. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Disable-Validation-of-a-field-tp3779681p3869746.html Sent from the Tapestry - U

Re: Disable Validation of a field

2011-03-17 Thread LLTYK
Do you still use the textfield even when the checkbox is checked? If not, you can make some js for the click event of the checkbox and simply disable the textfield in your js. I suspect this disables validation. -- View this message in context: http://tapestry-users.832.n2.nabble.com/Disable-Vali

[Tapestry Central] Better Namespacing in JavaScript

2011-03-17 Thread Howard
In my previous post, I discussed some upcoming changes in Tapestry's client-side JavaScript. Here we're going to dive a little deep on an important part of the overall package: using namespaces to keep client-side JavaScript from conflicting. I'm not claiming to originate these ideas; they have bee

[Tapestry Central] Rethinking JavaScript in Tapestry 5.3

2011-03-17 Thread Howard
I've always had a love/hate relationship with JavaScript; some of the earliest motivations for Tapestry was to "encapsulate that ugly JavaScript stuff so I don't have to worry about it again." However, as I've come to appreciate JavaScript, over time, as a powerful functional language, and not as a