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) {
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,
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/
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
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
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
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
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);