[T5.0.18] event method of actionlink was called twice

2009-02-23 Thread osamuo
Hello, The event method of ActionLink seems to be called twice. Is this expected behavior? If yes, is there any way to let the event method to be called only once? osamuo -- View this message in context: http://www.nabble.com/-T5.0.18--event-method-of-actionlink-was-called-twice

RE: How to change t-error

2008-03-28 Thread osamuo
service or use the > @IncludeStylesheet annotation in your component class. > > Hope this helps > > Christophe > > -Message d'origine- > De : osamuo [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 28 mars 2008 10:00 > À : users@tapestry.apache.org > Objet : Ho

How to change t-error

2008-03-28 Thread osamuo
How can I change the 't-error' defined in 'default.css' to other CSS classes? Thank you -- View this message in context: http://www.nabble.com/How-to-change-t-error-tp16348102p16348102.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

How is T5 tutorial?

2008-03-24 Thread osamuo
How long do we have to wait for the completion of T5 tutorial: Chapter 5: Forms in Tapestry? Thanks. -- View this message in context: http://www.nabble.com/How-is-T5-tutorial--tp16255566p16255566.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

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

2008-03-15 Thread osamuo
public Object onSuccessFromForm(){ ... } } - Is there any way to submit "someValue" in Verify.tml without using @Persist( "session" )? And why don't T5 support t:type="Hidden"? Thanks, Osamuo -- View this me

Re: T5: TransformationException

2008-03-11 Thread osamuo
you are right. no error occur when using jdk1.5 instead of jdk1.6 thanks Yunhua Sang wrote: > > Are you using JDK 1.6? > > Try JDK 1.5 if you are. > > On 3/11/08, osamuo <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I show you additional infor

Re: T5: TransformationException

2008-03-11 Thread osamuo
isterPage.setName( null ); registerPage.setPassword( null ); registerPage.setSubject( subject ); registerPage.setObject( object ); return registerPage; }else{ confirmPage.setSubject( subject ); confirmPage.setObject( object ); return confirmPage; } } } osamuo wrote:

T5: TransformationException

2008-03-10 Thread osamuo
Hi, I got the following error when I defined '@ApplicationState'. What's wrong? I can't find anything wrong. - # java.lang.RuntimeException java.lang.ClassNotFoundException: caught an exception while obtaining a class file for test.pages.Index

T5 : tapestry-hibernate : rollback when exception was thrown

2008-01-20 Thread osamuo
eption() // for test } ----- Osamuo -- View this message in context: http://www.nabble.com/T5-%3A-tapestry-hibernate-%3A-rollback-when-exception-was-thrown-tp14990335p14990335.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: T5: tapestry-hibernate: rollback

2008-01-12 Thread osamuo
tion.autocommit' to false. -- org.hibernate.dialect.PostgreSQLDialect jdbc:postgresql://192.168.0.103/Test test testtest org.postgresql.Driver net.sf.ehcache.hibernate.EhCacheProvider false true true true true true ------ Thanks, Osamuo Sven Homburg wrote: > > i miss th

Re: T5: tapestry-hibernate: rollback

2008-01-12 Thread osamuo
true true true true -- Thanks, Osamuo Sven Homburg wrote: > > have you set autocommit to off in hibernate config > like this: > > false > > > > > osamuo wrote: >> >> Hi, >> >> I used

Re: T5: tapestry-hibernate: rollback

2008-01-11 Thread osamuo
ivate HibernateSessionManager sessionManager; public Object onSubmit(){ ... TmpUser tmpUser = new TmpUser(); ... session.save( tmpUser ); sessionManager.abort(); // force rollback return null; } } - Thanks, Osamuo Davor Hrg wrote: > > HibernateSes

T5: tapestry-hibernate: rollback

2008-01-11 Thread osamuo
Hi, I have noticed that the tapestry-hibernate commits the current transaction even after an exception occurs. Is there any way to do rollback its transaction? Osamuo -- View this message in context: http://www.nabble.com/T5%3A-tapestry-hibernate%3A-rollback-tp14752000p14752000.html Sent

Re: T5: 404 http error

2007-12-26 Thread osamuo
age doesnt > exists"); > response.sendError( 404, null ); > textStream.prepareResponse(response); > } > return textStream; > } > } > > > > > > osamuo wrote: >> >> Hi, >> >> How can I tell T5 to

T5: 404 http error

2007-12-25 Thread osamuo
Hi, How can I tell T5 to send an 404 error? Is the following code right way to show 404 error page on T5? Because I got an error after calling "sendError()" in the code. Test.java: public class Test{ @Inject private Response response; void onActivate

T5: onActive()

2007-12-23 Thread osamuo
-- Test.java public class Test{ public void onActivate( Object parameter ){ } } ---- best regards Osamuo -- View this message in context: http://www.nabble.com/T5%3A-onActive%28%29-tp14479409p14479409.html Sent f