private void populateConfigurableQuestionsGrid(WhiteBoardQuestionConfigVoCollection questions) { if (questions==null || questions.size()==0) return; for (int i=0;i<questions.size();i++) { addRowToQuestionsGrid(questions.get(i)); } }
private void addConfigurableQuestions(DynamicGridRow row, WhiteBoardQuestionConfigVoCollection collOtherQuestions) { if (collOtherQuestions==null) return; for (int i=0;i<collOtherQuestions.size();i++) { DynamicGridCell cellPain = row.getCells().newCell(getColumnByIdentifier(collOtherQuestions.get(i)), DynamicCellType.WRAPTEXT); cellPain.setValue(collOtherQuestions.get(i).getQuestionText()); cellPain.setTooltip(collOtherQuestions.get(i).getQuestionText()); cellPain.setReadOnly(true); } }
private void initializeWithConfigurableQuestions(WhiteBoardQuestionConfigVoCollection collOtherQuestions) { if (collOtherQuestions==null || collOtherQuestions.size()==0) return; for (int i=0;i<collOtherQuestions.size();i++) addColumnQuestion(collOtherQuestions.get(i)); }