Ideally, this pagination should be something like
http://www.autolanka.com/forum/index.php?/topic/8634-expressway-updates/page__st__1000

On Fri, Jan 13, 2012 at 4:44 PM, Afkham Azeez <[email protected]> wrote:

> Looks good. Please come & meet me to get this reviewed.
>
>
> On Fri, Jan 13, 2012 at 4:38 PM, Ashansa Perera <[email protected]> wrote:
>
>> I have implemented the logic and a screenshot is attached. I had to add
>>  an attribute 'noOfPageLinksToDisplay' to the
>> /core/org.wso2.carbon.ui/src/main/resources/web/WEB-INF/tlds/carbontags.tld
>> in order to allow developers to configure the number of links to be
>> displayed in pagination.
>> In case the developer does not set this value, we can
>>      have a default value
>>      display links to all the pages. ( the existing logic)
>> Could you please suggest the best way to go with?
>>
>>
>> On Fri, Jan 13, 2012 at 10:47 AM, Afkham Azeez <[email protected]> wrote:
>>
>>> You just have to improve the Carbon UI framework's Paginator taglib to
>>> do this. It is a simple thing where you would show something like;
>>>
>>> <first  <prev ... 10 11 12 13 14 15 16 ... next> last >
>>>
>>>
>>> On Fri, Jan 13, 2012 at 10:01 AM, Ashansa Perera <[email protected]>wrote:
>>>
>>>> Hi,
>>>>
>>>>    All the components which are using Paginator class should have the
>>>> same issue as [1] since the logic implemented there is to show the links to
>>>> all the pages. We may have not noticed this since mostly we have only few
>>>> pages available. Is there a specific reason for that implementation? (
>>>> showing links to all pages ) Because at the time we get many pages we have
>>>> to face the same issue.
>>>>
>>>> [1] https://wso2.org/jira/browse/STRATOS-1417
>>>>
>>>> Thanks.
>>>> Ashansa
>>>>
>>>>
>>>> On Fri, Jan 13, 2012 at 7:23 AM, Amila Maha Arachchi 
>>>> <[email protected]>wrote:
>>>>
>>>>> Hi Senaka,
>>>>>
>>>>> What we want to achieve is, we want to display the available result
>>>>> pages as <prev 1 2 .. 11 12 13 14 15 16 17 next> when we have so many
>>>>> pages.
>>>>>
>>>>> At the moment, in the view_tenants page of Stratos manager we have
>>>>> about 80-100 result pages. Then it displays all the available page number.
>>>>> How can we display those page numbers as I have mentioned above (note the
>>>>> .. in that list of page numbers)
>>>>>
>>>>> Thanks,
>>>>> AmilaM.
>>>>>
>>>>> 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?
>>>>>>
>>>>>> 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.
>>>>>>>
>>>>>>> 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
>>>>>>>>
>>>>>>>> --
>>>>>>>> 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
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *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
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Ashansa Perera
>>>> Software Engineer
>>>> WSO2, Inc
>>>>
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> [email protected]
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * <http://www.apache.org/>**
>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>
>>> *
>>> *
>>> *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
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to