[opencms-dev] OpenCms 6.2.2 and Editors
David Sánchez Hernández
sanher82 at gmail.com
Fri Dec 1 12:41:56 CET 2006
Hi,
I'm sorry but I don't understand what you want to get, I only was looking
the code but I didn't try to change nothing, if you tell me your aim I could
try to help you.
regards,
David.
2006/12/1, Andy Bicksbo <schlachtzeuger at gmail.com>:
>
> Hi
> Happy to get good news... i'm about to use the CmsFCKeditorWidget with
> addWidget(new CmsWidgetDialogParameter(object, "String", PAGES[0], new
> CmsFCKEditorWidget("configuration"), the mechanism is used to display a
> admin edit page dubclassing CmsWidgetDialog. The property i use for this is
> of type String.
> My problem is that only get an empty STring back from the editor
> Andy
>
>
> 2006/12/1, David Sánchez Hernández <sanher82 at gmail.com>:
> >
> > Hi,
> >
> > thanks because your answer. I tried a lot of things and I didn't get
> > nothing. I have tested the new opencms version and it's fixed. The "Page
> > with free text" content is "xmlpage"
> >
> > best regards,
> > David.
> >
> > 2006/11/30, Andy Bicksbo <schlachtzeuger at gmail.com >:
> > >
> > > Hi
> > > And do not know really a solution for your problem, but i can tell you
> > > i know, may this will help a little.
> > > The fck editor uses the org.opencms.editors.fckeditor.jar html area
> > > the org.opencms.editors.htmlarea.jar.
> > > This two are availible in two modules same name without ".jar".
> > > As far as i know opencms uses some different mechanism, if a resource,
> > > for example "Page with free text" (do you know the type id, for this type of
> > > resource, if so please tell me), is opened to edit, not the normal Classes
> > > subclassing the CmsHtmlWidget i think.
> > > So i try to get this mechanism at the moment, if you know that please
> > > let me know
> > > Regards andy
> > >
> > >
> > > 2006/11/23, David Sánchez Hernández <sanher82 at gmail.com>:
> > > >
> > > > Hi,
> > > >
> > > > I have a problem with the editors in opencms 6.2.2.
> > > >
> > > > At Preferences/Editors tab there are three select to choose the
> > > > editor used by opencms for each content type. If you select the HtmlArea
> > > > Editor in 'Page with free text', (the default option in opencms
> > > > 6.0.3) instead of FCKEditor, the editor shown editing a text area
> > > > in a content should be the HtmlArea Editor. When I edit a content wich
> > > > contents an OpenCmsHtml element I don't see the bar button, I only see the
> > > > html tags and the text.
> > > >
> > > > I have followed the problem some days and I can't find a solution. I
> > > > tell you the more relevant stuff which I have tried.
> > > >
> > > > In the folder /system/workplace/editors/ there are the available
> > > > editors, each of them has a configuration file named
> > > > editor_configuration.xml, you can use it to set some properties about the
> > > > editor. The file editor_configuration.xml of each editor set the widget
> > > > editor class, at the htmlarea editor case the class is
> > > > org.opencms.editors.htmlarea.cmsHtmlAreaWidget, but this class
> > > > doesn't exist, it isn't in opencms.jar, although if you look for it
> > > > in the CVS you find it in the folder src-modules. Then, I thought I didn't
> > > > install this, then, I installed this classes at opencms, I created a module
> > > > with those classes, the editor code (workplace/editors/htmlarea) and the
> > > > editor resources. But, finally, it didn't work. The result is the same.
> > > >
> > > > I have debuged the content edition and I haven't found the problem,
> > > > I have seen the widget type is linked with the class CmsHtmlWidget
> > > > (for fckeditor and htmlarea editor). This class goes to the fckeditor
> > > > classes when the fckeditor is selected but when the htmlarea editor is
> > > > selected it use its own methods.
> > > >
> > > > I'm desesperated with that. I'd like to know if I have forgotten
> > > > something installing the editor. Or if somebody has any idea about this
> > > > problem.
> > > >
> > > > Thanks in advance,
> > > > David.
> > > >
> > > > _______________________________________________
> > > > This mail is sent to you from the opencms-dev mailing list
> > > > To change your list options, or to unsubscribe from the list, please
> > > > visit
> > > > http://lists.opencms.org/mailman/listinfo/opencms-dev
> > > >
> > > >
> > >
> > >
> > > _______________________________________________
> > > This mail is sent to you from the opencms-dev mailing list
> > > To change your list options, or to unsubscribe from the list, please
> > > visit
> > > http://lists.opencms.org/mailman/listinfo/opencms-dev
> > >
> > >
> >
> >
> > _______________________________________________
> > This mail is sent to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
> > visit
> > http://lists.opencms.org/mailman/listinfo/opencms-dev
> >
> >
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20061201/e9f5a89f/attachment.htm>
More information about the opencms-dev
mailing list