Search in sources :

Example 1 with InstructorFeedbackQuestionVisibilityMessagePageData

use of teammates.ui.pagedata.InstructorFeedbackQuestionVisibilityMessagePageData in project teammates by TEAMMATES.

the class InstructorFeedbackQuestionVisibilityMessageAction method execute.

@Override
protected ActionResult execute() {
    FeedbackQuestionAttributes feedbackQuestion = extractFeedbackQuestionData(account.email);
    List<String> message = feedbackQuestion.getVisibilityMessage();
    InstructorFeedbackQuestionVisibilityMessagePageData data = new InstructorFeedbackQuestionVisibilityMessagePageData(account, sessionToken);
    data.visibilityMessage = message;
    return createAjaxResult(data);
}
Also used : InstructorFeedbackQuestionVisibilityMessagePageData(teammates.ui.pagedata.InstructorFeedbackQuestionVisibilityMessagePageData) FeedbackQuestionAttributes(teammates.common.datatransfer.attributes.FeedbackQuestionAttributes)

Aggregations

FeedbackQuestionAttributes (teammates.common.datatransfer.attributes.FeedbackQuestionAttributes)1 InstructorFeedbackQuestionVisibilityMessagePageData (teammates.ui.pagedata.InstructorFeedbackQuestionVisibilityMessagePageData)1