You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Laurent Trillaud <lt...@jouve.fr> on 2003/06/27 07:41:12 UTC
RE : public pages with the new portal framework?
Yes, I'm afraid of.
Laurent
-----Message d'origine-----
De : Alex Romayev [mailto:romayev@yahoo.com]
Envoyé : jeudi 26 juin 2003 23:43
À : cocoon-users@xml.apache.org
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: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org