All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.tlds.feilong-tags-display.tld Maven / Gradle / Ivy

Go to download

feilong is a suite of core and expanded libraries that include utility classes, http, excel,cvs, io classes, and much much more.

There is a newer version: 4.0.8
Show newest version


	
	

	
	1.1

	
	feilongDisplay

	
	http://java.feilong.com/tags-display

	
	飞龙java自定义标签-显示标签

	
	
		pager

		com.feilong.taglib.display.pager.PagerTag
		com.feilong.taglib.display.pager.PagerTagExtraInfo
		empty

		
			飞龙分页自定义标签
			
				 
  • 1.1.支持皮肤切换
  • 1.2.支持velocity模版,支持自定义velocity模版
  • 1.3.自动识别是否是forwoad 页面分页连接
  • 1.4.分页页码,当前页码永远居中
  • 1.5.分页 页码 支持 根据页码数字 自动显示 分页码个数,见参数说明里面的 maxIndexPages参数
  • 1.6.经过大型项目检验,通用安全扫描
  • 1.7.支持国际化
  • 1.8.内置文本框页码输入快速跳转
  • 1.9.支持类似于淘宝最大分页码100 这样的控制 ,见参数 {@link #maxShowPageNo}
  • 1.10.支持Ajax 分页 ,见参数 {@link PagerParams#pagerType} (1.4.0 new feature)
  • ]]>
    此时其余参数缺省,均使用默认值 所有参数都赋值的写法: ]]> count true true pageSize false true 每一页显示多少个数据,默认20 pageParamName false true url分页页码参数,默认 pageNo. skin false true 皮肤,默认有24种常用皮肤,默认皮肤 digg vmPath false true 基于classpath 下面的velocity模版文件路径,默认路径 velocity/feilong-default-pager.vm locale false true charsetType false true url编码,默认UTF-8 pagerHtmlAttributeName false true 此外,此变量名称允许变更,以便实现,同一页页面不同功能的的分页. ]]> maxShowPageNo false true 类似于淘宝不管搜索东西多少,最多显示100页
    这是一种折中的处理方式,空间换时间。 数据查询越往后翻,对服务器的压力越大,速度越低,而且从业务上来讲商品质量也越差,所以就没有必要给太多了。
    新浪微博的时间轴也只给出了10页,同样的折中处理。 ]]>
    dynamicNavigationPageNumberConfig false true 1.设置规则类似于url的参数规则

    2.默认是 1000=6&100=8&1=10,如果设置为empty或者blank, 那么表示不使用动态显示的功能,永远显示10个页码

    3.分隔之后,key是当前页码参考值,value是显示页码数量,如果当前页码大于等于key的时候,那么页码的数量会显示值的数量
    比如上例中,如果当前页码是1001,那么分页页码会显示成6个, 而如果当前页码是5,那么会显示10个页码

    4.顺序不限制,不需要值大的写前面,程序会自动转成 {@link TreeMap}

    5.当然如果你需要不管什么时候都显示10个,除了将此值设置为empty或者blank外,你还可以设置为 1000=10&100=10&1=10,值设置为相同

    ]]>
    httpConcat com.feilong.taglib.display.httpconcat.HttpConcatTag http concat功能 JSP type false true root false true version false true domain false true httpConcatSupport false true breadCrumb com.feilong.taglib.display.breadcrumb.BreadCrumbTag empty 面包屑导航 breadCrumbEntityList true true connector false true "]]> urlPrefix false true vmPath false true option com.feilong.taglib.display.option.OptionTag empty 用来基于 i18n配置文件,渲染select option选项,实现国际化功能,简化开发 baseName true true locale false true selectedKey false true loadBundle com.feilong.taglib.display.loadbundle.LoadBundleTag empty 将i18n配置文件,转成map,加载到request 作用域, 实现国际化功能,简化开发 baseName true true locale false true var true true sensitive com.feilong.taglib.display.sensitive.SensitiveTag empty 敏感信息过滤标签 value true true type true true maskChar false true




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy