Jeff,
Had some time last week to create the CustomToolbar. Well it works
like this.
While rendering first time the results page, I'm checking the size of
the results page and based on conditoins say like more than 5 or 10
create the page numbers and after reaching the condition create the
next icon which links to the next page. Its perfectly working.
if(HtmlUtils.totalPages(getCoreContext())>5){
for (j=1; j < 6; j++) {
addToolbarItem(createCustomItem(j));
}
if(getCoreContext().getLimit().getRowSelect().getPage()<
HtmlUtils.totalPages(getCoreContext()))
addToolbarItem(createCustomItemNext(j++));
}else{
for(int i=1; i<=HtmlUtils.totalPages(getCoreContext());i++){
addToolbarItem(createCustomItem(i));
}
}
The problem is after clicking the next icon,the tag value is set as
the next page number and the results records are displayed.
But here I want to recreate the entire custom tool bar once again with
adding the new page number.
I had uploaded the CustomToolBar file in the Files section. Have a
look.
Is there is any way to call once again to create the entire custom
tool bar from the java script?
Or is there is any way to overcome the problem ?
Any other better option to overcome this one?
Jeff, Can you pls help me out to overcome this issue. I'm stuck up
with this from last week and I need to do this before Wednesday.
Regards,
Srini
On May 22, 5:50 pm, "Jeff Johnston" <
extremecompone...@gmail.com>
wrote:
> >
http://code.google.com/p/jmesa/wiki/LimitExamplehttp://code.google.co...
> > > - Show quoted text -- Hide quoted text -