then you are not using the proper model, you should use a detachable model to feed your repeater. see LoadableDetachableModel. paste your code if you have more questions.
-igor On Feb 12, 2008 12:34 AM, Constantin Y <[EMAIL PROTECTED]> wrote: > > Hi Igor, > > The problem with the back button is that if i dont setResponsePage(), after > updating (or removing) a record from the list and pressing the back button, > the system displays the exact previous data entry form with the old values > of each record(!). > If i had made, lets say 10 updates, the system will display all previous 10 > forms. > I noticed that the url parameters have a format like > "?wicket:interface=:1:8:::" where the second number changes every time i > save (or remove) a record. If i press the back button then the second count > decrements by 1 and the previous form is displayed with obsolete of course > data. > What the user expects by pressing the back button is to return to the menu > (or whichever the caller page was) and not to the previous data entry form > which is quite dangerous. > This somehow is achieved by setting setResponsePage() inside the onClick > code. > I am quite sure that it is not wicket's "problem" and maybe i have to setup > the whole page in a different way to achieve the behavior i want but i cant > figure it out. > > Thanks again > > > > igor.vaynberg wrote: > > > > On Feb 8, 2008 7:44 AM, Constantin Y <[EMAIL PROTECTED]> wrote: > >> Everything is ok except the "back" button. > > > > how is the back button broken exactly? > > > >> If i dont setResponsePage(..) in > >> the onClick() method of the save button (btnSave) then wicket starts > >> versioning(?) of the data entry form. > > > > a) you shouldnt call setresponsepage in onclick > > b) wicket will version the page, whats wrong with that? > > > >> On the other hand i dont want to > >> reconstruct the while page whenever i edit (or remove) a record. > >> What am i missing? > > > > like i said, not sure what is not working...and whatever you posted > > didnt make it > > > > -igor > > > >> Thanks a lot > >> http://www.nabble.com/file/p15357597/DataPanels.java DataPanels.java > >> -- > >> View this message in context: > >> http://www.nabble.com/Multiple-panels-and-back-button-tp15357597p15357597.html > >> Sent from the Wicket - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/Multiple-panels-and-back-button-tp15357597p15428648.html > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
