FlashlightSearchPortlet.java 文件源码

java
阅读 26 收藏 0 点赞 0 评论 0

项目:flashlight-search 作者:
@Override
protected void doHelp(RenderRequest request, RenderResponse response) throws PortletException, IOException {
    String lang = request.getLocale().getLanguage();

    String templatePath;
    if(HELP_TEMPLATES.containsKey(lang)) {
        templatePath = HELP_TEMPLATES.get(lang);
    } else {
        templatePath = HELP_TEMPLATES.get(StringPool.BLANK);
    }

    Map<String, Object> ctx = Collections.singletonMap("ns", response.getNamespace());
    this.renderTemplate(request, response, ctx, templatePath);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号