Re: T5: ValidationException from validate event leads to ERROR level logger statement

2012-04-17 Thread Thiago H. de Paula Figueiredo
On Tue, 17 Apr 2012 19:31:54 -0300, raulmt wrote: I know there are alternatives to throwing ValidationExceptions, but I was wondering what use does this has then? Is there really a case where you could want to log with error level all the user input validation errors? I ask because this metho

Re: [ANNOUNCE] Tapestry5-Portlet

2012-04-17 Thread Jon Williams
OMG!!! I guess this means I have to start working again. It's great and all, but I got this real comfy dent happening in my couch that I'm hesitant to abandon. Seriously, great work guys, you just upped my game by an order of magnitude. thanks JW 2012/4/17 François Facon > We would be honored

Re: T5: ValidationException from validate event leads to ERROR level logger statement

2012-04-17 Thread raulmt
I know there are alternatives to throwing ValidationExceptions, but I was wondering what use does this has then? Is there really a case where you could want to log with error level all the user input validation errors? I ask because this method, throwing ValidationExceptions, appears on the wiki pa

Re: Bean Edit Form w/ Select Menu

2012-04-17 Thread Chris Mylonas
Hi George, Maybe needs a ValueEncoder is needed to transform from an object to a text representation for your select. http://jumpstart.doublenegative.com.au/jumpstart/examples/select/easyobject That's just a guess by the way. Cheers Chris On 17/04/2012, at 12:22 AM, George Christman wrote:

Re: tapestry5-highcharts available

2012-04-17 Thread Chris Mylonas
Hi Manu I just tried the sample BasicComponent but maven is complaining about not being able to find the tapestry5-highcharts jar file. I tried installing it manually as suggested by maven but still no luck. apache-staging (https://repository.apache.org/content/groups/staging/, releases=true,

Re: how to get component event source?

2012-04-17 Thread Chris Mylonas
oh stop it, you big tease :D Let's just leave it on idle for a bit - i've got what i want out of @ImportJQueryUI stuff and my own custom JS (i used to detest js back before these handy js-toolkits came about - times have changed...) For my own prototyping, I'll be needing to possibly make update

Re: [ANNOUNCE] Tapestry5-Portlet

2012-04-17 Thread François Facon
We would be honored to donate this library. Maybe we'll need one more iteration to improve the unit testing and solve some limitations. We will give you more details about the general approach and obstacles. Best Regards François Le 17 avril 2012 21:33, Howard Lewis Ship a écrit : > This is exce

Re: [ANNOUNCE] Tapestry5-Portlet

2012-04-17 Thread Howard Lewis Ship
This is excellent news ... people have been asking for Portlet support for quite some time but it's never managed to percolate up the priority list. Could you provide a writeup of the general approach, and any obstacles present in the APIs; I'm assuming you had to override some services and possib

[ANNOUNCE] Tapestry5-Portlet

2012-04-17 Thread François Facon
Atos is proud to announce the first release of Tapestry5-Portlet. This library is based on work of Markus Feindler, Le Xuan Trun and Kristina B. Taylor (see http://code.google.com/p/tapestry5portlet/ for more details). Like Felix Scheffer (http://code.google.com/p/tapestry5-portlet-support/ for m

Use page message catalog in custom component

2012-04-17 Thread Beat Durrer
Hi all I am refactoring some page which have very similar forms. I thought it would be clever to make a custom component, which contains a collection of preconfigured form elements. Some of those fields need page specific field names (the field stay the same). How can I make page specific message

Re: Live Class and Template Reloading using jetty and Intellij

2012-04-17 Thread raphael stary
hey folks http://tapestry.apache.org/class-reloading.html there it says that class reloading from a JAR is not working. So when you have a more complex project (probably with more than one modules) all the modules are packed to JARs and they go into your WAR exploded. With eclipse this works well

Re: Server Side Validation with ajax form loop work around

2012-04-17 Thread David Canteros
I have done a quick test and it works perfectly! Thanks Geoff! -- David Germán Canteros 2012/4/12 Geoff Callender > Hi all, > > I've taken on board all the suggestions and observations here about > AjaxFormLoop problems and fixes

Re: File System Asset Factory help needed and petition wanted

2012-04-17 Thread arterzatij
bhorvat wrote > > > arterzatij wrote >> >> And what is the better approach in order to upload files to a web app >> without using DBs and file system? >> > > Hi, > > Can you please check out my "solution" and try to figure out what is > wrong. It is like the MIME of the file is set wrong so

Re: Tapestry with Spring

2012-04-17 Thread arterzatij
It works thanks! And how do I need to inject a service to call it from an static method? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-with-Spring-tp5574749p5646920.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Reuse Edit/Create

2012-04-17 Thread Thiago H. de Paula Figueiredo
On Mon, 16 Apr 2012 23:50:16 -0300, netdawg wrote: Thanks, Thiago. :) I think I understand the logic/strategy: "If there's a context value passed, it is the id of an object to be edited. If not, we're going to create a new object". In the above code, just changing @Persist("entity") to

Re: File System Asset Factory help needed and petition wanted

2012-04-17 Thread trsvax
https://github.com/trsvax/tapestry-aws-core. This project has code for getting objects in/out of S3 https://github.com/trsvax/Blog If you just want to serve images/movies you can just make them public and serve them straight from s3 with a url like https://s3.amazonaws.com/assets.judypaul.com/w

Re: Not serializable: org.apache.tapestry5.tree.TreeExpansionModel

2012-04-17 Thread Felix Gonschorek
Am 17.04.2012 10:06, schrieb Lance Java: > That just flags that you don't have enough test coverage then ;) haha, you got me ;) > Running through the object reflectively won't work. In the case of > List the generic type is lost at runtime through type erasure. you're right. more unit tests it

Re: Not serializable: org.apache.tapestry5.tree.TreeExpansionModel

2012-04-17 Thread Lance Java
That just flags that you don't have enough test coverage then ;) Running through the object reflectively won't work. In the case of List the generic type is lost at runtime through type erasure.

Re: Not serializable: org.apache.tapestry5.tree.TreeExpansionModel

2012-04-17 Thread Felix Gonschorek
Am 17.04.2012 09:32, schrieb Lance Java: > A simpler option could be to serialize the data to a temp OutputStream > instead of checking instanceof Serializable. yeah, but as i wrote: you wont catch nested non serializable data this way, if it is not instantiated. @SessionState private Cart cart;

Re: File System Asset Factory help needed and petition wanted

2012-04-17 Thread Lance Java
> So what would you choice be? I know that no database manifacture actually recommend to store the files into DB. Say that you have huge files, or a lot of them and your db is on another server, it is a lot of mess. Caveat: I must admit that i've never needed to deal with large blobs (eg video) be

Re: Not serializable: org.apache.tapestry5.tree.TreeExpansionModel

2012-04-17 Thread Lance Java
A simpler option could be to serialize the data to a temp OutputStream instead of checking instanceof Serializable.

Re: Not serializable: org.apache.tapestry5.tree.TreeExpansionModel

2012-04-17 Thread Felix Gonschorek
Am 16.04.2012 09:44, schrieb Lance Java: > I think that SeleniumTestCase should inject a Session implementation that > fails when setAttribute() is called with a non-Serializable object so that > we can catch this in the future that would be a start, but you won't catch nested (uninitialized, non