I think DWR is great for using with frameworks that do not have native ajax support/ are not component based. In fact you can use DWR with Wicket today if you don't care about your code being integration. The trick we want to do however, is to integrate ajax with our component concept. In that sense DWR is foreign to our component structure, and needs it's own configuration etc. At least, that's what I think, as I stepped through the DWR code a couple of times, but I'm by no means a DWR expert.
Eelco On 9/30/05, Dorel Vaida <[EMAIL PROTECTED]> wrote: > Eelco Hillenius wrote: > > >Now, that would be a great feature of our Ajax support. > > > >DWR is a framework that is complete in the sense that it provides a > >framework for server and client side. Libs like Dojo and Scriptaculous > >are client side only. But maybe they have some error reporting > >capabilities too. Otherwise we should implement something ourselves. > > > > > Couldn't we add into the wicket-stuff or extensions some kind of DWR > integration ? I mean components that would render DWR enabled client > side markup ? I'm too new to wicket to see if such thing is possible but > I'll investigate further if you point me to some directions. Anyways, > I'll think about it. I've used DWR in the past and I liked it. > > >Eelco > > > > > >On 9/30/05, Dorel Vaida <[EMAIL PROTECTED]> wrote: > > > > > >>Eelco Hillenius wrote: > >> > >> > >> > >>>Martijn is working on an app that has similar requirements. Maybe > >>>he'll want to comment on this too. > >>> > >>>What I do for an app I'm working on now, is to use ajax components for > >>>the fields that allways need to be current. In my case these usually > >>>are checkboxes. I committed an 'ImmediateCheckbox' in the Dojo > >>>subproject (wicket-stuff) that updates the server side model every > >>>time it is clicked. A textfield like that would be very similar, > >>>though you need to think what you want to do with possible validation/ > >>>conversion errors. > >>> > >>> > >>> > >>> > >>I don't know about dojo but some java ajax implementations (DWR) > >>propagate the exceptions back to the client. Wouldn't be that acceptable > >>for a validation error for example ? > >> > >> > >> > >>>Eelco > >>> > >>> > >>>On 9/29/05, Denzel, Jürgen <[EMAIL PROTECTED]> wrote: > >>> > >>> > >>> > >>> > >>>>Hi, > >>>> > >>>>I was wondering if Wicket provides any build in support for the following > >>>>problem. > >>>> > >>>>The user edits data in a tabbed pane component, the data is kept in a > >>>>model > >>>>bean and will be stored in the database when the user presses the save > >>>>button. > >>>>In this context he can switch back and forth between tabs without losing > >>>>any data because each switch causes a server roundtrip to update the > >>>>model. > >>>> > >>>>Now, to complete the whole process lets say the user has to leave the tab > >>>>context > >>>>to select arbitrary data needed from a different page and comes back to > >>>>the > >>>>tab context. > >>>> > >>>>How can I make sure that the data he entered immediately before changing > >>>>the > >>>>context > >>>>will not be lost. > >>>> > >>>>Keep in mind the user did not switch the tabs to trigger a server > >>>>roundtrip > >>>>to > >>>>update the model just before he left the tab context. > >>>> > >>>>We have this scenario very often in our application. > >>>> > >>>>Greets, > >>>>jd > >>>> > >>>> > >>>> > >>>>------------------------------------------------------- > >>>>This SF.Net email is sponsored by: > >>>>Power Architecture Resource Center: Free content, downloads, discussions, > >>>>and more. http://solutions.newsforge.com/ibmarch.tmpl > >>>>_______________________________________________ > >>>>Wicket-user mailing list > >>>>[email protected] > >>>>https://lists.sourceforge.net/lists/listinfo/wicket-user > >>>> > >>>> > >>>> > >>>> > >>>> > >>>------------------------------------------------------- > >>>This SF.Net email is sponsored by: > >>>Power Architecture Resource Center: Free content, downloads, discussions, > >>>and more. http://solutions.newsforge.com/ibmarch.tmpl > >>>_______________________________________________ > >>>Wicket-user mailing list > >>>[email protected] > >>>https://lists.sourceforge.net/lists/listinfo/wicket-user > >>> > >>> > >>> > >>> > >>> > >> > >>------------------------------------------------------- > >>This SF.Net email is sponsored by: > >>Power Architecture Resource Center: Free content, downloads, discussions, > >>and more. http://solutions.newsforge.com/ibmarch.tmpl > >>_______________________________________________ > >>Wicket-user mailing list > >>[email protected] > >>https://lists.sourceforge.net/lists/listinfo/wicket-user > >> > >> > >> > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: > >Power Architecture Resource Center: Free content, downloads, discussions, > >and more. http://solutions.newsforge.com/ibmarch.tmpl > >_______________________________________________ > >Wicket-user mailing list > >[email protected] > >https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
