Replies: 1 comment
-
I change jmesa java part only for my personal property, may be not suitable for you, and the I 'm not care about the jQuery part because in my project i integrated with React so jQuery plugin not maintained. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I wanted to ask you something about this new version of jmesa. I will try to explain the problem the best I can:
I have a project which was made on java 8 with jmesa 3.0.4, and is now upgrading to java 21 with jakarta, and a lot of other libraries... When updating jmesa, for which I thank you a lot, this repository saved me a lot of hours of changing the tables, the java part was fast, almost everything worked without needs of changing, except the toolbar. I remade the toolbar we had with the new SimpleToolbar included in the repository, and it works almost perfect, except for the botons to change the page of the table. I have tow scenaries:
If I don't change the jmesa.js I had, which are the old ones from the jmesa 3.0.4, the following errors appear:
Uncaught TypeError: jQuery.jmesa.setPage is not a function
It doesn't say anything else. I thought that maybe the javascript files where also updated, so I came here, download the new ones , implemented them, and the error just disappear... but it wasn't working... I checked the files and notice that the ones are shorter than the old ones, which has more functions; and some of the functions that the old jmesa used to change pages on a table, seems to not be in the new javascript files. So, my cuestion is, is this intended? shouldn't the functions needed for jmesa be already there or do we have to do our own functions? Is there something I'm missing?
This is an example of ones of the functions I think is missing in the new version of jquery.jmesa.js (I think this is the one that made the old jmesa toolbar buttons work, I have worked a lot with jmesa so I'm not sure, but from what I have saw, it has to be something like this if not this one.) :
`createHiddenInputFields : function(form) {
var limit = this.limit;
Thanks for your time, and sorry for the long text!
Beta Was this translation helpful? Give feedback.
All reactions