-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wicket 7 Component class structures #47
Comments
You mean like "a jquery pluggin scanner" that give you a list of features to be supported by a "Java version"of plugin. and possibly a generator. I think you can access properties ant JavaScript level via $(x).data("plugin name")... |
I meant a unit test or maven plugin or whatever which scans the jQuery UI js files and generates/edits .java files accordingly. This way know if functions have been added to//removed from the jQuery UI js files. We will only have to implement the body of the generated functions or keep track of removed functions. |
Yes that's what I meant by $(x).data("plugin name"): this gives you a list of plugins functions, properties, |
Well not exactly a list but an object with those properties. |
Lets try some options after I've created a wicket 6 branch. Hielke
|
It would help a lot if they make the public API of a plugin in some easily parseable/uanbigous format: we might need types for the parameters/methods and so on if we want to build a generator, |
We need a new class structure which is maintainable over all the jQuery UI versions. Otherwise we will keep having problems in where we have no idea whether things are or will keep working.
Perhaps we should make a Java generator which scans the JavaScript files for options, methods and events and if needed adds them to the Java files.
Ideas?
The text was updated successfully, but these errors were encountered: