How to display images in a grid componet?

2010-04-16 Thread 啊酒
Guys, I want to display images in a grid component. Those images are from a database, and I use a componet import java.awt.image.BufferedImage; import java.io.IOException; import java.io.OutputStream; import javax.imageio.ImageIO; import org.apache.tapestry5.ComponentResources; import

Re: How to display images in a grid componet?

2010-04-16 Thread Stephan Windmüller
On 16.04.2010 08:07 啊酒 wrote: Any suggestions? Did you place the grid inside a form? You could try to add an encoder or setting the volatile parameter to true. HTH Stephan - To unsubscribe, e-mail:

Re: FormClientPersistence for Tapestry5

2010-04-16 Thread P . Stavrinides
Hi Stephan If you do implement it please post a wiki article or something... this is a classic persistence strategy used heavily by platforms like ColdFusion (since version 3 and probably earlier), imho it would be a quite useful. Cheers, Peter - Original Message - From: Thiago H. de

Re: FormClientPersistence for Tapestry5

2010-04-16 Thread Stephan Windmüller
On 16.04.2010 08:51 p.stavrini...@albourne.com wrote: Oups. It seems that I misunderstood the description. What I wanted was persisting values into hidden form field instead of the session. It would only work inside a page. If you want to implement it, implement a PersistentFieldStrategy and

Re: How to display images in a grid componet?

2010-04-16 Thread 啊酒
No, I didn't put it inside a form. I set the volatile parameter to true, but just got the error. And the encoder in a grid has a type of ValueEncoder, which doesn't work here? 2010/4/16 Stephan Windmüller stephan.windmuel...@cs.tu-dortmund.de On 16.04.2010 08:07 啊酒 wrote: Any suggestions?

Getting default validation messages from Messages service

2010-04-16 Thread Stephan Windmüller
Hello! Since it seems to be impossible to deactivate validation for single buttons of a form component, I want to do validation manually in onValidateForm. For this I need the default validation error messages, but I cannot receive them through the message service.

Re: Getting default validation messages from Messages service

2010-04-16 Thread Kristian Marinkovic
you have to obtain your messages object from ValidationMessagesSource g, kris Von:Stephan Windmüller stephan.windmuel...@cs.tu-dortmund.de An: users@tapestry.apache.org Datum: 16.04.2010 11:29 Betreff:Getting default validation messages from Messages service Hello! Since

Re: Getting default validation messages from Messages service

2010-04-16 Thread Stephan Windmüller
On 16.04.2010 11:34 Kristian Marinkovic wrote: you have to obtain your messages object from ValidationMessagesSource Thanks, that helped using messages.format. Regards Stephan - To unsubscribe, e-mail:

onchange force page submit

2010-04-16 Thread asianCoolz
my html code at http://codepaste.net/b6ormu when onchange on selectbox, this form will be submitted and my pageValidate() will be called follow by upadteStaff() listener method. I wonder, when such submission is fired, can onchange='' pass a flag ('selectboxisfired' string) that i able to

Re: 5.0.1.8 Download?

2010-04-16 Thread Peter Stavrinides
Is 5.0.1.8 a release candidate yet, are you planning to vote on it? cheers, Peter - Original Message - From: xfile80303 l...@grokers.net To: users@tapestry.apache.org Sent: Thursday, 1 April, 2010 19:26:48 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: 5.0.1.8 Download?

Re: multipage grid with select all button

2010-04-16 Thread Andreas Andreou
that's the fun part with cookies - you dont have to make them interact during form submittion - they are sent to the server on every request (even images, e.t.c. of course that also has pitfalls... and explains why most high traffic sites choose to server resources from a cookieless (sub)domain)!

Re: multipage grid with select all button

2010-04-16 Thread Norman Franke
I've actually done things like this for queries and adding a query to a list of items to process. I have a checkbox to select all on the screen, which is just pure Prototype javascript. I then have a link called add entire query that re-runs the query and adds the results to the queue.

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-16 Thread Charith Madusanka
Hi Alex, in my opinion, you shouldn't worry about the app engine, it's a special case. If you work it out for the general tapestry case where the PDF is read from a file or a stream, that'll be plenty. Thank for your reply.Now I'm on the way succeed my work. If you have any suggestion

Re: Remove style sheet links

2010-04-16 Thread Christophe Cordenier
Hi Maybe, you can have a look at http://tapestry.formos.com/nightly/tapx/tapx-templating/ Regards, Christophe Cordenier. 2010/4/15 Christoph Jäger christoph.jae...@derwald.at Hi, I have some pages in my webapp, which are really only used as templates for creating the content of an HTML

Tapestry 5.1.0.5 Google App Engine

2010-04-16 Thread Michael Taylor
Hello Tapestry Users, I’ve been playing around with getting Tapestry 5.1.0.5 working on Google App Engine and I’m having a issue with running it on the DevApp server. Essentially the DevApp server uses a custom class loader to simulate the class loading restrictions imposed by GAE. It looks as

Re: Documentation Request/Suggestion

2010-04-16 Thread Markus Feindler
So?? Howard? So a community-driven documentation effort is out of the question unless we come up with a system or procedure that complies with ASF rules. We could just require to sign a CLA for people that want to help out with documentation. This would mean to give rights to

Re: Extra input field after ajax returning MultiZoneUpdate

2010-04-16 Thread Adam Derkey
Was this the right list to send this to? Should I send to the dev list or open a jira ticket? On Wed, Apr 14, 2010 at 3:58 PM, Adam Derkey adam.der...@gmail.com wrote: Using Tapestry 5.2.0-SNAPSHOT I'm updating multiple zones after a select on Change event. The JSON response is including an

Re: Tapestry 5.1.0.5 Google App Engine

2010-04-16 Thread Alex Kotchnev
Mike, what version of GAE are you using ? T 5.1.0.5 still has an issue that prevents it from running out of the box. Search for GAE on this list to find it. The issue is fixed in 5.2 and works like magic ( I'm using the 5.2 snapshot build w/ GAE 1.3.0) There are a number of T5 apps

Re: Documentation Request/Suggestion

2010-04-16 Thread Howard Lewis Ship
Howard is stuck in London due to Volcano. Never thought that'd be my status. Howard is also jet-lagged, exhausted and sick. On Fri, Apr 16, 2010 at 11:24 AM, Markus Feindler markus.feind...@gmx.de wrote: So?? Howard? So a community-driven documentation effort is out of the question unless

Re: Tapestry 5.1.0.5 Google App Engine

2010-04-16 Thread Christian Edward Gruber
Actually, we're going to use 5.2 (I'm working with Mike Taylor on this) We'll check the list archives, but a lot of what we're seeing seems related on first blush, but isn't related, because we can't get to the problem solved in those e-mails (we're not getting the main page component

Re: Documentation Request/Suggestion

2010-04-16 Thread Markus Feindler
Howard may be forgiven :) Howard is stuck in London due to Volcano. Never thought that'd be my status. Howard is also jet-lagged, exhausted and sick. On Fri, Apr 16, 2010 at 11:24 AM, Markus Feindler markus.feind...@gmx.de wrote: So?? Howard? So a community-driven documentation

Re: Tapestry 5.1.0.5 Google App Engine

2010-04-16 Thread Alex Kotchnev
I haven't used the 1.3.2 release, as switching between the point releases always requires a bit of this unpleasant hacking / setup and the possibility of new issues. Here are the issues that I remember having to deal with (historically, not all of them might be an issue right now): * Replace the

Re: How do I set up logging with Tapestry 5 and Tomcat?

2010-04-16 Thread Peter Stavrinides
You need a log4j.properties file in $CATALINA_HOME/lib Or in the classes directory at runtime... to ensure its always in the right place simply put the log4j.properties or log4j.xml file is in the src/main/resources root folder. regards, Peter - Original Message - From: Tim Koop

Re: 5.0.1.8 Download?

2010-04-16 Thread xfile80303
Hi Peter, I'm not following the release schedule so I can't say, and I've finished up with that project now so will be moving on to other things. Best of luck, Levi -- View this message in context: http://n2.nabble.com/5-0-1-8-Download-tp4832734p4915245.html Sent from the Tapestry Users

Re: Extra input field after ajax returning MultiZoneUpdate

2010-04-16 Thread Howard Lewis Ship
I've been tracking this problem; there's a timing issue when Tapestry adds a hidden field to store the t:formdata; the DOM is being streamed to characters after the input field is added to the DOM, but before it is fully configured. It's deeply tricky stuff. On Fri, Apr 16, 2010 at 11:28 AM,