[opencms-dev] View of Search Result in one line
maria.freixes_graells at alcatel.es
maria.freixes_graells at alcatel.es
Thu Aug 3 17:31:18 CEST 2006
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
More information about the opencms-dev
mailing list