如何调整Struts 2显示标记中 链接的位置
这是我的Struts代码。 我想知道如何调整display tag中[last/prev]
[next/last]
链接的位置
`enter code here` Forbes Top 10 Richest Sports Stars 2009 Forbes Top 10 Richest Sports Stars 2009
Note : List is according to Forbes List 2009
displaytag允许通过display.properties
文件修改其function。 您可以覆盖默认为top
的属性paging.banner.placement
调整横幅的位置(其中[first / prev] [next / last]链接)你必须覆盖属性
paging.banner.full=
现在,您必须通过更改类pagelinks
或通过添加style
属性来设置横幅的位置来修改div标签的style
。 例如position: absolute; top: 75px; left: 260px; width: 245px; background-color: azure;
position: absolute; top: 75px; left: 260px; width: 245px; background-color: azure;
Roman已经建议了您可以在属性文件中使用的方式。 但有时属性文件解决方案不起作用::这是解决方案
通过这种方式,您可以使用cutomized您的分页横幅..