[Help] Display:footer is shown on the top of the tab

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Help] Display:footer is shown on the top of the tab

SourceForge.net
The following forum message was posted by  at http://sourceforge.net/projects/displaytag/forums/forum/249318/topic/5488448:

Hello, I paste my table code, using displaytag.
My problem is that the footer is shown on the top of the table, and even using
css I can not put it at the botton.

I am using a form around the table, and Spring web flow. Could it couse some
conflicts?? If so, how could I fix it?
Any help would be really apreciated.


[code]<form:form method="POST" id="tableForm"><input type="hidden" name="_visit_cookie" value="bb2f807f1bfff4615b90603baa08dd1e" />
    <display:table id="row" name="displayTagValueList"
requestURI="overview?_eventId=tableAction">
        <display:setProperty name="paging.banner.item_name" value="Thread"/>
        <display:setProperty name="paging.banner.items_name" value="Threads"/>
        <display:setProperty name="paging.banner.group_size" value="5"/>
        <display:setProperty name="basic.msg.empty_list" value="No threads
found."/>

        <display:setProperty name="paging.banner.full" value='<span
class="pagelinks"><a href="{1}"><<First</a>��<a href="{2}"><Prev</a>��{0}��<a
href="{3}">Next></a>��<a href="{4}">Last>></a></span>'/>
        <display:setProperty name="paging.banner.first" value='<span
class="pagelinks"><<First��<Prev��{0}��<a href="{3}">Next></a>��<a
href="{4}">Last>></a></span>'/>
        <display:setProperty name="paging.banner.last" value='<span
class="pagelinks"><a href="{1}"><<First</a>��<a
href="{2}"><Prev</a>��{0}��Next>��Last>></span>'/>


        <display:column title="">
            <form:checkbox path="chosenIds" value="${row.id}"/>
        </display:column>
       
        <display:column title="Some title" >
            <c:out value="${row.someValue}"/>
        </display:column>

        <display:footer>
            <div class="tableFooter" >
                <input type='checkbox' name='checkall'
onclick='checkedAll(tableForm);'>  select all
                <input type="submit" name="_eventId_someTransitions" value="Send"
/>
            </div>
        </display:footer>
    </display:table>
    </form:form>[/code]


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
displaytag-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-user
Reply | Threaded
Open this post in threaded view
|

Re: [Help] Display:footer is shown on the top of the tab

Chris Pratt
Try changing <<First, <Prev, Next>, and Last>> to &lt;&lt;First, &lt;Prev, Next&gt;, and Last&gt;&gt;, respectively.
  (*Chris*)

On Mon, Jul 30, 2012 at 6:27 AM, SourceForge.net <[hidden email]> wrote:
The following forum message was posted by  at http://sourceforge.net/projects/displaytag/forums/forum/249318/topic/5488448:

Hello, I paste my table code, using displaytag.
My problem is that the footer is shown on the top of the table, and even using
css I can not put it at the botton.

I am using a form around the table, and Spring web flow. Could it couse some
conflicts?? If so, how could I fix it?
Any help would be really apreciated.


[code]<form:form method="POST" id="tableForm"><input type="hidden" name="_visit_cookie" value="bb2f807f1bfff4615b90603baa08dd1e" />
    <display:table id="row" name="displayTagValueList"
requestURI="overview?_eventId=tableAction">
        <display:setProperty name="paging.banner.item_name" value="Thread"/>
        <display:setProperty name="paging.banner.items_name" value="Threads"/>
        <display:setProperty name="paging.banner.group_size" value="5"/>
        <display:setProperty name="basic.msg.empty_list" value="No threads
found."/>

        <display:setProperty name="paging.banner.full" value='<span
class="pagelinks"><a href="{1}"><<First</a>  <a href="{2}"><Prev</a>  {0}  <a
href="{3}">Next></a>  <a href="{4}">Last>></a></span>'/>
        <display:setProperty name="paging.banner.first" value='<span
class="pagelinks"><<First  <Prev  {0}  <a href="{3}">Next></a>  <a
href="{4}">Last>></a></span>'/>
        <display:setProperty name="paging.banner.last" value='<span
class="pagelinks"><a href="{1}"><<First</a>  <a
href="{2}"><Prev</a>  {0}  Next>  Last>></span>'/>


        <display:column title="">
            <form:checkbox path="chosenIds" value="${row.id}"/>
        </display:column>

        <display:column title="Some title" >
            <c:out value="${row.someValue}"/>
        </display:column>

        <display:footer>
            <div class="tableFooter" >
                <input type='checkbox' name='checkall'
onclick='checkedAll(tableForm);'>  select all
                <input type="submit" name="_eventId_someTransitions" value="Send"
/>
            </div>
        </display:footer>
    </display:table>
    </form:form>[/code]


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
displaytag-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-user



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
displaytag-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-user