#AllowModel.class
import java.io.Serializable;
import java.util.ArrayList;

public class AllowModel implements Serializable {

        private static final long serialVersionUID = 1L;

        private Long id = null;

        private ArrayList list = new ArrayList();

        public AllowModel() {
                super();
        }

        public Long getId() {
                return id;
        }

        public void setId(Long id) {
                this.id = id;
        }

        public ArrayList getList() {
                return list;
        }

        public void setList(ArrayList list) {
                this.list = list;
        }

}

#init model<in populateItem>
AllowModel tempmodule = new AllowModel();
tempmodule.setId(tempdbmap.getRole());
allowmap.put(tempdbmap.getSerialID(), tempmodule);

#role Label<in Form>
Label role = new Label("role", new PropertyModel((AllowModel)
allowmap.get(tempdbmap.getSerialID()),"id"));
arg0.add(role);

#othergroup<in DataView>
CheckGroup othergroup = new CheckGroup("othergroup",new
PropertyModel((AllowModel) allowmap.get(tempdbmap.getSerialID()), "list"));
othercontainer.add(othergroup);
-- 
View this message in context: 
http://www.nabble.com/CheckGroup-in-a-DataView-with-another-CheckGroup-tp16323358p16696200.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to