Hi,

Can you create a bug report and attach a quickstart project that 
demonstrates this problem?

Thanks,
-Matej

Vincent Renaville wrote:
> Dear,
> 
> The problem is still there , this is a bug or it's a problem of
> Firefox,etc...
> 
> On Thu, 2006-11-30 at 17:47 +0100, Vincent Renaville wrote:
>> Dear,
>>
>> I use Ajax to assign data to Textfield dynamically when a user select a
>> value into a dropdownchoice :
>>
>> firstname = new TextField("firstname",new PropertyModel
>> (obj,"firstname")); 
>>         add(firstname);
>>         firstname.setOutputMarkupId(true);
>>         
>> extention = new TextField("extention",new PropertyModel
>> (obj,"extention"));
>>         add(extention);
>>         extention.setOutputMarkupId(true);
>>   
>>  
>>    name = new DropDownChoice ("name",new PropertyModel
>> (obj,"name"),db.getAllSIPUsers())
>>         {
>>              protected boolean wantOnSelectionChangedNotifications()
>>              {
>>                      return false;
>>              }                               
>>              public void onSelectionChanged(Object newSelection) {
>>                              
>>              }
>>         };
>>    add(name);
>>    name.setOutputMarkupId(true);
>>    name.add(new AjaxFormComponentUpdatingBehavior("onchange") {
>>   protected void onUpdate(AjaxRequestTarget target)
>>                {
>>
>>              obj.setFirstname((String)data[3]);
>>              obj.setExtention((String)data[4]);
>>              firstname.modelChanged();
>>              extention.modelChanged();
>>              target.addComponent(firstname);
>>              target.addComponent(extention);
>>           }
>>
>> the problem is the page do not update the firstname et extention
>> Textfield,
>> BUT if I remove target.addComponent(extention); the firstname Textfield
>> update correctly.
>>
>> somebody have a solution to this strange problem (for me only perhaps)
>>
>> Vincent
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Wicket-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to