cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurent Trillaud" <ltrill...@jouve.fr>
Subject RE : public pages with the new portal framework?
Date Fri, 27 Jun 2003 05:41:12 GMT
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


Mime
View raw message