El vie, 07-04-2006 a las 11:56 +0100, Andrew Golightly escribió: > Jörn Nettingsmeier wrote: > > >>> > >>>> hi everyone! > >>>> > >>>> > >>>> what is the correct way to provide a "login" link in the live area > >>>> that will allow visitors to view restricted content or have > >>>> different menus displayed to them based on their ac rights? > >>>> > >>>> i tried this url: > >>>> > >>>> http://localhost:8888/unidue/live/notizen.html?lenya.usecase=ac.login > >>>> > >>>> it displays a login window, but after i authenticate, i get this: > >>>> > >>>> http://localhost:8888/unidue/live/notizen.htmlnull > >>>> this is weird------------------^^^^ > >>>> > >>>> the body of that page says "The requested document '/notizen.html' > >>>> with document-id '/notizen' does not exist." > >>>> the page does exist, it's the one i started from. > >>> > It looks like you have to append "&referrerQueryString=" to the login > url to avoid 'null' being appended after you authenticate. This seems to > work fine if you manually type it in, but if you hardcode that link as > part of an xslt, I get this error msg: > > The reference to entity "referrerQueryString" must end with the ';' > delimiter. >
That is because "&" is the start of an entity delimiter. Try &referrerQueryString=... HTH salu2 -- Thorsten Scherler COO Spain Wyona Inc. - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org [EMAIL PROTECTED] [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
