Re: [Tapestry Central] Next Steps for Tapestry

2009-11-08 Thread Kalle Korhonen
Howard, you touch too many points to make a very concise reply, but I agree with many others encouraging you to continue coding 5.2 before you start writing a book. By now, you probably have a fairly good idea how you could improve things and I'd hate to have the first book on Tapestry5 to already

Re: How do you pass a context to PageTester?

2009-11-08 Thread Igor Drobiazko
Just create another page containg a link to target page and click on it. The link can contain a context. 08.11.2009, в 20:01, mraible написал(а): I'd like to know how to do this too. Basically, I'm looking to invoke a page and pass it a request parameter. Is this possible? Thanks, Matt

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-08 Thread Igor Drobiazko
Hi Alex, I'll ask the publisher again and suggest your idea. 08.11.2009, в 17:41, Alex Kotchnev написал(а): Igor : just an idea on the translation front. I know that the NetBeans community already did two "community translated" books from German, so it might be interesting if the same mode

tapestry4 contrib table making same multiple hibernate query

2009-11-08 Thread asianCoolz
May i know does anyone experience this in tapestry 4. I have a page that query for table row and count. but from hibernate log, it show repeating same query for multiple times. is this normal? Hibernate: select count(*) as y0_ from TESTTABLEONLY this_ where this_.CATEGO RYNAME like ? Hibernate: s

Re: beaneditform question

2009-11-08 Thread DH
Hi Simple sample(t5.1): In tml: In java: @Component private BeanEditForm regForm; @Property private User user; // your user entity @Property private String password; @Property private String retypePassword; Object onValidate() {

Re: beaneditform question

2009-11-08 Thread Jonhy Pear
Sorry, I mean beaneditform, not beaneditform On Mon, Nov 9, 2009 at 1:05 AM, Jonhy Pear wrote: > > > > > Hello all, > > This is my first message to the list. I'm new to tapestry and I'm > evaluating it and looking for some guidance. > Let's say I have a java bean with: > > String nick; > String

Beanformedit question

2009-11-08 Thread Jonhy Pear
Hello all, This is my first message to the list. I'm new to tapestry and I'm evaluating it and looking for some guidance. Let's say I have a java bean with: String nick; String firstName; String lastName; String hashPassword; I want to use beaneditform to create a new user but I want to add new

Re: How large can post be in Tapestry 5.1.0.5?

2009-11-08 Thread Thiago H. de Paula Figueiredo
Em Sun, 08 Nov 2009 19:58:00 -0200, Argo Vilberg escreveu: An unexpected application exception has occurred. - java.lang.IllegalStateException Post too large Hide uninteresting stack framesStack trace - org.apache.catalina.connector.Request.parseParameters(Request.java:2

How large can post be in Tapestry 5.1.0.5?

2009-11-08 Thread Argo Vilberg
An unexpected application exception has occurred. - java.lang.IllegalStateException Post too large Hide uninteresting stack framesStack trace - org.apache.catalina.connector.Request.parseParameters(Request.java:2388) - org.apache.catalina.connector.Request.getParam

Re: How do you pass a context to PageTester?

2009-11-08 Thread mraible
I'd like to know how to do this too. Basically, I'm looking to invoke a page and pass it a request parameter. Is this possible? Thanks, Matt Mats Henricson-2 wrote: > > Hi! > > Since Testify isn't working for me, I thought I'd look at > this page: > > http://tapestry.apache.org/tapestry5.1/

Re: Good news about Tapestry 5 in Google App Engine

2009-11-08 Thread Kevin Menard
Well, it took me longer than I wanted, but the patch has been applied. Thanks again. -- Kevin On Thu, Oct 29, 2009 at 8:47 AM, Kevin Menard wrote: > Thanks for opening TAP5-913, Dmitry.  I'll try to apply this tonight. > Unfortunately the test system for Tapestry doesn't work for Snow > Leop

Re: Suggestion for instance-based authorization?

2009-11-08 Thread Thiago H. de Paula Figueiredo
Em Sun, 08 Nov 2009 14:22:46 -0200, Vjeran Marcinko escreveu: Hello all, Hi! I have a T5 app that have typical security restriction to some pages based on role, but also based on domain-specific instances that can be resolved from request parameters. I implemented by inside my Tapest

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-08 Thread Alex Kotchnev
Igor : just an idea on the translation front. I know that the NetBeans community already did two "community translated" books from German, so it might be interesting if the same model is possible in the Tapestry community. I think it was mostly a volunteer effort but it got two NetBeans RCP books t

Suggestion for instance-based authorization?

2009-11-08 Thread Vjeran Marcinko
Hello all, I have a T5 app that have typical security restriction to some pages based on role, but also based on domain-specific instances that can be resolved from request parameters. For example, request to web page ShowDocument that accepts "documentID" as parameter can be allowed only to

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-08 Thread Igor Drobiazko
Well, I think you should do what you feel is best for you right now. If you need a timeout from coding then write a book. If you feel a book will take too much of your time then code again. I'm still hoping my publisher will translate my book. So maybe there will be an english book even if you deci

Re: Adding XML process-instruction to tml

2009-11-08 Thread Howard Lewis Ship
A component could do this, by outputting the tag using markupWriter.writeRaw(). On Sun, Nov 8, 2009 at 4:04 AM, Alfie Kirkpatrick wrote: > Hi, I would like to add a PI for xml-stylesheet to some of my pure XML > pages, eg. in the tml... > > > > > > > > > > > Tapestry (5.1.0.5) complains that

Re: GAE and Tapestry5 integration

2009-11-08 Thread Dmitry Gusev
Here's some examples: *ping-service\src\META-INF\persistence.xml:* http://java.sun.com/xml/ns/persistence"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"

Re: GAE and Tapestry5 integration

2009-11-08 Thread Dmitry Gusev
Tapestry 5.1 should run on GAE 1.2.6(7) as is. I used T5.1 w/ Spring/JPA on GAE and didn't get any troubles at the cloud except some issues on development machine: http://dmitrygusev.blogspot.com/2009/10/develope-java-applications-with-gae-sdk.html http://dmitrygusev.blogspot.com/2009/08/turn-jav

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-08 Thread Thiago H. de Paula Figueiredo
Couldn't it be a hybrid approach? One day or week coding Tapestry, then the next writing the book? By the way, I'd love write a Tapestry book. One company here at Belo Horizonte, Brazil has just contracted me to have both introductory and advanced Tapestry courses. My plans are to write the textb

GAE and Tapestry5 integration

2009-11-08 Thread sodium
Hi, I have been using Tapestry5 for few of my projects and loving it, but i am thinking of integrating it in Google App Engine. As for Tapestry 5.0.18, i have managed to run it without jpa support by following an example of http://old.nabble.com/SUCCESSFULL-deploy-Tapestry5-on-google-appengine-

Re: i18n overhead

2009-11-08 Thread Thiago H. de Paula Figueiredo
Em Sun, 08 Nov 2009 11:20:48 -0200, Melidramo escreveu: Why so many property files? Just curious. :) This is a big project... :) What exact version? 5.1.05? 5.0.18? 5.0.18 There are some changes between 5.0.18 to 5.1.0.5 that can affect performance. Is your question an incentive to

Re: i18n overhead

2009-11-08 Thread Melidramo
> Why so many property files? Just curious. :) This is a big project... > What exact version? 5.1.05? 5.0.18? 5.0.18 Is your question an incentive to migrate to 5.1? -- View this message in context: http://old.nabble.com/i18n-overhead-tp26252169p26253714.html Sent from the Tapestry - User m

Re: i18n overhead

2009-11-08 Thread Thiago H. de Paula Figueiredo
Em Sun, 08 Nov 2009 07:57:11 -0200, Melidramo escreveu: We have about 200 properties files and 200 templates files. Why so many property files? Just curious. :) We are using the version 5. What exact version? 5.1.05? 5.0.18? -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapes

Adding XML process-instruction to tml

2009-11-08 Thread Alfie Kirkpatrick
Hi, I would like to add a PI for xml-stylesheet to some of my pure XML pages, eg. in the tml...

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-08 Thread Tom Pfotzer
Howard: I agree with the posters that say "refine your code-base" as priority one, and I agree that writing the book is a very close priority two. So the question isn't really which should you do, as both are crucial to Tapestry the product and it's community of users. The problem is how best to

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-08 Thread Vjeran Marcinko
I understand that book would be valuable addition to Tapestry, but I would also prefer you to spend your time doing the coding, and if I may add, not so much on new features (like Spring Web Flow), but more on improving already present ideas since there are many places for improvement. One thing

i18n overhead

2009-11-08 Thread Melidramo
We have about 200 properties files and 200 templates files. Adding a language (+400 files) to the project had seemingly a huge impact on the performance - to start the server at least - I'd say 50% more time required. Is there any performance impact based on the number of languages or prop/tml f

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-08 Thread Ivano Luberti
Howard, why don't collaborate with Igor to have the book in Engllish? Instead of starting a new project for it you can try to have Igor book as a starting point or even better a final point and only have to translate a commonly reviewed version and publish it together . I understand you want to ha