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

maria.freixes_graells at alcatel.es maria.freixes_graells at alcatel.es
Thu Aug 3 18:47:28 CEST 2006


Please....any idea to open the workplace setting the folder?????????
Anybody?
Thanks!!!


maria.freixes_graells at alcatel.es escribió:
> Do you mean this? Sorry but it doesn't work neither, no errors, but 
> there is no way to set the /sites/default directory.....THANKS anyway!!
>
> <%@ page import="org.opencms.workplace.*, org.opencms.main.*, 
> org.opencms.db.*, org.opencms.search.*, org.opencms.file.*, 
> org.opencms.util.*, org.opencms.jsp.*, java.util.*, java.lang.String" 
> %>         
> <%CmsLogin wp = new CmsLogin(pageContext, request, response);
> wp.getRequestContext().setSiteRoot("/sites/default"); %>
>
> <%= wp.displayDialog() %>
>
>
> Nacho Fernandez escribió:
>> Sorry for the error, in the last post I said CmsJspActionElement 
>> doesn't have a getCmsObject method and I were obviously wrong. About 
>> your question, maybe you could try
>>
>> wp.getRequestContext().setSiteRoot("/sites/default");
>>
>> after initializing the CmsLogin and before calling 
>> wp.displayDialog(). Just an idea. Hope it works. Greetings,
>>
>> Nacho.
>> ------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> 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