Bugs item #831334, was opened at 2003-10-27 21:24
Message generated for change (Comment added) made by luckynh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=831334&group_id=73068

Category: main tag library
Group: v 1.0-b1
Status: Open
Resolution: None
Priority: 5
Submitted By: Tim Golden (luckynh)
Assigned to: Nobody/Anonymous (nobody)
Summary: Banner Paging Placement

Initial Comment:
When I set the paging.banner.placement = to bottom
The paging banner appers BOTH top and bottom.

?display:setProperty name="paging.banner.placement"
value="bottom" /?

I tried to overwrite this in the JSP page and then in
the TableTag.properties file 

The paging should only apper on BOTH top and bottom
when the setProperty = both







----------------------------------------------------------------------

>Comment By: Tim Golden (luckynh)
Date: 2003-10-28 15:44

Message:
Logged In: YES 
user_id=704330

The problem seems to be within the TableTag.java file near
line 940

When the table is being built the pagination is appended
to the begining without checking to see if it should be
included;

lBuffer.append(getSearchResultAndNavigation());

I have added a check to see if the it should be included
with the call to mProp.getAddPagingBannerTop

     if (mProp.getAddPagingBannerTop())
        {
            lBuffer.append(getSearchResultAndNavigation());
        }

After recompiling and testing, they changes work as they should;

- When paging.banner.placement=top it will only display
paging on the top

- When paging.banner.placement=bottom it will only display
paging on the bottom

- When paging.banner.placement=both it will display paging
in both locations

Please add this fix into the next release.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=831334&group_id=73068


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to