Do I have to @persist( "session" ) input values in verify page?

2008-03-15 Thread osamuo
Register.tml: let a user register a value Verify.tml: let a user verify a input Register.tml --- --- Register.java --- public class Register{ @Property private String someValu

T5: How to remove default.css?not replace

2008-03-15 Thread jimlaren
I would like to remove the default.css.I developed a site for i-mode with chtml which have problem if there is a css file in the page. any idea? Thanks. jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: new features in 5.0.11

2008-03-15 Thread kranga
Funny - my experience has been the exact opposite. Building a general purpose framework on one's personal experience can have shortfalls. For example you state in your blog "I also think Tapestry's built-in rules for URLs are really strong and appealing; I simply don't see customizing the buil

t5: inheriting block parameter

2008-03-15 Thread Adam Zimowski
Inheriting non-block parameter works fine, but inheriting block parameter is not. Is this by design? If so, how to achieve the same effect. Here is example: Layout { @Parameter private String _title; @Parameter private Block _helloWorld; public String getTitle() { return _title; } } http://ta

T5: Now to generate page with binary output

2008-03-15 Thread Dmitry Shyshkin
Hello, all I want to generate image by tapestry page. Follow code successfully set Content-Type and output image data, but after that exception is thrown : java.lang.RuntimeException: Page resource/Image did not generate any markup when rendered. This could be because its template file could n

Re: new features in 5.0.11

2008-03-15 Thread Kevin Menard
It's been an oft requested feature over the years. In fact, I'd still love to have T4 version. While doable at a high-level, it's error prone. Rewrite rules or declaritive security statements have to be written and every resource accessed to test. Now, if Tapestry is already writing the URLs ou

Re: Do I have to @persist( "session" ) input values in verify page?

2008-03-15 Thread Dmitry Shyshkin
Persistence is needed because form is submitted in one request (that send redirect in response) and rendered in second request. If you do not want to persist data for form you should 1. turn off redirect after post and process submission in one request public class WebModule { public static void

T5: How to test a paged table?

2008-03-15 Thread Jesper Zedlitz
Does anyone know how to test a pages table? It is easy to test sorting: Document doc = pagetester.renderPage("user/list"); Element link = doc.getElementById("sort2_1"); Document sorted = pagetester.clickLink( link ); But the a-elements for the table's pages do not have an id. Is there a trick

Re: HibernateEntityPackageManager contributions not being processed in 5.0.12

2008-03-15 Thread Howard Lewis Ship
Nothing's changed there between 5.0.11 and 5.0.12. Could it be there's an error in your module, or in some of your mappings? On Fri, Mar 14, 2008 at 11:16 AM, Hugo Palma <[EMAIL PROTECTED]> wrote: > This was working fine, but now it seems that my contribution doesn't > even getting processed. >

detect if a page has been loaded via a grid's pager

2008-03-15 Thread Jesper Zedlitz
Is there a way to detect if a page has been loaded with the context directly or via a grid's pager? /book/entries/10 /book/entries.grid.pager/2?t:ac=10 In the first case the onActivate method gets invoked only one time, using the pager it will be invoked two times. But I do not know how to use t

T5: Hibernate ValueEncoders

2008-03-15 Thread Angelo Chen
Hi, In Howard's blog, he mentioend: Automatic Hibernate ValueEncoders: Use an entity as a page or event context and what goes in the URL is the entity's id. Likewise, ids are turned back into entities when passed to event handler methods. What's really this? how to use it? Thanks. A.C. -- Vi