[opencms-dev] View of Search Result in one line

maria.freixes_graells at alcatel.es maria.freixes_graells at alcatel.es
Thu Aug 3 16:06:16 CEST 2006


Any idea to the following error code into this script:

<%@ page import="org.opencms.workplace.*, org.opencms.main.*, 
org.opencms.search.*, org.opencms.file.*, org.opencms.util.*, 
org.opencms.jsp.*, java.util.*"  %><%


        CmsLogin wp = new CmsLogin(pageContext, request, response);
    CmsObject cmsObject = cmsJspActionElement.getCmsObject();
        org.opencms.workplace.CmsWorkplaceAction.setCurrentFolder( 
cmsObject, "/opencms" );



%><%= wp.displayDialog() %>


The error is:

org.apache.jasper.JasperException: Unable to compile class for JSP An 
error occurred at line: 1 in the jsp file: 
/WEB-INF/jsp/offline/system/login/index3.html.jsp Generated servlet 
error: cmsJspActionElement cannot be resolved An error occurred at line: 
1 in the jsp file: /WEB-INF/jsp/offline/system/login/index3.html.jsp 
Generated servlet error: org.opencms.workplace.CmsWorkplaceAction cannot 
be resolved to a type



maria.freixes_graells at alcatel.es escribió:
> Hi Christian!!
>
> Sorry but I don't have
>
> org.opencms.workplace.CmsWorkplaceAction.setCurrentFolder
>
> are you sure that this is the class and the method?
>
> Thanks and best regards,
> Maria
>
>
> Christian Steinert escribió:
>>> -----Ursprüngliche Nachricht-----
>>> Von: The OpenCms mailing list <opencms-dev at opencms.org>
>>> Gesendet: 02.08.06 18:29:24
>>> An: The OpenCms mailing list <opencms-dev at opencms.org>
>>> Betreff: Re: [opencms-dev] View of Search Result in one line
>>>     
>>
>>
>>  
>>> Hey!
>>>
>>> Nobody knows a method from a class that let us to set the folder to 
>>> start when a workplace is opened?
>>>
>>> Thanks!!!
>>>
>>>
>>>     
>>
>> something like this should be enough
>>
>> CmsObject cmsObject = cmsJspActionElement.getCmsObject();
>> org.opencms.workplace.CmsWorkplaceAction.setCurrentFolder( cmsObject, 
>> "/path/to/folder" );
>>
>> c.
>> _____________________________________________________________________
>> Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
>> http://smartsurfer.web.de/?mc=100071&distributionid=000000000071
>>
>>
>> _______________________________________________
>> 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



More information about the opencms-dev mailing list