| Issue 283: | Problemas with my first worksheet | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Hello, i´m new with Jmesa and i´m trying to work with a worksheet. I set the js and css and images and the table is well created, the problem is that when i click on clear button of the toolbar, for example, the method jquery.jmesa.setcleartoworksheet and the methods oninvokeaction are called but nothing happens. Anyone knows why this could be? I have set the servlet on the web xml and the only thing that i can think about is that i´m missing something like in fact i have to hardcode this invoke action on the controller or anything like that. If someone can tell me step by step what must i do for a clear action for example i would be pleased
Sep 14, 2010
Project Member
#1
jeff.johnston.mn@gmail.com
Sep 14, 2010
Hi Jeff. Thanks for the answer. I´m using firebug, but no error message is shown when i click clear button, i´ve found a document searching on the web a document which says that i have to implement the oninvokeaction method on javascript, could this be the problem why no action of the toolbar works¿? On the other hand, i´ve found a worksheetservlet.java on the web, is this class needed to make the asyncronous request work on the worksheet or is just a example class. Thanks again!
Sep 15, 2010
Hi again. I´m starting to understand things but not everything is still clear to me. First of all i,ve seen that oninvokeaction must be created, am i wrong¿? I am using Spring and i have form action, where the jmesa table is included, that send the request to the my controller on spring, is this the right way of flow¿? So, for example, when i click the next page button the setPageToLimit('parametersTable','2') methos is inovked. parametersTable is the name of my table and two is the page which must be shown. oninvokeaction is also called with the nex_page action. This action should be generated automatically or i must treat it on my spring controller with the worksheet¿? I think here is where i am lost.
If second option is the good one, which method of the worksheet lets me control next page action¿?
Thanks again
Sep 15, 2010
definitely i don´t understand nothing. Every action i try is sended to the controller but the magic of jmesa is that i don´t have to do nothing with pagination, sorting and filtering, isn´t it¿? So, is there any document or colud you please explain me what should i do to get automatic sorting filtering and pagination¿? Thanks again jeff
Sep 15, 2010
i´ve found the problem. it is about the items collection, when i click on next page button i don´t load the collection so no results are shown!
Mar 9, 2011
(No comment was entered for this change.)
Status:
Invalid
|