Yes, I'm afraid of. Laurent -----Message d'origine----- De : Alex Romayev [mailto:[EMAIL PROTECTED] Envoyé : jeudi 26 juin 2003 23:43 À : [EMAIL PROTECTED] Objet : RE: public pages with the new portal framework?
I'm not sure about the new portal generator, but the old one requires authentication. I suspect that initially it was designed only to build "portal" pages, i.e., assuming there is an identifiable user and there are differences between what you show to different users. I also found the generator to be a good tool for building all pages, as it facilitates good modular design and a nice way of adding/removing functionality via portal configuration files, without having to touch the page code. I was hoping that the new portal will remove this constraint, but looks like it doesn't... Cheers, -Alex ---------------------------------------------------- HI First of all I'm very impressed by the new portal framework. I would like to build a portal with both public and private part using the new portal generator. All samples I found, request an authentification before using the portal generator. When I try to use it without login with: <map:match pattern="portal"> <map:generate type="portal"> <map:parameter name="portal-name" value="portal" /> </map:generate> <map:transform src="{global:skin}styles/header.xsl"/> <map:transform type="cinclude"/> <map:transform type="encodeURL"/> <map:serialize type="html"/> </map:match> I got an exception Original Exception: org.apache.avalon.framework.CascadingRuntimeException: Arg at org.apache.cocoon.portal.profile.impl.AuthenticationProfileManager.getPo rtalLayout(AuthenticationProfileManager.java:269) at org.apache.cocoon.portal.impl.PortalManagerImpl.showPortal(PortalManager Impl.java:111) at org.apache.cocoon.portal.generation.PortalGenerator.generate(PortalGener ator.java:90) ... Any ideas? Laurent Trillaud --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]