You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Baschir Jaghoori <ba...@mgm-tp.com> on 2010/06/01 09:53:37 UTC

Re: Selection of disabled DropDownChoice lost

Does anyone have an idea? Is this

1. Not a bug but a feature
2. Wrong usage of the API
3. A bug?

thanks!
Baschir

Am 27.05.2010 12:05, schrieb Baschir Jaghoori:
> Hi all,
>
> I have a problem with a Wizard like structure with a form and two
> panels, displayed one after another (using addOrReplace).
>
> The first panel contains a DropDownChoice. The second also contains a
> DDC in disabled mode with the same model.
>
> When I select a value on the first panel and submit it, the right (i.e.
> the same) value is selected in the second panel - as expected. But if I
> go back to the first panel and again forward to the second, the
> selection is lost. The value in the model is correct, but no value is
> selected!
>
> I found out that overriding the isInputNullable method helps, but I
> don't understand why. Seems like a bug to me.
>
> I've attached a Test Project that demonstrates the behavior...
>
> Now is this a bug or a feature :-)
>
> Thanks
> Baschir
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org


-- 
Mit freundlichen Grüßen / Best regards

Baschir Jaghoori

mgm technology partners GmbH
Frankfurter Ring 105a
80807 München

Tel. +49 (89) 35 86 80-255
Fax +49 (89) 35 86 80-288

E-Mail Baschir.Jaghoori@mgm-tp.com

Innovation Implemented.

Sitz der Gesellschaft: München
Geschäftsführer: Hamarz Mehmanesh
Handelsregister: AG München HRB 105068

_________________________________________________________________________________________
ACHTUNG: Die Information in dieser E-Mail ist vertraulich und unterliegt 
zusätzlich gesetzlichen Schutzrechten. Sie ist nur für die genannten 
Empfänger bestimmt. Wenn Sie diese Nachricht irrtümlich erhalten haben, 
benachrichtigen Sie uns bitte unverzüglich durch Antwort auf diese 
E-Mail oder durch Anruf unter der obigen Nummer und löschen Sie die 
E-Mail samt aller Anlagen. Beachten Sie bitte, dass jede nicht 
genehmigte Kenntnisnahme, Kopie, Weiterverbreitung oder anderweitige 
Verwendung der Information verboten ist. Vielen Dank.
NOTICE: The information contained in this e-mail is confidential or may 
otherwise be legally privileged. It is intended for the named recipient 
only. If you have received it in error, please notify us immediately by 
reply or by calling the telephone number above and delete this message 
and all its attachments. Please note that any unauthorized review, 
copying, disclosing or otherwise making use of the information is 
strictly prohibited. Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org