use of org.apache.openmeetings.db.entity.room.RoomPoll in project openmeetings by apache.
the class PollResultsDialog method updateModel.
public void updateModel(IPartialPageRequestHandler target, boolean moderator) {
selForm.updateModel(target);
this.moderator = moderator;
RoomPoll p = selForm.select.getModelObject();
dispForm.updateModel(p, false, target);
StringBuilder builder = new StringBuilder();
builder.append("$('#").append(PollResultsDialog.this.getMarkupId()).append("').on('dialogopen', function( event, ui ) {");
builder.append(getScript(barChart(p)));
builder.append("});");
target.appendJavaScript(builder.toString());
}
Aggregations