peterjavaee / ck-jsf-editor

Automatically exported from code.google.com/p/ck-jsf-editor
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Config.template_files is an Integer #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Look at the Config class, template_files is an Integer

What is the expected output? What do you see instead?
1. Look at http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Templates
2. It should be an array of Strings

What version of the product are you using? On what operating system?
0.9.4

Please provide any additional information below.
The templates should work by passing in an array of Strings containing the 
paths to .js files that contain the template definition and content. I believe 
that the solution is as simple as changing the type of Config.template_files to 
String[] as well as the getters and setters, json will take care of the rest.

Cheers, Ed.

Original issue reported on code.google.com by eddyg.o....@gmail.com on 7 Mar 2012 at 11:08

GoogleCodeExporter commented 8 years ago
FYI. I made that simple change and it worked fine. No point ginging you a diff 
since it is trivial.

public class Config {
    ...
    private String[] templates_files;
    ...
}

And then change the getters and setters to comply.

Cheers, Ed.

Original comment by eddyg.o....@gmail.com on 8 Mar 2012 at 12:56