Re: DropDownChoice updates onchange event.

2011-07-28 Thread Andrea Del Bene
/DropDownChoice-updates-onchange-event-tp3699271p3699850.html
Sent from the Users forum mailing list archive at Nabble.com.

-
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



Re: DropDownChoice updates onchange event.

2011-07-28 Thread Archana
The savedReportsDropDownList Arraylist contains a collection of
SelectedTrackProfileVO. trackingProfileVO is a type of TrackingProfileVO,
which contains the selected object which is of type SelectedTrackProfileVO.
profileDropDown is of type SelectedTrackProfileVO. TrackingProfileVO is
added to the form.

-
Thanks  Regards,
Archana
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-updates-onchange-event-tp3699271p3702308.html
Sent from the Users forum mailing list archive at Nabble.com.

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



DropDownChoice updates onchange event.

2011-07-27 Thread Archana.AA
Hi All,

I am using a DropDownChoice with a list of values. The choice list come from
DB in a sorted order.
When I new AjaxFormComponentUpdatingBehavior(onchange) event, the
onUpdate(AjaxRequestTarget target) method is excecuted and it updates some
values. After this method executed, choice list is sequence in the
DropDownChoice changes. I am not updating the sequence any where in the
onUpdate().

I am very new to wicket. So I am not able to understand where I am going
wrong. Please help me out to resolve this.

Thanks in advance.

-
Thanks,
Archana
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-updates-onchange-event-tp3699271p3699271.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: DropDownChoice updates onchange event.

2011-07-27 Thread Martin Grigorov
I didn't see the question.

On Wed, Jul 27, 2011 at 8:42 PM, Archana.AA
archanaacharya.adhik...@gmail.com wrote:
 Hi All,

 I am using a DropDownChoice with a list of values. The choice list come from
 DB in a sorted order.
 When I new AjaxFormComponentUpdatingBehavior(onchange) event, the
 onUpdate(AjaxRequestTarget target) method is excecuted and it updates some
 values. After this method executed, choice list is sequence in the
 DropDownChoice changes. I am not updating the sequence any where in the
 onUpdate().

 I am very new to wicket. So I am not able to understand where I am going
 wrong. Please help me out to resolve this.

 Thanks in advance.

 -
 Thanks,
 Archana
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-updates-onchange-event-tp3699271p3699271.html
 Sent from the Users forum mailing list archive at Nabble.com.

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





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



Re: DropDownChoice updates onchange event.

2011-07-27 Thread Adam Gray
What type of collection are you using in the model object?

On Wed, Jul 27, 2011 at 2:09 PM, Martin Grigorov mgrigo...@apache.orgwrote:

 I didn't see the question.

 On Wed, Jul 27, 2011 at 8:42 PM, Archana.AA
 archanaacharya.adhik...@gmail.com wrote:
  Hi All,
 
  I am using a DropDownChoice with a list of values. The choice list come
 from
  DB in a sorted order.
  When I new AjaxFormComponentUpdatingBehavior(onchange) event, the
  onUpdate(AjaxRequestTarget target) method is excecuted and it updates
 some
  values. After this method executed, choice list is sequence in the
  DropDownChoice changes. I am not updating the sequence any where in the
  onUpdate().
 
  I am very new to wicket. So I am not able to understand where I am going
  wrong. Please help me out to resolve this.
 
  Thanks in advance.
 
  -
  Thanks,
  Archana
  --
  View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-updates-onchange-event-tp3699271p3699271.html
  Sent from the Users forum mailing list archive at Nabble.com.
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 



 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

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




Re: DropDownChoice updates onchange event.

2011-07-27 Thread Archana
I mean to say before the onUpdate was executed the DropDownChoice contains in
the order of (A, B, C, D).
But after the execution of onUpdate() the DropDownChoice contains in the
order of (D, B, A, C) which is totally a new order. I have not updated the
sequence of the elements. But still the order changed. How can I make the
DropDownChoice to diaplay the elements in the order of (A, B, C, D).

-
Thanks  Regards,
Archana
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-updates-onchange-event-tp3699271p3699383.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: DropDownChoice updates onchange event.

2011-07-27 Thread Archana
I am using a List.

-
Thanks  Regards,
Archana
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-updates-onchange-event-tp3699271p3699387.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: DropDownChoice updates onchange event.

2011-07-27 Thread Archana
I am using a Arraylist.

-
Thanks  Regards,
Archana
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-updates-onchange-event-tp3699271p3699493.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: DropDownChoice updates onchange event.

2011-07-27 Thread Pedro Santos
The DropDownChoice should respect the list sequence, show some code so
we can track the source of the problem.

On Wed, Jul 27, 2011 at 3:16 PM, Archana
archanaacharya.adhik...@gmail.com wrote:
 I mean to say before the onUpdate was executed the DropDownChoice contains in
 the order of (A, B, C, D).
 But after the execution of onUpdate() the DropDownChoice contains in the
 order of (D, B, A, C) which is totally a new order. I have not updated the
 sequence of the elements. But still the order changed. How can I make the
 DropDownChoice to diaplay the elements in the order of (A, B, C, D).

 -
 Thanks  Regards,
 Archana
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-updates-onchange-event-tp3699271p3699383.html
 Sent from the Users forum mailing list archive at Nabble.com.

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





-- 
Pedro Henrique Oliveira dos Santos

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



Re: DropDownChoice updates onchange event.

2011-07-27 Thread Andrea Del Bene

Hi,

attach the code from onUpdate(AjaxRequestTarget target)  method. This 
should be responsible of  changing order.

I mean to say before the onUpdate was executed the DropDownChoice contains in
the order of (A, B, C, D).
But after the execution of onUpdate() the DropDownChoice contains in the
order of (D, B, A, C) which is totally a new order. I have not updated the
sequence of the elements. But still the order changed. How can I make the
DropDownChoice to diaplay the elements in the order of (A, B, C, D).

-
Thanks  Regards,
Archana
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-updates-onchange-event-tp3699271p3699383.html
Sent from the Users forum mailing list archive at Nabble.com.

-
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



Re: DropDownChoice updates onchange event.

2011-07-27 Thread Archana
();

}
};

}

});

-
Thanks  Regards,
Archana
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-updates-onchange-event-tp3699271p3699847.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: DropDownChoice updates onchange event.

2011-07-27 Thread Archana
); 
return scriptBuffer.toString(); 

} 
}; 

} 

});

-
Thanks  Regards,
Archana
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-updates-onchange-event-tp3699271p3699850.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: DropDownChoice updates onchange event.

2011-07-27 Thread Clint Checketts
('Processing'););
scriptBuffer.append(script);
return scriptBuffer.toString();

}
};

}

 });

 -
 Thanks  Regards,
 Archana
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-updates-onchange-event-tp3699271p3699847.html
 Sent from the Users forum mailing list archive at Nabble.com.

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