Thanks Dipu , I did it with the help of your code.
have a look at the attached files, thats based on your code snippet,
you will get the idea.
regards
dipu
--
View this message in context:
http://www.nabble.com/Populate-form-according-to-selected-item-in-dropdownchoice-tf4873352.html
"mail");
> >> DropDownChoice roleDdc =null;
> >> try{
> >> roleDdc = new DropDownChoice("role.name",r.list());
> >> }catch(SQLException e){
> >> String err = e.g
me",r.list());
>> }catch(SQLException e){
>> String err = e.getMessage();
>> }
>> form.add(ddc);
>> form.add(mailComp);
>> form.add(roleDdc);
>> }
>>
>
form.add(ddc);
> > form.add(mailComp);
> > form.add(roleDdc);
> > }
> >
> > class UserEditForm extends Form {
> > public UserEditForm(String id,IModel model) {
> > super(id,model);
> > }
>
lass UserEditForm extends Form {
> public UserEditForm(String id,IModel model) {
> super(id,model);
> }
> --
> View this message in context:
> http://www.nabble.com/Populate-form-according-to-selected-item-in-dropdownchoice-tf4873352.html#a13944776
> Sen
c);
}
class UserEditForm extends Form {
public UserEditForm(String id,IModel model) {
super(id,model);
}
--
View this message in context:
http://www.nabble.com/Populate-form-according-to-selected-item-in-dropdownchoice-tf4873352.html#a13944776
Sent from th