Re: Autocomplete mixin in a beaneditor
OK ... I get it working but not completely! Here is the solution working for me: But, in the previous piece of code I can not have my entity field (named 'model') working because of this error: It seems there is a confusion between the field 'model' from the BeanEditForm and mine ... How could I solve that ? Thanks !! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Autocomplete-mixin-in-a-beaneditor-tp5657118p5713834.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Autocomplete mixin in a beaneditor
Hello, I have got exactly the same pbm. Even the generated html does not contain any reference to autocomplete stuffs ... Seems, I missed something but I don't get it :( have you find a solution ? Thx, BDM. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Autocomplete-mixin-in-a-beaneditor-tp5657118p5713796.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
RE: tapestry, hibernate and timeout
Hello, I have figured out the good mysql/hibernate configuration ! With this hibernate.hbm.xml: with this mysql timeout configuration: and pom.xml dependencies (hibernate-version: 3.5.6-Final, tapestry: 5.3.0): Bye ! -- View this message in context: http://tapestry.1045711.n5.nabble.com/tapestry-hibernate-and-timeout-tp5028844p5038417.html Sent from the Tapestry - User mailing list archive at Nabble.com.
RE: tapestry, hibernate and timeout
Thanks ! I keep your solution if I can not configure properly C3P0 ... -- View this message in context: http://tapestry.1045711.n5.nabble.com/tapestry-hibernate-and-timeout-tp5028844p5031723.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: tapestry, hibernate and timeout
Thanks, but I already use the C3P0 connection pool without success ... maybe it's a configuration problem but I can not figured out what is it ! I have move the post to the "Tapestry - User" forum as suggested ! I'll still digging ... -- View this message in context: http://tapestry.1045711.n5.nabble.com/tapestry-hibernate-and-timeout-tp5028844p5031673.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
tapestry, hibernate and timeout
Hello, I have got a problem with a small crud app developed with tapestry. This is a low traffic application so it can be unused for more than one day before we need it again. The problem is we got a timeout with the jdbc connection and we need to restart the application container (Glassfish) to have the jdbc connection up again. It is getting boring ! :) It seems I missed something in the tapestry application logic ! Is there a solution to close the session when the application has finished a DB operation and open it only when needed ? Here is the stack trace: Thanks ! BDM. -- View this message in context: http://tapestry.1045711.n5.nabble.com/tapestry-hibernate-and-timeout-tp5028844p5028844.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: tapestry, hibernate and timeout
Thanks for your reply ! I already set a c3p0 connection pool but I missed the idleTestPeriod param ! I try that and get back tomorrow ! See you! -- View this message in context: http://tapestry.1045711.n5.nabble.com/tapestry-hibernate-and-timeout-tp5028844p5029204.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org