Re: modal CloseButtonCallback returning old value
If you have a quickstart someone could take a look at it. Maurice On Mon, Jul 7, 2008 at 9:43 PM, taygolf <[EMAIL PROTECTED]> wrote: > > Still having this issue. Can anyone tell me what it might be. I think it is a > cache issue but I am really not sure > > Thanks > > T > > > taygolf wrote: >> >> hey guys. I have a problem that is stumping me. I have 2 textfields one >> called type and one called subtype. They both have modal windows that are >> opened to show the list of values that can be selected for them. Of course >> I have it setup where the user can not select a subtype before they select >> a type and the list of values for subtype changes depending on what >> subtype is selected. >> >> Now if I user selects a type and subtype and then decideds to change the >> type I am setting the subtype to blank. This all works fine. Now when the >> user decides to select a new subtype they are presented with the correct >> list to choose from. If instead of selecting a value and clicking submit >> the user for some strange reason decides to click the X button to close >> the modal window the old value that was whipped out and replaced with >> blank when the user choose a new type returns to the blank! I can not >> allow this to happen even though it will probably not happen often in the >> real world. >> >> My quick fix is to set onCloseButtonClicked to return false. This forces >> the user to pick a value but I would rather figure out what is allowing it >> to put in the old value. I am guessing that it is coming from cache some >> how but I am not sure. >> >> Any suggestions? >> >> Thanks >> >> T >> > > -- > View this message in context: > http://www.nabble.com/modal-CloseButtonCallback-returning-old-value-tp18198443p18325030.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]
Re: modal CloseButtonCallback returning old value
Still having this issue. Can anyone tell me what it might be. I think it is a cache issue but I am really not sure Thanks T taygolf wrote: > > hey guys. I have a problem that is stumping me. I have 2 textfields one > called type and one called subtype. They both have modal windows that are > opened to show the list of values that can be selected for them. Of course > I have it setup where the user can not select a subtype before they select > a type and the list of values for subtype changes depending on what > subtype is selected. > > Now if I user selects a type and subtype and then decideds to change the > type I am setting the subtype to blank. This all works fine. Now when the > user decides to select a new subtype they are presented with the correct > list to choose from. If instead of selecting a value and clicking submit > the user for some strange reason decides to click the X button to close > the modal window the old value that was whipped out and replaced with > blank when the user choose a new type returns to the blank! I can not > allow this to happen even though it will probably not happen often in the > real world. > > My quick fix is to set onCloseButtonClicked to return false. This forces > the user to pick a value but I would rather figure out what is allowing it > to put in the old value. I am guessing that it is coming from cache some > how but I am not sure. > > Any suggestions? > > Thanks > > T > -- View this message in context: http://www.nabble.com/modal-CloseButtonCallback-returning-old-value-tp18198443p18325030.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]
modal CloseButtonCallback returning old value
hey guys. I have a problem that is stumping me. I have 2 textfields one called type and one called subtype. THey both have modal windows that are opened to show the list of values that can be selected for them. Of course I have it setup where the user can not select a subtype before they select a type and the list of values for subtype changes depending on what subtype is selected. Now if I user selects a type and subtype and then decideds to change the type I am setting the subtype to blank. This all works fine. Now when the user decides to select a new subtype they are presented with the correct list to choose from. If instead of selecting a value and clicking submit the user for some strange reason decides to click the X button to close the modal window the old value that was whipped out and replaced with blank when the user choose a new type returns to the blank! I can not allow this to happen even though it will probably not happen often in the real world. My quick fix is to set onCloseButtonClicked to return false. This forces the user to pick a value but I would rather figure out what is allowing it to put in the old value. I am guessing that it is coming from cache some how but I am not sure. Any suggestions? Thanks T -- View this message in context: http://www.nabble.com/modal-CloseButtonCallback-returning-old-value-tp18198443p18198443.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]