Re: FormClientPersistence for Tapestry5

2010-04-15 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: How to display images in a grid componet?

2010-04-15 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: users-unsubscr...@tape

How to display images in a grid componet?

2010-04-15 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 org.apach

Re: multipage grid with "select all" button

2010-04-15 Thread Yury Luneff
> i've done something like this once (outside tapestry) using cookies to store > the selections (which were basically the entity ids) - then added some js > to make each checkbox checked if needed. > This keeps each page's selections fine. > Additionally, as soon as a page's checkboxes are all ch

[ANN] JumpStart 4.6 released

2010-04-15 Thread Geoff Callender
Hi all, JumpStart 4.6 is now available. It has new examples of CRUD, Protecting Pages, and Protecting Assets, and it has all the improvements released last week in 4.5.3. Use it live: http://jumpstart.doublenegative.com.au:8080/jumpstart/ or download it: http://jumpstart.d

Remove style sheet links

2010-04-15 Thread Christoph Jäger
Hi, I have some pages in my webapp, which are really only used as templates for creating the content of an HTML email. Now, I do not want to have any external links in this page (because in the email, external links will not be resolved anyhow). But Tapestry always includes its own style-sheet

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

2010-04-15 Thread Alex Kotchnev
Charith, 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. Regards, Alex K On Thu, Apr 15, 2010 at 3:16 PM, Charith Madusanka wrote: > Hi Thiago and U

Re: multipage grid with "select all" button

2010-04-15 Thread Andreas Andreou
i've done something like this once (outside tapestry) using cookies to store the selections (which were basically the entity ids) - then added some js to make each checkbox checked if needed. This keeps each page's selections fine. Additionally, as soon as a page's checkboxes are all checked, i w

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

2010-04-15 Thread Charith Madusanka
Hi Thiago and Uli, Thank you very much for your comments. They are very helpful for me. Now I'm planning to show the pages to the user by using StreamResponse and also looking for App Engine problem. Thanx charith

Re: multipage grid with "select all" button

2010-04-15 Thread Matheus Eduardo Machado Moreira
2010/4/15 Thiago H. de Paula Figueiredo > On Thu, 15 Apr 2010 10:38:19 -0300, Yury Luneff wrote: > > yes, sure, but you can't select elements by class that are physically >> not on this page now (another page of grid, both inline=true or false) >> > > Why would you want to select something that

Re: multipage grid with "select all" button

2010-04-15 Thread Yury Luneff
> i guess i just need a persisted property on the page of default > selection value and use it in "get" property for checkbox value. And > change this property from action link or smth. A page reload, but it > seem to be right thing. It is almost ok, but when grid switches pages, noone on serve

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

2010-04-15 Thread Charith Madusanka
hi Piero maybe PDFBox could be used? > > -> http://pdfbox.apache.org/ nice tip... thanx charith

Re: Antwort: Why SubModule exported by eclipse can't auto loaded it's pages/* ? but sub module packaged by maven can be loaded?

2010-04-15 Thread 董和平
I retry some options in Eclipse, found the option in exporting jars: Options: Add directory entries I select this option and solve the problem! Thanks for your helps! The problem can be closed! -- From: "Christophe Cordenier" Sent: Thursday, April

Re: multipage grid with "select all" button

2010-04-15 Thread Yury Luneff
> i've meant not quite that, but it is close. The topic is "select all > button" -- select all once, then user deselects uninteresting rows. > For ex, there maybe 50 rows on two pages and user may want not to have > just 2 or 3 of them in the report. So he presses "select all", all of > 50 recor

Re: multipage grid with "select all" button

2010-04-15 Thread Yury Luneff
> On Thu, 15 Apr 2010 10:55:20 -0300, Yury Luneff wrote: >> I have rows i'd like to see in my report. Most probably, I would like >> to select them all, but perhaps I just need to drop out some >> uninteresting records (such as guys that already had their payment or >> so). So that user would dec

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

2010-04-15 Thread Tim Koop
Good question. I don't know the answer. It might have something to do with the fact that I put all my Tapestry jars in a common Tomcat lib directory. It might be different if you put them all in your application's lib directory. That way log4j would only start looking for log4j.properties w

Re: multipage grid with "select all" button

2010-04-15 Thread Thiago H. de Paula Figueiredo
On Thu, 15 Apr 2010 10:55:20 -0300, Yury Luneff wrote: I have rows i'd like to see in my report. Most probably, I would like to select them all, but perhaps I just need to drop out some uninteresting records (such as guys that already had their payment or so). So that user would decide if he ne

Re: multipage grid with "select all" button

2010-04-15 Thread Yury Luneff
Actually use case is something like that: I have rows i'd like to see in my report. Most probably, I would like to select them all, but perhaps I just need to drop out some uninteresting records (such as guys that already had their payment or so). So that user would decide if he needs that reco

Re: multipage grid with "select all" button

2010-04-15 Thread Yury Luneff
i'll see if ioko-tapestry-commons/tapestry-mixins/ BoundCheckBox helps :) Other ideas are in great welcome. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.ap

Re: multipage grid with "select all" button

2010-04-15 Thread Thiago H. de Paula Figueiredo
On Thu, 15 Apr 2010 10:38:19 -0300, Yury Luneff wrote: yes, sure, but you can't select elements by class that are physically not on this page now (another page of grid, both inline=true or false) Why would you want to select something that is not shown? It seems quite error-prone and not in

Re: multipage grid with "select all" button

2010-04-15 Thread Yury Luneff
> Maybe the info is in this list, but I seem to be blind to that. > I want to make a grid of entities with checkbox column. That's easy -- > jumpstart proposes "set..." that is called for each row so I could see > what rows are selected. > But I want also something to select all rows in a grid an

multipage grid with "select all" button

2010-04-15 Thread Yury Luneff
Maybe the info is in this list, but I seem to be blind to that. I want to make a grid of entities with checkbox column. That's easy -- jumpstart proposes "set..." that is called for each row so I could see what rows are selected. But I want also something to select all rows in a grid and select

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

2010-04-15 Thread Ulrich Stärk
That's one of the tasks that have to be done: evaluating existing libraries. On 15.04.2010 14:49, Piero Sartini wrote: maybe PDFBox could be used? -> http://pdfbox.apache.org/ - To unsubscribe, e-mail: users-unsubscr...@tapes

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

2010-04-15 Thread Piero Sartini
maybe PDFBox could be used? -> http://pdfbox.apache.org/ - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

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

2010-04-15 Thread Thiago H. de Paula Figueiredo
On Thu, 15 Apr 2010 00:56:00 -0300, Charith Madusanka wrote: hi Uli and Thiago , Hi! What do you think about this method. Is this method is ok for render PDF file to Images ? I think that's the only viable way of doing it without delegating the rendering to Google. -- Thiago H. de P

Re: Form component created invalid XHTML code

2010-04-15 Thread Howard Lewis Ship
This is already fixed in 5.2. On Thu, Apr 15, 2010 at 4:58 AM, Stephan Windmüller wrote: > On 15.04.2010 13:53, Ulrich Stärk wrote: > >>> A form component specified with >>> >>> creates a form tag with the parameter "name" set. This is not allowed in >>> XHTML 1.0 Strict. Is this a bug in Tapest

Re: Form component created invalid XHTML code

2010-04-15 Thread Stephan Windmüller
On 15.04.2010 13:53, Ulrich Stärk wrote: A form component specified with creates a form tag with the parameter "name" set. This is not allowed in XHTML 1.0 Strict. Is this a bug in Tapestry or am I missing something? > what doctype have you specified for your template? This one: "http://www.

Re: Form component created invalid XHTML code

2010-04-15 Thread Ulrich Stärk
what doctype have you specified for your template? On 15.04.2010 13:28, Stephan Windmüller wrote: Hello! A form component specified with creates a form tag with the parameter "name" set. This is not allowed in XHTML 1.0 Strict. Is this a bug in Tapestry or am I missing something? Regards St

Form component created invalid XHTML code

2010-04-15 Thread Stephan Windmüller
Hello! A form component specified with creates a form tag with the parameter "name" set. This is not allowed in XHTML 1.0 Strict. Is this a bug in Tapestry or am I missing something? Regards Stephan - To unsubscribe, e-ma

Re: Antwort: Why SubModule exported by eclipse can't auto loaded it's pages/* ? but sub module packaged by maven can be loaded?

2010-04-15 Thread Christophe Cordenier
Hi I guess you have to contribute the LibraryMapping service to allow your application to access to pages embedded in your library. Regards Christophe Cordenier. 2010/4/15 董和平 > But I annotation it in AppModule like this: > @SubModule(com.gsww.subapp.SubappModule.class) > public class AppModul

Re: Antwort: Why SubModule exported by eclipse can't auto loaded it's pages/* ? but sub module packaged by maven can be loaded?

2010-04-15 Thread Kristian Marinkovic
why doesnt the SubappModule contribute the LibraryMapping itself? why do you have to access the resources yourself? Tapestry 5 is enhancing component, page and mixin classes. therefore it uses an own classloader. i guess this is the reason why you can't find the classes. g, kris Von:??? A

Re: Antwort: Why SubModule exported by eclipse can't auto loaded it's pages/* ? but sub module packaged by maven can be loaded?

2010-04-15 Thread 董和平
But I annotation it in AppModule like this: @SubModule(com.gsww.subapp.SubappModule.class) public class AppModule { . } I trace into ComponentClassResolverImpl'class , the ClassLoader.getResources("com/gsww/subapp/pages") can't found this package URLs. I think because the jar exported by ecl

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

2010-04-15 Thread Ivano Luberti
But if I deploy on a server I cannot control how can I tune my logging? Il 14/04/2010 23.06, Tim Koop ha scritto: > To answer my own question, the answer is this: > > You need a log4j.properties file in $CATALINA_HOME/lib, as this page > describes: > > http://tomcat.apache.org/tomcat-6.0-doc/loggi