• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java FreeMarkerView类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.springframework.web.servlet.view.freemarker.FreeMarkerView的典型用法代码示例。如果您正苦于以下问题:Java FreeMarkerView类的具体用法?Java FreeMarkerView怎么用?Java FreeMarkerView使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



FreeMarkerView类属于org.springframework.web.servlet.view.freemarker包,在下文中一共展示了FreeMarkerView类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: RootMap

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
RootMap () throws Exception {
	if ( servletContext == null ) {
		servletContext = createServletContext();
		request = new MockHttpServletRequest("GET", "");
		response = new MockHttpServletResponse();
	}

	rootMap = new HashMap<String, Object>();
    RequestContext requestContext = new RequestContext(request, response, servletContext, rootMap);
    rootMap.put(FreeMarkerView.SPRING_MACRO_REQUEST_CONTEXT_ATTRIBUTE, requestContext);
    
    initDummyValues();
}
 
开发者ID:xenit-eu,项目名称:move2alf,代码行数:14,代码来源:RootMap.java


示例2: viewResolver

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
@Bean
public FreeMarkerViewResolver viewResolver() {
    final FreeMarkerViewResolver resolver = new FreeMarkerViewResolver();
    resolver.setCache(true);
    resolver.setPrefix("");
    resolver.setSuffix(".ftl");
    resolver.setViewClass(FreeMarkerView.class);
    resolver.setContentType("text/html; charset=utf-8");
    resolver.setExposeSpringMacroHelpers(true);
    return resolver;
}
 
开发者ID:music-for-all,项目名称:music-for-all-application,代码行数:12,代码来源:WebAppConfig.java


示例3: build

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
public FreeMarkerView build () {
  FreeMarkerView view = new FreeMarkerView ();
  initialize (view);
  if (encoding != null)
    view.setEncoding (encoding);
  if (configuration != null)
    view.setConfiguration (configuration);
  view.addStaticAttribute ("enums", BeansWrapper.getDefaultInstance().getEnumModels());
  return view;
}
 
开发者ID:dfci-cccb,项目名称:mev,代码行数:11,代码来源:FreeMarkerViewBuilder.java


示例4: home

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
@Bean
public FreeMarkerView home (FreeMarkerViewBuilder builder) {
  return builder.setUrl ("/edu/dfci/cccb/mev/web/views/home.ftl").build ();
}
 
开发者ID:dfci-cccb,项目名称:mev,代码行数:5,代码来源:Views.java


示例5: index

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
@Bean
public FreeMarkerView index (FreeMarkerViewBuilder builder) {
  return builder.setUrl ("/edu/dfci/cccb/mev/web/ui/stealmain.html").build ();
}
 
开发者ID:dfci-cccb,项目名称:mev,代码行数:5,代码来源:Views.java


示例6: api

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
@Bean
public FreeMarkerView api (FreeMarkerViewBuilder builder) {
  return builder.setUrl ("/edu/dfci/cccb/mev/web/views/api.ftl").build ();
}
 
开发者ID:dfci-cccb,项目名称:mev,代码行数:5,代码来源:Views.java


示例7: elementHeatmapSettingsModalBody

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
@Bean (name = "elements/heatmapSettingsModalBody")
public FreeMarkerView elementHeatmapSettingsModalBody (FreeMarkerViewBuilder builder) {
  return builder.setUrl ("/edu/dfci/cccb/mev/web/views/elements/heatmapSettingsModalBody.ftl").build ();
}
 
开发者ID:dfci-cccb,项目名称:mev,代码行数:5,代码来源:Views.java


示例8: elementAnovaModalBody

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
@Bean (name = "elements/anovaModalBody")
public FreeMarkerView elementAnovaModalBody (FreeMarkerViewBuilder builder) {
  return builder.setUrl ("/edu/dfci/cccb/mev/web/views/elements/anovaModalBody.ftl").build ();
}
 
开发者ID:dfci-cccb,项目名称:mev,代码行数:5,代码来源:Views.java


示例9: elementTTestModalBody

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
@Bean (name = "elements/tTestModalBody")
public FreeMarkerView elementTTestModalBody (FreeMarkerViewBuilder builder) {
  return builder.setUrl ("/edu/dfci/cccb/mev/web/views/elements/tTestModalBody.ftl").build ();
}
 
开发者ID:dfci-cccb,项目名称:mev,代码行数:5,代码来源:Views.java


示例10: elementHeatmapNavigation

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
@Bean (name = "elements/heatmapNavigation")
public FreeMarkerView elementHeatmapNavigation (FreeMarkerViewBuilder builder) {
  return builder.setUrl ("/edu/dfci/cccb/mev/web/views/elements/heatmapNavigation.ftl").build ();
}
 
开发者ID:dfci-cccb,项目名称:mev,代码行数:5,代码来源:Views.java


示例11: elementAnalysisMenuBar

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
@Bean (name = "elements/analysisMenuBar")
public FreeMarkerView elementAnalysisMenuBar (FreeMarkerViewBuilder builder) {
  return builder.setUrl ("/edu/dfci/cccb/mev/web/views/elements/analysisMenuBar.ftl").build ();
}
 
开发者ID:dfci-cccb,项目名称:mev,代码行数:5,代码来源:Views.java


示例12: elementSideNavigationBar

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
@Bean (name = "elements/sideNavigationBar")
public FreeMarkerView elementSideNavigationBar (FreeMarkerViewBuilder builder) {
  return builder.setUrl ("/edu/dfci/cccb/mev/web/views/elements/sideNavigationBar.ftl").build ();
}
 
开发者ID:dfci-cccb,项目名称:mev,代码行数:5,代码来源:Views.java


示例13: elementExpressionPanel

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
@Bean (name = "elements/expressionPanel")
public FreeMarkerView elementExpressionPanel (FreeMarkerViewBuilder builder) {
  return builder.setUrl ("/edu/dfci/cccb/mev/web/views/elements/expressionPanel.ftl").build ();
}
 
开发者ID:dfci-cccb,项目名称:mev,代码行数:5,代码来源:Views.java


示例14: elementHierarchicalbody

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
@Bean (name = "elements/hierarchicalbody")
public FreeMarkerView elementHierarchicalbody (FreeMarkerViewBuilder builder) {
  return builder.setUrl ("/edu/dfci/cccb/mev/web/views/elements/hierarchicalbody.ftl").build ();
}
 
开发者ID:dfci-cccb,项目名称:mev,代码行数:5,代码来源:Views.java


示例15: elementKMeansBody

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
@Bean (name = "elements/kMeansBody")
public FreeMarkerView elementKMeansBody (FreeMarkerViewBuilder builder) {
  return builder.setUrl ("/edu/dfci/cccb/mev/web/views/elements/kMeansBody.ftl").build ();
}
 
开发者ID:dfci-cccb,项目名称:mev,代码行数:5,代码来源:Views.java


示例16: elementLimmaBody

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
@Bean (name = "elements/limmaBody")
public FreeMarkerView elementLimmaBody (FreeMarkerViewBuilder builder) {
  return builder.setUrl ("/edu/dfci/cccb/mev/web/views/elements/limmaBody.ftl").build ();
}
 
开发者ID:dfci-cccb,项目名称:mev,代码行数:5,代码来源:Views.java


示例17: elementModal

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
@Bean (name = "elements/modal")
public FreeMarkerView elementModal (FreeMarkerViewBuilder builder) {
  return builder.setUrl ("/edu/dfci/cccb/mev/web/views/elements/modal.ftl").build ();
}
 
开发者ID:dfci-cccb,项目名称:mev,代码行数:5,代码来源:Views.java


示例18: elementLimmaAccordionList

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
@Bean (name = "elements/limmaAccordionList")
public FreeMarkerView elementLimmaAccordionList (FreeMarkerViewBuilder builder) {
  return builder.setUrl ("/edu/dfci/cccb/mev/web/views/elements/limmaAccordionList.ftl").build ();
}
 
开发者ID:dfci-cccb,项目名称:mev,代码行数:5,代码来源:Views.java


示例19: elementLimmaAccordion

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
@Bean (name = "elements/limmaAccordion")
public FreeMarkerView elementLimmaAccordion (FreeMarkerViewBuilder builder) {
  return builder.setUrl ("/edu/dfci/cccb/mev/web/views/elements/limmaAccordion.ftl").build ();
}
 
开发者ID:dfci-cccb,项目名称:mev,代码行数:5,代码来源:Views.java


示例20: elementTTestAccordionList

import org.springframework.web.servlet.view.freemarker.FreeMarkerView; //导入依赖的package包/类
@Bean (name = "elements/tTestAccordionList")
public FreeMarkerView elementTTestAccordionList (FreeMarkerViewBuilder builder) {
  return builder.setUrl ("/edu/dfci/cccb/mev/web/views/elements/tTestAccordionList.ftl").build ();
}
 
开发者ID:dfci-cccb,项目名称:mev,代码行数:5,代码来源:Views.java



注:本文中的org.springframework.web.servlet.view.freemarker.FreeMarkerView类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java JobUnsuccessfulCompletionEvent类代码示例发布时间:2022-05-22
下一篇:
Java FileDataSourceImpl类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap