Hello everyone, I'm still beavering away at getting my chatroom working in tapestry 5. I've got a proper hibernate/spring layer now instead of my singleton and I can reliably capture a user leaving the chatroom page with onbeforeunload.
Now I'm trying to add a beaneditform to allow users to send a string of text to the chat room. This works currently and the chatlines making it to database. Unfortunately during the page submit this reloads my page which is logging out my user due to window.onbeforeunload being triggered. I can work around this but I think its a good opportunity to learn some more about mixins and ajax submits. I've found a few similar examples (mainly updating one combo box on change from another parameter in a form) in the mailing list archive but nothing that fits exactly. And I've read most of the docs around this but I'm still not sure what's the best approach. Is there a mixin I can add to my beaneditform which will just tell it to make an ajax call to my page without reloading the whole page? Or is this not the correct approach? -- View this message in context: http://www.nabble.com/-T5----Using-a-mixin-on-a-beaneditform-to-do-an-submit-without-a-page-reload-tp20208457p20208457.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]