[opencms-dev] Direct Edit not working with a custom login

Christian Steinert christian_steinert at web.de
Tue Oct 10 01:11:34 CEST 2006


I am not using the login bean, but logging in with CmsObject works for me.
See 
  http://mail.opencms.org/pipermail/opencms-dev/2006q2/024081.html 
for the code that I'm using

christian

> Hi coders
> 
> I have a login page in my site and i want that when an admin user logs
> in the direct edit function works. How can i do that?. If i log in
> using the workplace the direct edit works normally but when i log in
> from my login page i never see the direct edit button
> 
> the code i use for log in is:
> 
> <jsp:useBean id="cmslogin" class="org.opencms.jsp.CmsJspLoginBean">
>  <% cmslogin.init(pageContext, request, response); %>
> </jsp:useBean>
> 
> <%
> cmslogin.login(username, password);
> %>
> 
> docs?, tips?
> 
> Any help would be greatly appreciated
> 
> -- 
> Leonardo Moreno Guzmán
> http://leo.logtar.com
> http://www.flickr.com/photos/leillo/ | http://www.flickr.com/people/leillo/
> 
> _______________________________________________
> 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


_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222




More information about the opencms-dev mailing list