org.hippoecm.frontend.plugins.yui.feedback.YuiFeedbackPanel类的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(159)

本文整理了Java中org.hippoecm.frontend.plugins.yui.feedback.YuiFeedbackPanel类的一些代码示例,展示了YuiFeedbackPanel类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YuiFeedbackPanel类的具体详情如下:
包路径:org.hippoecm.frontend.plugins.yui.feedback.YuiFeedbackPanel
类名称:YuiFeedbackPanel

YuiFeedbackPanel介绍

暂无

代码示例

代码示例来源:origin: org.onehippo.cms7/hippo-cms-api

public YuiFeedbackPanel(String id, IFeedbackMessageFilter filter) {
  super(id);
  add(feedback = new FeedbackPanel("feedback", filter));
  feedback.setOutputMarkupId(true);
  feedback.add(new NotifyUserBehavior());
  setOutputMarkupId(true);
}

代码示例来源:origin: org.onehippo.cms7/hippo-addon-publication-workflow-frontend

protected void showFeedback() {
  YuiFeedbackPanel yfp = (YuiFeedbackPanel) feedbackContainer.get("feedback");
  yfp.render(AjaxRequestTarget.get());
}

代码示例来源:origin: org.onehippo.cms7/hippo-addon-publication-workflow-frontend

public Feedback() {
  super("info");
  Fragment feedbackFragment = new Fragment("text", "feedback", EditingReviewedActionsWorkflowPlugin.this);
  feedbackFragment.add(new YuiFeedbackPanel("feedback", new IFeedbackMessageFilter() {
    private static final long serialVersionUID = 1L;
    public boolean accept(FeedbackMessage message) {
      return FeedbackLogger.class.isInstance(message.getReporter());
    }
  }));
  add(feedbackFragment);
}

代码示例来源:origin: org.onehippo.cms7/hippo-cms-yui

public YuiFeedbackPanel(String id, IFeedbackMessageFilter filter) {
  super(id);
  add(feedback = new FeedbackPanel("feedback", filter));
  feedback.setOutputMarkupId(true);
  feedback.add(new NotifyUserBehavior());
  setOutputMarkupId(true);
}

相关文章