Re: Stateless and Ajax
Thank you all involved in this thread. With your help, I managed to build a login/registration form, totally stateless and submitted with ajax. (Thanks, Robert, for the referenced component, it works really good). This was a proof of concept for me that such a page could be built in Wicket. I want to continue further with my project in a completely stateless manner. However, I see my project using many more complicated ajax components (ajax-autocomplete, etc.), also incorporating jqwicket library for integration with Jquery UI. Is it possible to continue with this arsenal of stateless ajax components (extended jolira) in order to achieve my plan? If I go this route (like the login/registration form), can I be optimistic that I can overcome all or most of other stateless ajax quirks waiting for me in the future? I work with Wicket 6.0-SNAPSHOT and Roberts' components nicely fit in my environment. Thank you, Zlatko -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Stateless-and-Ajax-tp4344007p4348144.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Stateless and Ajax
Hi Martin, thank you for your advice and support. I just wanted to ask if this submitFormById() function is wrapped in some Wicket component so I can use it in an object-oriented manner, or am I supposed to call it manually by an onClick event of a button/link? If there is a ready-made component, it would also automatically import the related javascript, isn't it? I would be grateful if you can give me a simple example of submitting stateless form using ajax. Thank you, Zlatko -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Stateless-and-Ajax-tp4344007p4345591.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Stateless and Ajax
Yes, now it's much more clear, thank you! But then, I'm curious to know why doesn't exist a component in Jolira's package that can submit stateless form by ajax button? Is it not possible for such component to exist or the reason is lacking effort on their side? If it is possible, can you give me some hint in order to be able to come up with such a solution? Thank you, Zlatko -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Stateless-and-Ajax-tp4344007p4344401.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Stateless and Ajax
Hi all, Can someone explain to me (from an architecture's point of view) why every Ajax component added to a page makes that page statefull? If I set the stateless hint to true and turn off the page versioning, why is a session needed? The reason why I am asking this is because I want to have a totally stateless application, where the data that should be shared between requests will be managed by myself in a cookie. p.s. I tried to use jolira wicket-stateless tools, but there is no way of submitting a stateless form using ajax button... Thank you in advance, Zlatko -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Stateless-and-Ajax-tp4344007p4344007.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org