Re: t5: using Tapestry with Memcached

2010-12-23 Thread Dmitry Gusev
Here is a few scenarios I when used memcached with T5: http://dmitrygusev.blogspot.com/2010/09/tapestry5-caching-method-results.html http://dmitrygusev.blogspot.com/2010/09/tapestry5-caching-method-results.html http://dmitrygusev.blogspot.com/2010/09/gae-and-tapestry5-data-access-layer.html On

Re: A more general approach to configuring for compatibility

2010-12-23 Thread Michal Gruca
There are three that I know of that may be used to achieve that First is Wookie (Apache licence) Second one is jumpstart (also open source, don't know what licence though) Third is hotel bookmarking application I know that two of those are made as a demo apps, but they contain a lot of T5

Re: Tapestry localized messages in portuguese (pt_BR)

2010-12-23 Thread Matheus Eduardo Machado Moreira
Problem solved. Just added a ValidationMessages_pt_BR.properties in the root of the classpath with translated messages and it worked. I thought that Tapestry's message catalog would be used when integrated with Bean Validation but this is not the case. Atenciosamente, Matheus Eduardo

Re: Need help upgrading JumpStart examples to Tapestry 5.2

2010-12-23 Thread Geoff Callender
The code for each example is there in each demo and the complete project is fully downloadable. Always has been! http://jumpstart.doublenegative.com.au/download.html Am I missing something? Cheers, Geoff On 23/12/2010, at 4:15 AM, Taha Hafeez wrote: I would love to !! Just share

RE: Strange behaviour of jetty

2010-12-23 Thread Jens Reufsteck
Thanks for your answers. Taking out the auto-clean plugin, which I had set earlier for some reason, seems to solve the problem. Though, I don't understand, why it comes in without requesting maven to do any kind of build. Jetty's reload wasn't enabled. Regards Jens -- Jens Reufsteck

plupload with Tapestry

2010-12-23 Thread raulmt
Hi, I'm integrating plupload (http://www.plupload.com/) with Tapestry and I cannot find a solution to the last step. Plupload expects a response in JSON format but the request it sends to Tapestry with the uploaded file is a traditional request (because Ajax requests cannot send files unless the

BeanValidator Unable to find a default provider

2010-12-23 Thread mwilliamson
I am converting a Tapestry app from 5.0.18 to 5.2.4 and I am getting this error. Error invoking constructor org.apache.tapestry5.internal.beanvalidator.BeanValidatorSourceImpl(List) (at BeanValidatorSourceImpl.java:31) via

Re: plupload with Tapestry

2010-12-23 Thread P . Stavrinides
Hi Raul, I think if you use a Byte array or ByteArrayOutputStream then you can use a JSONEncoder to encode and decode transmission to plupload. This shouldn't be too hard to get working, if you post your code you might get a more practical answer. PS: That library looks rather promising!

Re: plupload with Tapestry

2010-12-23 Thread Josh Canfield
You can definitely render JSON as the response to a traditional request. Take a look in TapestryModule for the result processors. By default only the @Ajax configuration includes json, but you can add it in your app module for the @Traditional config. I don't have an answer for blocks off the top

Re: BeanValidator Unable to find a default provider

2010-12-23 Thread Igor Drobiazko
Did you put an implementation of the bean validation api (e.g. Hibernate validator) on the classpath? On Thu, Dec 23, 2010 at 3:48 PM, mwilliam...@kcp.com wrote: I am converting a Tapestry app from 5.0.18 to 5.2.4 and I am getting this error. Error invoking constructor

Re: T5.2 Upgrade from 5.1, @Persist on a page causes errors

2010-12-23 Thread nick567
Thanks for the info, I added an issue to change the error message. https://issues.apache.org/jira/browse/TAP5-1386 Not sure about storing the id/pagename when it's marked @Persist, that sounds like it's asking for trouble! :) Thanks, Nick -- View this message in context:

Re: BeanValidator Unable to find a default provider

2010-12-23 Thread mwilliamson
I have one but it is not Hibernate. (See attached file: validation-api-1.0.0.GA.jar) Michael Williamson Analyst Sr Applications Developer Phone: 816/997-5994

Re: BeanValidator Unable to find a default provider

2010-12-23 Thread Igor Drobiazko
validation-api-1.0.0.GA.jar is the API. You need to provide an implementation. On Thu, Dec 23, 2010 at 5:05 PM, mwilliam...@kcp.com wrote: I have one but it is not Hibernate. (See attached file: validation-api-1.0.0.GA.jar) Michael Williamson Analyst Sr Applications Developer Phone:

Re: T5.2 Upgrade from 5.1, @Persist on a page causes errors

2010-12-23 Thread Thiago H. de Paula Figueiredo
On Thu, 23 Dec 2010 13:54:12 -0200, nick567 tnus...@gmail.com wrote: https://issues.apache.org/jira/browse/TAP5-1386 Not sure about storing the id/pagename when it's marked @Persist, that sounds like it's asking for trouble! :) I can't see why this would be more trouble the any other use of

Re: BeanValidator Unable to find a default provider

2010-12-23 Thread mwilliamson
Do you know where there are examples of this. I don't understand what this is. Michael Williamson Analyst Sr Applications Developer Phone: 816/997-5994

Re: Need help upgrading JumpStart examples to Tapestry 5.2

2010-12-23 Thread Christian Riedel
No, I thought it would be easier to merge changes back to your code repo if people could generate patches. On github people could send you a pull request with their changes. Well, no problem if you don't like that idea ;-) Am 23.12.2010 um 13:48 schrieb Geoff Callender: The code for each

Re: BeanValidator Unable to find a default provider

2010-12-23 Thread Robert Zeigler
5.2 added support for the bean validation JSR. If you're not using the bean validator annotations, just exclude the bean validator module. Robert On Dec 23, 2010, at 12/2310:16 AM , mwilliam...@kcp.com wrote: Do you know where there are examples of this. I don't understand what this is.

Re: BeanValidator Unable to find a default provider

2010-12-23 Thread mwilliamson
Thanks Robert, that solved my problem. Michael Williamson Analyst Sr Applications Developer Phone: 816/997-5994 From: Robert Zeigler

Paginate AjaxFormLoop

2010-12-23 Thread hese
Hi, Is there a way to paginate an AjaxFormLoop? I read a post (Sep 2009) which says it is not possible. But hope something is possible now! Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Paginate-AjaxFormLoop-tp3316704p3316704.html Sent from the Tapestry -

Re: BeanValidator Unable to find a default provider

2010-12-23 Thread Pablo dos Reis
Hi Michael, Do you have many problems in the convertion? I'll want to convert one app from 5.0.10 to 5.2.4. But the app size is a big problem for do it. 2010/12/23 mwilliam...@kcp.com Thanks Robert, that solved my problem. Michael Williamson Analyst Sr Applications Developer Phone:

Re: BeanValidator Unable to find a default provider

2010-12-23 Thread mwilliamson
I have convected my 5.0 app to 5.2. The major problem was the BeanValidator and that was something I should have spotted right away. Most of the work was replacing the deprecated items. All of these I replaced with there new equivalents with no problems. I am still testing but so far I have

KaptchaImage TapX

2010-12-23 Thread raulmt
Hi, I did not find a place to file an issue or something like that, so I'll write it here: I'm using the Captcha components of Tapx project, and I think the KaptchaImage component has a problem with Ajax requests. If you use a Captcha in a form associated to a Zone and you make a mistake in the

Re: T5.2 Upgrade from 5.1, @Persist on a page causes errors

2010-12-23 Thread nick567
Thiago H. de Paula Figueiredo wrote: I can't see why this would be more trouble the any other use of session persistence. Just so I'm not misunderstood, we will be taking the recommended approach of storing the page name, rather than the instance. Howard put forth the idea of possibly

Re: T5.2 Upgrade from 5.1, @Persist on a page causes errors

2010-12-23 Thread Igor Drobiazko
You can create a PageCallback instance and store it into the session. See here: http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/PageCallback.html On Thu, Dec 23, 2010 at 8:47 PM, nick567 tnus...@gmail.com wrote: Thiago H. de Paula Figueiredo wrote: I can't see why this

Re: KaptchaImage TapX

2010-12-23 Thread Howard Lewis Ship
Thanks! I'll look into fixing that. I'm sorry that the TapX web site isn't up to date ... I've been moving the code from Maven to Gradle and from SVN to Git (on GitHub). Alas, I've been too busy with clients (and my ten-month old son) to get this up to date ... the code is under active work

error when trying to use the components tapx

2010-12-23 Thread Pablo Borges
I'm trying to add tapx using maven. added the repositories repository id tapestry360-stable / id url http://tapestry.formos.com/maven-repository / url / repository repository id tapestry360-snapshot / id url

Problem with StreamResponse and Ajax

2010-12-23 Thread iberck
I'm using T5.2.4 I have a page with ajax (zones and actions) and I have to generate a excel file when a user clicks on actionlink. If I add a zone in the actionlink that generates the StreamResponse the excel file is never generated but if I use an actionlink without zone the excel file is

Re: [jira] Created: (TAPESTRY-2774) GridPager should be able to display which items are display

2010-12-23 Thread Nicolas Bouillon
I'm affraid i may have created this issue in the wrong tapestry project... i picked the wrong version by mistake, and i can't find the tapestry 5.1 version i use. And moreover, it could be a duplicate of https://issues.apache.org/jira/browse/TAP5-1151 i filled months ago (and forgot !) On Thu,

Re: error when trying to use the components tapx

2010-12-23 Thread Howard Lewis Ship
I don't know ... I just build from source :-) See my previous posting; I'm just too short on time to deal with those build issues this week. On Thu, Dec 23, 2010 at 12:58 PM, Pablo Borges pablosbor...@gmail.comwrote: I'm trying to add tapx using maven. added the repositories repository

Re: Problem with StreamResponse and Ajax

2010-12-23 Thread Thiago H. de Paula Figueiredo
On Thu, 23 Dec 2010 19:15:40 -0200, iberck ibe...@gmail.com wrote: I'm using T5.2.4 I have a page with ajax (zones and actions) and I have to generate a excel file when a user clicks on actionlink. If I add a zone in the actionlink that generates the StreamResponse the excel file is never

Re: Problem with StreamResponse and Ajax

2010-12-23 Thread iberck
Thank you for the reponse Thiago So can't I generate a stream file and then use ajax request in the same page? Thanks in advance -- View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-with-StreamResponse-and-Ajax-tp3316957p3317114.html Sent from the Tapestry - User

Re: Problem with StreamResponse and Ajax

2010-12-23 Thread Robert Zeigler
probably your best bet would be to stream the ajax response and then as part of the ajax response, have a hidden link that is called after the ajax response is sent, and /that/ triggers the excel file generation. You can't have two different responses to the same request... but you can chain a

Re: Problem with StreamResponse and Ajax

2010-12-23 Thread iberck
Robert Zeigler-6 wrote: probably your best bet would be to stream the ajax response and then as part of the ajax response, have a hidden link that is called after the ajax response is sent, and /that/ triggers the excel file generation. You can't have two different responses to the same

Re: translators in 5.2, and re-use as formatters

2010-12-23 Thread Paul Stanton
Thanks Bryan, Yes it seems this is some functionality that has been victim of some other architectural concept. This is confusing and disappointing to me - I see it as a key facility that should be provided by the framework since one of the key tasks (you could argue the key task) of web