views:

17

answers:

1

We have stable spring based (spring 2.x) web application. We have a new requirement which is our data entry operators should be able to login to some kind of an admin module and simply change the text in the web pages, change the color etc. I have seen PHP based CMS’s that allows authorized user to change the content in WYSIWYG manner. If anyone of you knows such open source Java CMS or third party application, which can facilitate such thing, please let me know.

Please note: we cannot write our application from scratch. We are looking for pluggable component.

A: 

For a WYSIWYG editor that runs in a browser, see CKEditor. Integration is simple (just add a bit of JavaScript, change some names).

Aaron Digulla
Thanks Digulla for rapid reply, But our application supports localization (French etc.) Currently we are getting message source by re loadable resource bundle. So for an eg. Hello is saved in English property file -> label.hello=Hello and in French property file label.hello=Bonjour. We are thinking of another admin module because of this. Then person who change the text can apply the change in one event. Is there any java open source cms which supports localization ? Also can be plug to an existing application
anne_developer
Most Java CMS support localization but only for themselves and I know none which allow to edit the texts online. My suggestion is to add a filter on the JSP level and give all labels (or editable texts) a special class, ID or a custom attribute. If a user has the edit right, then install a click listener on the BODY tag and replace the label with a text field when a label is clicked. When the text field loses focus, use AJAX to send the text to the server to update the translations.
Aaron Digulla
Thanks .. Highly appreciate your feedbacks. Yes i guess you are correct. Again thank you for the technical solution.
anne_developer