Re: tacos @Cached in t4

2008-09-07 Thread michael lim
i tried this. whenever i press f5, pagebeginrender will still be called and db will be hit @Persist(session) public abstract Collection getPersistThisOne(); public abstract void setPersistThisOne(Collection persistThisOne); public void pageBeginRender(PageEvent event) {

Re: tacos @Cached in t4

2008-09-07 Thread Filip S. Adamsen
I'm sorry, but what do you expect Tapestry to do about that? You're explicity setting the property each time the page is loaded. @Persist doesn't change that. You'll need to check whether or not persistThisOne is not null before assigning to it for this to work. -Filip On 2008-09-07 08:39,

[T5] t5components: how about a Button for PageLink?

2008-09-07 Thread Geoff Callender
Hey Sven, Do you have plans for a variation on Button that does a render request like PageLink? It would be really handy. I ask because unfortunately the following doesn't work in IE - it displays a button but clicking it does nothing: buttona t:type=pagelink t:page=nextpage href=#Next/a/

T5: grid and table caption

2008-09-07 Thread Argo Vilberg
hi, How to use html table caption with tapestry grid? I want that tapestry generate this like code: table class=t-data-gridthead caption Lepinguprojektide jaotus /caption tr if i use t:grid like this t:grid source=lepingList rowsPerPage=10

Tapestry5 body problem

2008-09-07 Thread superoverdrive
Hi there! I was following this example to get used to the new Tapestry5 way to do stuff: http://tapestry.apache.org/tapestry5/guide/layout.html The Layout.tml looks like that: html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; head titleMy Nifty Web

Re: [T5] t5components: how about a Button for PageLink?

2008-09-07 Thread Sven Homburg
just comitted 2008/9/7 Geoff Callender [EMAIL PROTECTED] Hey Sven, Do you have plans for a variation on Button that does a render request like PageLink? It would be really handy. I ask because unfortunately the following doesn't work in IE - it displays a button but clicking it does

Re: [T5] t5components: how about a Button for PageLink?

2008-09-07 Thread Toby Hobson
Geoff Did you try a ...buttonclick me/button/a? Toby 2008/9/7 Sven Homburg [EMAIL PROTECTED] just comitted 2008/9/7 Geoff Callender [EMAIL PROTECTED] Hey Sven, Do you have plans for a variation on Button that does a render request like PageLink? It would be really handy. I ask

Re: How to create simple wizard with tapestry

2008-09-07 Thread Thiago H. de Paula Figueiredo
Em Sat, 06 Sep 2008 19:52:40 -0300, Filip S. Adamsen [EMAIL PROTECTED] escreveu: Shouldn't that be @InjectPage? Yes! Thanks for pointing my mistake! :) @InjectPage private User userPage; public Object onSuccess() { userPage.setAluno(classmate);