Ok I created an Account on GitHub. Here is the example: 
https://github.com/CManig/WicketChoiceExample


Mit freundlichen Grüßen
Christoph Manig


-----Ursprüngliche Nachricht-----
Von: Maxim Solodovnik [mailto:solomax...@gmail.com] 
Gesendet: Freitag, 13. Januar 2017 10:48
An: users@wicket.apache.org
Betreff: Re: AW: AW: Update ListMultipleChoice by Ajax

you can use any publicaly available project hosting (your SVN, bitbucket, 
github etc.) Or you can create JIRA issue and attach your quickstart (I would 
use this option only if I know for sure it is JIRA bug)

On Fri, Jan 13, 2017 at 4:07 PM,  <christoph.ma...@t-systems.com> wrote:
> I've only have a GitLab Account will this also work for you? Can you send me 
> a link to the right place in Jira?
>
>
> Mit freundlichen Grüßen
> Christoph Manig
>
> -----Ursprüngliche Nachricht-----
> Von: Maxim Solodovnik [mailto:solomax...@gmail.com]
> Gesendet: Freitag, 13. Januar 2017 10:05
> An: users@wicket.apache.org
> Betreff: Re: AW: AW: Update ListMultipleChoice by Ajax
>
> You can share github link
> or attach it to JIRA :)
>
> On Fri, Jan 13, 2017 at 4:02 PM,  <christoph.ma...@t-systems.com> wrote:
>> I created a small example. How can I send this to you?
>>
>>
>> Mit freundlichen Grüßen
>> Christoph Manig
>> Systems Engineer
>>
>> T-Systems International GmbH
>> Systems Integration - SC Travel, Transport & Logistics Annenstr. 5
>> 01067 Dresden
>> tel.:   +49 (0) 351 / 4744 - 188
>> fax:    +49 (0) 351 / 4744 - 209
>> email:  christoph.ma...@t-systems.com
>>
>> T-SYSTEMS INTERNATIONAL GMBH
>> Aufsichtsrat: Thomas Dannenfeldt (Vorsitzender)
>> Geschäftsführung: Reinhard Clemens (Vorsitzender), Dr. Ferri 
>> Abolhassan, Thilo Kusch, Dr. Markus Müller, Georg Pepping, Hagen 
>> Rickmann
>> Handelsregister: Amtsgericht Frankfurt am Main HRB 55933 Sitz der
>> Gesellschaft: Frankfurt am Main WEEE-Reg.-Nr. DE50335567
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Sven Meier [mailto:s...@meiers.net]
>> Gesendet: Freitag, 13. Januar 2017 08:16
>> An: users@wicket.apache.org
>> Betreff: Re: AW: AW: Update ListMultipleChoice by Ajax
>>
>> Hi Christoph,
>>
>> a https://wicket.apache.org/start/quickstart.html allows us to debug the 
>> problem.
>>
>> You've probably got your model usage wrong, that will be hard to analyze 
>> without seeing more code.
>>
>> Regards
>> Sven
>>
>>
>> On 13.01.2017 08:08, christoph.ma...@t-systems.com wrote:
>>> After refreshing the page I see the same page. Its not a listView it is a 
>>> ListMultipleChoice.
>>>
>>> What do you mean with a quickstart.
>>>
>>>
>>> Mit freundlichen Grüßen
>>> Christoph Manig
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Sven Meier [mailto:s...@meiers.net]
>>> Gesendet: Donnerstag, 12. Januar 2017 22:51
>>> An: users@wicket.apache.org
>>> Betreff: Re: AW: Update ListMultipleChoice by Ajax
>>>
>>> Hm, with CompoundPropertyModel all inherited models after dropped on detach 
>>> and re-acquired on following access.
>>>
>>> So in theory that should work.
>>>
>>> What happens if you refresh the page (F5) after clicking the Ajax link?
>>> Does the new data show up in the listView and passwordField?
>>>
>>> Could you build a quickstart for a deeper look?
>>>
>>> Regards
>>> Sven
>>>
>>>
>>>
>>> On 12.01.2017 15:35, christoph.ma...@t-systems.com wrote:
>>>> They are member of a form and this has a CompoundPropertyModel.
>>>>
>>>> setDefaultModel(new CompoundPropertyModel<UserModel>(new
>>>> UserModel()));
>>>>
>>>> And this holds all data which are relevant for user. The other components 
>>>> of the form show the data of the user which I set as the default model.
>>>>
>>>> Mit freundlichen Grüßen
>>>> Christoph Manig
>>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: Sven Meier [mailto:s...@meiers.net]
>>>> Gesendet: Donnerstag, 12. Januar 2017 14:20
>>>> An: users@wicket.apache.org
>>>> Betreff: Re: Update ListMultipleChoice by Ajax
>>>>
>>>> Hi,
>>>>
>>>> your components probably hold a reference to the former model.
>>>>
>>>> Where do 'groups' and 'password' get their model from?
>>>>
>>>> Have fun
>>>> Sven
>>>>
>>>>
>>>> On 12.01.2017 12:37, christoph.ma...@t-systems.com wrote:
>>>>> Hello,
>>>>>
>>>>> I have a form which contains a ListMultipleChoice and a PasswordTextField.
>>>>>
>>>>> ListMultipleChoice<Group> groups = new 
>>>>> ListMultipleChoice<>("groups", groupDao.getAllGroups(), new 
>>>>> ChoiceRenderer<Group>("groupname"));
>>>>> <select wicket:id="groups" id="groups"/>
>>>>>
>>>>> PasswordTextField password = new 
>>>>> RequiredPasswordField("password");
>>>>> <input type="password" wicket:id="password" class="txtSearch"/>
>>>>>
>>>>> After clicking an AjaxLink I set a user object to the default model of 
>>>>> the form. Then the form will be rendered and I see all data of the user 
>>>>> in the fields of the form.
>>>>>
>>>>> But the ListMultipleChoice and the PasswordTextField are not updated. But 
>>>>> the user object contains the data for the ListMultipleChoice and the 
>>>>> PasswordTextField.
>>>>> Can anyone help please.
>>>>>
>>>>>
>>>>> Mit freundlichen Grüßen
>>>>> Christoph Manig
>>>>>
>>>>>
>>>>>
>>>> -------------------------------------------------------------------
>>>> -
>>>> - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>>
>>>>
>>>> -------------------------------------------------------------------
>>>> -
>>>> - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>>
>>>
>>> --------------------------------------------------------------------
>>> - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>> --------------------------------------------------------------------
>>> - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



--
WBR
Maxim aka solomax

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

Reply via email to