Hi,

On Thu, Jan 12, 2012 at 9:46 PM, Senaka Fernando <[email protected]> wrote:

> Hi Ahansa, AmilaM,
>
> What do you want achieve in here? From what you are discussing I believe
> that you might have had an offline discussion, but for the benefit of
> others who have not been a part of it, can you summarize what are you
> trying to implement/fix?
>

          This is regarding the JIRA issue
STRATOS-1417<https://wso2.org/jira/browse/STRATOS-1417>.
The issue is, it displays links to all the available pages.

>
> Thanks,
> Senaka.
>
>
> On Thu, Jan 12, 2012 at 5:07 PM, Amila Maha Arachchi <[email protected]>wrote:
>
>> Hi,
>>
>> What parameters do we need to set in order to show the page numbers as
>>
>> <prev 1 2 .. 7 8 9 10 11 12 Next>
>
>
>> Ashansa, can you post the available parameters in the tag library? Then
>> someone will be able to point to the necessary ones.
>>
>

core/org.wso2.carbon.ui/src/main/resources/web/WEB-INF/tlds/carbontags.tld/carbontags.tld
contains tags for 2 Paginator classes as follow.
for Paginator
: pageNumber, numberOfPages, page, pageNumberParameterName,
resourceBundle, nextKey, prevKey,
                                 parameters, showPageNumbers

for ResourcePaginator : pageNumber, numberOfPages, tdColSpan,
page, pageNumberParameterName, resourceBundle, nextKey, prevKey,
parameters, paginationFunction

As I understood tdColSpan is the parameter which is handling the pagination
logic of activity search in Greg. But the jsp related to this JIRA is using
Paginator which does not contains tdColSpan parameter and the Paginator
logic is implemented such that links to all page numbers are visible for
tenant.


>
>> Regards,
>> Amila.
>>
>> On Thu, Jan 12, 2012 at 3:42 PM, Ashansa Perera <[email protected]> wrote:
>>
>>> Hi,
>>>
>>>  Can someone please specify the logic behind the pagination (
>>> highlighted in attached image ) in activity search - Greg
>>>
>>> Thanks
>>>
>>>
        Thanks.

> --
>>> Ashansa Perera
>>> Software Engineer
>>> WSO2, Inc
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> *Amila Maharachchi*
>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>
>> Blog: http://maharachchi.blogspot.com
>> Mobile: +94719371446
>>
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Senaka Fernando*
> Product Manager - WSO2 Governance Registry;
> Associate Technical Lead; WSO2 Inc.; http://wso2.com*
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Ashansa Perera
Software Engineer
WSO2, Inc
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to