description of grid's volatile parameter wrong?

2009-08-13 Thread Ulrich Stärk
While going through the component reference, I found the following description for Grid's volatile parameter: "If true and the component is enclosed by a Form, then the normal state saving logic is turned off. Defaults to false, enabling state saving logic within Forms. This can be set to false

Re: [T5] Security of files in the classpath

2009-08-13 Thread kartweel
Hi Guys, Sorry to pull up an old thread, but there doesn't seem to be a lot about this topic. Was there ever a nice solution implemented for this? 2 years of tapestry framework development later and I can still download all my class files. I've restricted assets to "authenticated users" using a me

Re: About Tapestry HttpServletRequest

2009-08-13 Thread Thiago H. de Paula Figueiredo
You're trying to use a Tapestry page as if it was a servlet. Tapestry pages are not servlets nor JSP files. Even Tapestry itself is not a servlet, being a servlet filter. Use tapestry-upload (http://tapestry.apache.org/tapestry5.1/tapestry-upload/) to handle file uploads. -- Thiago H. d

Re: dynamic images

2009-08-13 Thread Thiago H. de Paula Figueiredo
Em Thu, 13 Aug 2009 16:43:03 -0300, Gutemberg Albuquerque Da Silva escreveu: how do I do upload of images into 'WebContent' dynamically and I show in an user add form or I create an e-commerce with dynamic images in a images field? Use the tapestry-upload project to do handle the upload

dynamic images

2009-08-13 Thread Gutemberg Albuquerque Da Silva
how do I do upload of images into 'WebContent' dynamically and I show in an user add form or I create an e-commerce with dynamic images in a images field? -- Gutemberg Albuquerque Da Silva

Re: T5.1 If/Conditional against a method?

2009-08-13 Thread Michael Gentry
Thanks Thiago/Robert! Both of your suggestions worked (although I had to change the method to public instead of protected for both). I didn't try Norman's (although I'm sure OGNL would be fine) because I'm not using CK (at least not yet). mrg On Thu, Aug 13, 2009 at 1:02 PM, Robert Zeigler wro

About Tapestry HttpServletRequest

2009-08-13 Thread sohu
I met a problem. I upload files from a page. In the tranditional servlet, all things are right. The code is : public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { DiskFileItemFactory factory = new DiskFileItemFactory(); // set

Re: T5.1 If/Conditional against a method?

2009-08-13 Thread Robert Zeigler
If you want the method to be showFoo(), then you need to do test="showFoo()". But you can use test="showFoo" if showFoo() is renamed to isShowFoo, iff you change the accessor to public (from protected). That is, for property access, tapestry is following java beans conventions, and a property

Re: T5.1 If/Conditional against a method?

2009-08-13 Thread Norman Franke
On Aug 13, 2009, at 12:47 PM, Thiago H. de Paula Figueiredo wrote: Em Thu, 13 Aug 2009 13:34:01 -0300, Michael Gentry > escreveu: Hi all, Hi! ... Try Notice the parenthesis. Without them, Tapestry looks for get or is methods. -- Thiago H. de Paula Figueiredo Independent Java con

Re: T5.1 If/Conditional against a method?

2009-08-13 Thread Thiago H. de Paula Figueiredo
Em Thu, 13 Aug 2009 13:34:01 -0300, Michael Gentry escreveu: Hi all, Hi! ... Try Notice the parenthesis. Without them, Tapestry looks for get or is methods. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thia

T5.1 If/Conditional against a method?

2009-08-13 Thread Michael Gentry
Hi all, I've been searching the documentation/examples/list all morning, but can't find an answer to this so far. Can T5.1 do a conditional against a method instead of a variable (property)? I have something like: ... For the Java, I have tried numerous varieties of: protected boolean showFoo

Re: User/error message that are not validation errors

2009-08-13 Thread Thiago H. de Paula Figueiredo
Em Thu, 13 Aug 2009 04:19:31 -0300, escreveu: Hi list, Hi! Normally, after a submit, the same page should be re-displayed with updated data. I'm not sure how to incorporate the messages there. I created a simple Message component. It has a message parameter (String). If the message is n

Re: Organisation of Tapestry documentation

2009-08-13 Thread Paulo Marcelo
I agree. Paulo Marcelo He who asks is a fool for five minutes, but he who does not ask remains a fool forever. Chinese Proverb 2009/8/12 Szemere Szemere > +1 >

tapx-templating: using it in a t5 webapp possible

2009-08-13 Thread Andy Pahne
Hello, I'd like to use tapx-templating to generate some content. I want to integrate it into an existing t5 app (just for convenience). Unfortunatly when I try that, the hosting t5 application won't work anymore as expected, especially assets won't be found. Is it possible to use the actual

Re: tapestry request processing diagram

2009-08-13 Thread Ulrich Stärk
https://issues.apache.org/jira/browse/TAP5-814 On 12.08.2009 17:12 schrieb Ulrich Stärk: I'll write a patch... Uli On 12.08.2009 04:42 schrieb Geoff Callender: Very nice. Deserves a place in the official doco. On 12/08/2009, at 4:57 AM, Ulrich Stärk wrote: Thiago H. de Paula Figueiredo sch

Pagination component for Tapestry4

2009-08-13 Thread Marko Mrkus
Hello! I'm working on one project with Tapestry 4 which makes heavy use of paginated lists. They are at least 10 lists of different items in project. This paginated lists have coulumns, optional filter and sorting upon some columns. I though of this in this way: Application service return

Re: Tapestry 5.1 running in Google App Engine (GAE)

2009-08-13 Thread Christian Köberl
akochnev wrote: > > Christian, >can you jot down a few instructions on getting this done ? Is this the > T5.1 out of SVN ? Or is this just following the instructions that someone > (maybe you) posted a few weeks ago ? > I will write instructions on my blog in the next days (always too littl

Re: User/error message that are not validation errors

2009-08-13 Thread Ulrich Stärk
My Layout component has a message parameter of type Block that gets displayed if set. Pages that should display messages derive from a base class with a message page property of type string. In the page's template I then bind Layout's message parameter to the page's message property (coercion fro

User/error message that are not validation errors

2009-08-13 Thread dirk . lattermann
Hi list, while trying to grasp the "tapestry way of doing things", I stumbled on this question: I want to show a message in response to a submit. It is not a result of validation, but rather of the database state which is detected during data manipulation in the onSuccess event. For example,

Re: Tapestry 5.1 running in Google App Engine (GAE)

2009-08-13 Thread Otho
It's already in: http://code.google.com/p/googleappengine/issues/detail?id=1480 Maybe everybody affected shoul star it, too. 2009/8/13 Christian Edward Gruber > This apparently happens on 5.0.x as well, and seems to be a problem in the > classloading on the local development server. Apparently