Right, but all that is doing is the first <span
class="pagebanner">...</span> I need the banner and the links to be
enclosed in a single container. It appears that there is code available
that does this but it's just not in 1.1.
Thanks.
José Renato wrote:
> You can use the display-tag properties to do that:
>
> <display:setProperty name="paging.banner.one_item_found">
> <table class="display-banner" width="100%" border="0" cellpadding="0"
> cellspacing="0">
> <thead>
> <tr>
> <th align="left" class="sortable">Um {0} encontrado</th>
> </tr>
> </thead>
> </table>
> </display:setProperty>
>
> <display:setProperty name="paging.banner.all_items_found">
> <table class="display-banner" width="100%" border="0" cellpadding="0"
> cellspacing="0">
> <thead>
> <tr>
> <th align="left" class="sortable">{0} {1} encontrados</th>
> </tr>
> </thead>
> </table>
> </display:setProperty>
>
> <display:setProperty name="paging.banner.onepage">
> <table class="display-banner" width="100%" border="0" cellpadding="0"
> cellspacing="0">
> <thead>
> <tr>
> <th align="left" class="sortable"></th>
> </tr>
> </thead>
> </table>
> </display:setProperty>
>
> <display:setProperty name="paging.banner.some_items_found">
> <table class="display-banner" width="100%" border="0" cellpadding="0"
> cellspacing="0">
> <thead>
> <tr>
> <th align="left" class="sortable">${lblShowing}
> [{2}/{3}]: {0}</th>
> </tr>
> </thead>
> </table>
> </display:setProperty>
>
> <display:setProperty name="paging.banner.first">
> <table class="display-banner" width="100%" border="0" cellpadding="0"
> cellspacing="0">
> <thead>
> <tr>
> <th align="left">[${lblFirst}/${lblPrev}] {0} [<a
> onclick="paginate(''CALL'', ''{3}'');"
> href="javascript://nop/">${lblNext}</a>/<a
> onclick="paginate(''CALL'', ''{4}'');"
> href="javascript://nop/">${lblLast}</a>]</th>
> </tr>
> </thead>
> </table>
> </display:setProperty>
>
> <display:setProperty name="paging.banner.full">
> <table class="display-banner" width="100%" border="0" cellpadding="0"
> cellspacing="0">
> <thead>
> <tr>
> <th align="left">[<a onclick="paginate(''CALL'',
> ''{1}'');" href="javascript://nop/">${lblFirst}</a>/<a
> onclick="paginate(''CALL'', ''{2}'');"
> href="javascript://nop/">${lblPrev}</a>]
> {0} [<a onclick="paginate(''CALL'', ''{3}'');"
> href="javascript://nop/">${lblNext}</a>/<a onclick="paginate(''CALL'',
> ''{4}'');" href="javascript://nop/">${lblLast}</a>]</th>
> </tr>
> </thead>
> </table>
> </display:setProperty>
>
> <display:setProperty name="paging.banner.last">
> <table class="display-banner" width="100%" border="0" cellpadding="0"
> cellspacing="0">
> <thead>
> <tr>
> <th align="left">[<a onclick="paginate(''CALL'', ''{1}'');"
> href="javascript://nop/">${lblFirst}</a>/<a
> onclick="paginate(''CALL'', ''{2}'');"
> href="javascript://nop/">${lblPrev}</a>]
> {0} [${lblNext}/${lblLast}]</th>
> </tr>
> <thead>
> </table>
> </display:setProperty>
>
> <display:setProperty name="paging.banner.page.link">
> <a href="javascript://nop/" onclick="paginate(''CALL'', ''{1}'');"
> title="Go to page {0}">{0}</a>
> </display:setProperty>
>
> Note that you have many situations to treat. Hope it helps.
>
> Best Regards,
> José Renato.
>
> Gregg Bolinger escreveu:
>
>> I've been looking for a way to style the entire paging bar, however, the
>> output doesn't wrap the banner and links in any single container (div).
>>
>> <span class="pagebanner">page: </span>
>> <span class="pagelinks">links here</span>
>>
>> What I need is something like:
>>
>> <div id="paging">
>> <span class="pagebanner">page: </span>
>> <span class="pagelinks">links here</span>
>> </div>
>>
>> However, I can't seem to find a way to do that. Is this possible?
>>
>> Thanks.
>>
>> Gregg
>>
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> displaytag-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>>
>>
>>
>>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> displaytag-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user