AW: [opencms-dev] upgrade from 5.0 beta to 5.0 final

Niklas Eklund niklas at curalia.se
Mon Jul 14 13:57:01 CEST 2003


Sven,

I don't know the answer to the first question, but in answer to the 
second, the way to get hold of an object to handle navigation from jsp 
has changed slightly in 5.0 final, see the jsp documentation module.

Regards,

  Niklas

Sven Dittmar wrote:
> Hi again,
> 
> additionally I found out, that after publishing to the online project is 
> also broken, the export path is completly empty!
> 
> I can see this in the logfile:
> 
> java.lang.UnsupportedOperationException: Method getOriginalRequest not 
> supported in StaticExport.
> 
> Why?
> 
> I also clicked on the index.jsp and found this in the logfile:
> 
> javax.servlet.ServletException: Resource loader error in file 
> '/system/modules/org.opencms.welcome/elements/welcome_nav.jsp'
> 
> Root cause:
> org.apache.jasper.JasperException: Unable to compile class for JSP
> 
> An error occurred at line: 0 in the jsp file: 
> /WEB-INF/jsp/offline/system/modules/org.opencms.welcome/elements/welcome_nav.jsp.jsp 
> 
> 
> Generated servlet error:
>     [javac] Compiling 1 source file
> 
> /serv/services/jakarta/tomcat/jakarta-tomcat-4.1.12/work/Standalone/localhost/opencms5/WEB-INF/jsp/offline/system/modules/org.opencms.welcome/elements/welcome_nav_jsp_jsp.java:64: 
> cannot resolve symbol
> symbol  : method getNavigationForFolder 
> (com.opencms.file.CmsObject,java.lang.String)
> location: class com.opencms.flex.jsp.CmsJspNavElement
>         java.util.ArrayList list = 
> CmsJspNavElement.getNavigationForFolder(cms, foldername);
>                                                    ^
> 1 error
> 
> Sven
> 
> Sven Dittmar wrote:
> 
>> Hi all,
>>
>> I tried to upgrade from rc2 to 5final again on a separate 
>> machine/installation now. No real users there, better that way. :-)
>>
>> I imported my export-zip-file, setup/published our own classes and 
>> voila almost everything works!
>>
>> *Except:* editing the pages in HTML-mode (editing as source works, but 
>> there is an ActiveX warning "Wechselwirkung with other elements", 
>> which I answer with yes).
>>
>> In the logfile I get:
>>
>> [14.07.2003 10:09:32] <opencms_critical> [CmsSelectBox] Could not find 
>> method getFontStyles in calling class com.opencms.workplace.CmsEditor 
>> for generating select box content.
>> [14.07.2003 10:09:32] <opencms_critical> [CmsXmlWpTemplateFile] Error 
>> while building workplace element "select": 
>> com.opencms.core.CmsException: 2 Not found. Detailed error: Could not 
>> find method getFontStyles in calling class 
>> com.opencms.workplace.CmsEditor for generating select box content..
>> [14.07.2003 10:09:32] <opencms_critical> [CmsXmlTemplateEditor] Could 
>> not generate output for template file 
>> "/system/workplace/templates/edit_html_main" included as element 
>> "editor".
>> [14.07.2003 10:09:32] <opencms_critical> [CmsXmlTemplateEditor] 
>> com.opencms.core.CmsException: 2 Not found. Detailed error: Could not 
>> find method getFontStyles in calling class 
>> com.opencms.workplace.CmsEditor for generating select box content..
>> [14.07.2003 10:09:32] <opencms_info> [CmsElementXml 
>> (CmsXmlTemplateEditor/edit_page_main)] Error in getContent for 
>> template class com.opencms.workplace.CmsXmlTemplateEditor
>>
>> Do I have to change anything on the client side to use 5.0final? Is 
>> there a new activeX version of the wysiwig editor?
>>
>> Any hints welcome,
>> Sven
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list