[ANN] Orixo launched

2003-06-16 Thread Matthew Langham
To the Cocoon Community

The involvement of commercial entities in an open source project can help
tremendously with its success. If we look at the Linux OS, the Apache web
server or other important open source projects, we often can see a mixed
model where business and open source go side by side.

In the past, the commercial side of Cocoon has been slightly in the dark.
Some community members were known to be commercial entities, but in general,
their commercial side has been intentionally kept low profile. We believe
that this can be especially a disadvantage when it comes to enticing new
companies into the world of Cocoon - they might fear that there is no
support nor additional tools which will help them to build sustainable
operations based on our beloved Cocoon project.

In addition, we are perceiving an increasing need for additional Cocoon
services such as training or consulting.

At the previous GetTogether, the undersigned started a loose discussion on
forming some sort of business alliance with the aim of being an umbrella
under which commercial entities could discuss business perspectives, share
resources or work together on new Cocoon related topics.

The undersigned were able to join in open discussion (although being
competitors) because we felt that the business model laid out in the
Cluetrain manifesto was a Good Thing when it comes to defining business in
the Internet age. Also, as much as we care about our own businesses, we have
been working inside this wonderful Cocoon community for a long time and care
a great deal about its sustained development, both community- and
technology-wise.

These discussions resulted in a consortium of 6 European companies, whose
names are well familiar to the Cocoon community, joining forces to
accelerate the corporate adoption of Cocoon by offering a shared vision of
support and services. The name of the consortium is Orixo and the website is
at http://www.orixo.com

We feel very strong about the fact that an open source-related business
initiative should have a particular emphasis on giving back to the
community. The undersigned are all active members of the Cocoon project, and
we hope that our joined efforts will continue to be beneficial for the
entire Cocoon community. With regards to our involvement in the Cocoon
project, business remains as usual.

Signed

Anyware Technologies
Luminas
Otego
Outerthought
Pro-netics
SN AG



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANN] sunBow 1.0

2003-03-28 Thread Matthew Langham
Sylvain,

if you cannot change to Eclipse 2.1 - we could extend the sunBow licence so
that it does not expire. The changes between sunBow 0.6 and sunBow 1.0 are
not that big.

Please contact me off-list on this.

Thanks

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 4:54 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [ANN] sunBow 1.0


 I used both Sunbow (0.6) plugin and Eclipse 2.0.1.

 Does it means that if you don't have Eclipse 2.1 you won't be
 able to use Sunbow plugin?

 Sylvain (T)


 -Message d'origine-
 De: Martin Dulisch [mailto:[EMAIL PROTECTED]
 Date: vendredi, 28. mars 2003 16:47
 À: [EMAIL PROTECTED]
 Objet: Re: [ANN] sunBow 1.0


 Lyall, Keith wrote:
  Hi Martin,
 
  The version of Eclipse I am using is labelled v2.0.1.

 sunBow does not run with 2.0.x. There are API changes and plugin
 refacrotings in 2.1

 
  I have not seen a v2.1 anywhere.
 

 2.1 release is announced for today. Release candidates are available.

 Martin



 -
 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]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: WELCOME to cocoon-users@xml.apache.org

2003-03-20 Thread Matthew Langham
Hi Gary,

if you are using Cocoon 2.0 then you need to look at writing a Generator.
Producer was the old name for Cocoon 1.x. I suggest you perhaps buy one of
the books available.

Of course you could tell us more about what you want to do - perhaps
something already exists.

Welcome to Cocoon :-)

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=


 -Original Message-
 From: Howard, Gary [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 20, 2003 3:11 PM
 To: '[EMAIL PROTECTED]'
 Subject: RE: WELCOME to [EMAIL PROTECTED]


 I am new to Cocoon.  I have some idea of what I need to do.  I need to
 dynamically generate my xml.  I keep hearing that I need to write a custom
 Producer, but I cannot find any documentation on this.  I have the Cocoon
 2.0 install.  Does anyone have any pointers?

 Thanks,
 Gary

 -
 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]



RE: 2.1 CVS build

2003-02-26 Thread Matthew Langham
If you need up-2-the-minute information on this - YES! There is lot's of
movement in the build system at the moment and things are looking better by
the minute (really).

Matthew

 -Original Message-
 From: Ryan Hoegg [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, February 26, 2003 4:49 PM
 To: [EMAIL PROTECTED]
 Subject: 2.1 CVS build


 Hello,

 I've heard echoes around here that the build system for 2.1 is in a
 state of flux right now.  How can I stay abreast of the changes?  Is
 this something for which I need to be on the Cocoon-dev list?

 --
 Ryan Hoegg
 ISIS Networks
 http://www.isisnetworks.net


 -
 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]



RE: Cocoon2: Logger required?

2003-02-26 Thread Matthew Langham
Uwe,

  Hello,
  can I configure Cocoon2 so that it doesn't use the logger?
 

 Cocoon logging can be configured in the file WEB-INF/logkit.xconf.

 Usually for deployment the log-levels are set to ERROR (instead of
 DEBUG).


What Bruno means is - why do you want to turn the logger off? If it is
because there is too much output - then change the configuration to ERROR
instead of DEBUG.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Please Help: Problems with Cocoon2 V2.03 with Bea WebLogic5.1

2003-02-24 Thread Matthew Langham
Hi Uwe,

unfortunately I can't really help - apart from the fact that it seems really
difficult to install Cocoon in Bea 5.x. We managed to get Cocoon running in
the 6.x series - and there is information here:

http://xml.apache.org/cocoon/installing/index.html

Sorry I can't be more help on this. Have you searched the archives?

Regards from Paderborn

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=


 -Original Message-
 From: Uwe Gerger [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 24, 2003 11:55 AM
 To: [EMAIL PROTECTED]
 Subject: Please Help: Problems with Cocoon2 V2.03 with Bea WebLogic5.1


 Hallo,
  I have problems running Cocoon2 2.0.3 with Bea WebLogic 5.1. When
  starting the web-server I receive the following exception:

  Fr Feb 22 16:58:40 CET 2002:I WebAppServletContext-cocoon
  Pre-Loading servlet Cocoon2
  Fr Feb 22 16:58:40 CET 2002:E WebAppServletContext-cocoon Error
  instantiating servlet: org.apache.cocoon.servlet.CocoonServlet
  java.lang.NoClassDefFoundError:
  org/apache/avalon/framework/context/Context
  at java.lang.Class.newInstance0(Native Method)
  at java.lang.Class.newInstance(Class.java:232)
 at

 weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStu
 bImpl.java:469)
  at

 weblogic.servlet.internal.ServletStubImpl.createInstances(ServletS
tubImpl.java:453)
  at

 weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletSt
ubImpl.java:442)
  at

 weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletSt
ubImpl.java:361)
  at

 weblogic.servlet.internal.ServletContextImpl.preloadServlet(Servle
tContextImpl.java:752)
  at

 weblogic.servlet.internal.ServletContextImpl.preloadServlets(Servl
etContextImpl.java:726)
  at
  weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:683)
  at weblogic.t3.srvr.HttpServer.start(HttpServer.java:479)
  at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1393)
  at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:879)
  at java.lang.reflect.Method.invoke(Native Method)
  at weblogic.Server.startServerDynamically(Server.java:140)
  at weblogic.Server.main(Server.java:97)
  at weblogic.Server.main(Server.java:58)

  My start-command is:


 JAVA_CLASSPATH=.\lib\weblogic510sp12boot.jar;.\classes\boot;.\eval
 \cloudscape\lib\cloudscape.jar


 WEBLOGIC_CLASSPATH=c:\jdk1.3.1_06\lib\tools.jar;.\lib\cocoon\cocoo
 n-2.0.3.jar;.\lib\cocoon\avalon-framework-4.1.2.jar;.\lib\cocoon\a
 valon-excalibur-4.1.jar;.\lib\cocoon\batik-libs-1.1.1.jar;.\lib\co
 coon\bsf-2.2.jar;.\lib\cocoon\fop-0.20.3rc.jar;.\lib\cocoon\jakart
 a-regexp-1.2.jar;.\lib\cocoon\jstyle.jar;.\lib\cocoon\logkit-1.0.1
 .jar;.\lib\cocoon\rhino-1.5r3.jar;.\lib\cocoon\xalan-2.3.1.jar;.\l
 ib\cocoon\xercesImpl-2.0.0.jar;.\lib\cocoon\xml-apis.jar;.\lib\coc
 oon\xt-19991105.jar;.\license;.\lib\weblogic510sp12.jar;.\classes;
 .\lib\weblogicaux.jar;.\myserver\serverclasses

  start-command:

  c:\jdk1.3.1_06\bin\java -ms64m -mx64m -classpath

 .\lib\weblogic510sp12boot.jar;.\classes\boot;.\eval\cloudscape\lib
 \cloudscape.jar

 -Dweblogic.class.path=c:\jdk1.3.1_06\lib\tools.jar;.\lib\cocoon\co
 coon-2.0.3.jar;.\lib\cocoon\avalon-framework-4.1.2.jar;.\lib\cocoo
 n\avalon-excalibur-4.1.jar;.\lib\cocoon\batik-libs-1.1.1.jar;.\lib
 \cocoon\bsf-2.2.jar;.\lib\cocoon\fop-0.20.3rc.jar;.\lib\cocoon\jak
 arta-regexp-1.2.jar;.\lib\cocoon\jstyle.jar;.\lib\cocoon\logkit-1.
 0.1.jar;.\lib\cocoon\rhino-1.5r3.jar;.\lib\cocoon\xalan-2.3.1.jar;
 .\lib\cocoon\xercesImpl-2.0.0.jar;.\lib\cocoon\xml-apis.jar;.\lib\
 cocoon\xt-19991105.jar;.\license;.\lib\weblogic510sp12.jar;.\class
 es;.\lib\weblogicaux.jar;.\myserver\serverclasses
  -Dweblogic.home=. -Djava.security.manager
  -Djava.security.policy==.\weblogic.policy
  -Dweblogic.system.disableWeblogicClassPath=true weblogic.Server

  Any idea whats wrong?
  --
  Uwe Gerger


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



XML Document Editor freely available

2003-02-19 Thread Matthew Langham
Interesting :-):

http://www.econtentmag.com/ecxtra/2003/2003_0218/2003_0218_3.html

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]



[plug] German book on Apache Frameworks (inl. Cocoon)

2003-02-15 Thread Matthew Langham
A new German book was released yesterday that focusses on the different
Apache frameworks such as Cocoon, Turbine, Velocity etc. The chapter on
Cocoon contains a detailed description of the portal and authentication
frameworks as they are in Cocoon 2.1-dev.

More information here:

http://radio.weblogs.com/0103021/2003/02/15.html#a738

Enjoy.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: ldap transformer with add, delete, update

2003-02-13 Thread Matthew Langham
Ingolf

 does anybody know if there is an ldap transformer which is able to add,
 delete, and update the ldap directory?

We have one as part of some commercial Cocoon add-on stuff we have. Contact
me if you would be interested in more details.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: cocoon struts together

2003-02-03 Thread Matthew Langham
Hi Juraj,

 like SAP. On this connects a webapplication which should be done
 with with struts. Some areas of this application should be

why are you considering Struts (at all)? I am interested in this as we often
meet this kind of setup/discussion and we try to convince people to go for a
Cocoon-only solution (of course) :-)

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Sent: Monday, February 03, 2003 4:46 PM
 To: [EMAIL PROTECTED]
 Subject: cocoon  struts together


 Hi,

 has someone any experiences with the comosition of struts and cocoon?

 I have a middleware on EJB and JCA which connects to some Systems
 like SAP. On this connects a webapplication which should be done
 with with struts. Some areas of this application should be
 transformed by cocoon in different outputs. My idea was to run
 some views with cocoon. A struts action would connect a pipeline
 from cocoon and passe the file which has to be transformed and visualized.

 Any suggestions or practices?

 Juraj



 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Problems with double click in coplet links.

2003-02-03 Thread Matthew Langham
Hi Bruno,


 When I make double click or  lots of clicks in a coplet link,
 one of  two things can happen:
   1- I receive a page without some coplets.
   OR
   2 I receive an error page.

 This instability happens frequently, so help me as soon as possible.


If you are talking about a configuration link in the coplet (like minimize
or maximize) then I just tried to reproduce this on a Cocoon 2.1-dev
version. With success :-(.

It looks to me as if the number of parallel requests to the portal handler
is causing a hiccup. I do not know why this is.

If I then do a normal refresh in the browser the page renders correctly - is
that the same for you?

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=





 I already tried in cocoon 2.04, cocoon 2.1-dev with tomcat 4.1.12
 or 4.1.18, under win 2000, but the problem still happens.

 Best Regards:
 Bruno Jacinto ( [EMAIL PROTECTED] )

 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: handing an XML doc (in memory) to the sitemap

2003-02-01 Thread Matthew Langham
Hi Ray,

may I ask why you chose to write an action? The reason for my asking is that
it is difficult for an action to return anything to the pipeline - apart
from a Map. In particular (and in this case) sunRise needs an XML
representation streamed through the pipeline.

And from what I read you are only accessing a database - so the
SQLTransformer would do the trick easily for you.

So, one way to do this would be to write an XML file containing the SELECT
stuff. Use a stylesheet to insert userid and password and then the
SQLTransformer to do the select and then a stylesheet to format the rows to
what sunRise needs.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=


 -Original Message-
 From: Ray Martin [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, February 01, 2003 1:02 AM
 To: [EMAIL PROTECTED]
 Subject: handing an XML doc (in memory) to the sitemap


 Using the SunRise instructions found at
 http://radio.weblogs.com/0103021/stories/2002/02/28/usingTheSunris
 eComponent
 s.html

 The example has a pipeline named foo-authuser
 In this pipeline, i call an action named checkCredentials.  This action
 accesses several tables in a database.  If a match is found, for username
 and password, a vector of roles available to that user is
 created.  Then an
 XML document is produced in the action that conforms to the Sunrise
 example's authentication XML.

 Now i want to hand that XML to the sitemap in place of foo-user.xml and
 foo-user.xsl

 Please help me.

 I will be glad to share how this entire process works after i bridge this
 final gap.  I will provide the action and all info how to set the
 database.
 You would be able to modify this process to meet your data store needs.

 Would anyone be so kind as to give me some assistance? please.



 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Cocoon use worldwide

2003-01-31 Thread Matthew Langham
 1) Open Source projects seem to grow virally, infecting those
 closest to the
 source first.  Sooner or later a carrier makes their way to some place new
 and a new source of infection grows up.  With Cocoon I think there are now
 enough sources of infection that it will propagate at a pretty rapid rate
 across the entire world in the future.

This is very true. For the last weeks of 2002 and now in 2003 we are
noticing a strong growth in the number of Cocoon related inquiries we
receive.

The problem of large companies using Cocoon and not (yet) talking about it
publicly has been touched on in this thread. I can say that there are really
really large companies either already using Cocoon in production
environments or evaluating Cocoon for their requirements. Hopefully we will
see more of this become public this year.

Anyone know any VCs with money left? :-).

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Time to go back to JSP. Cocoon just isnt ready.

2003-01-30 Thread Matthew Langham
This type of thing really makes my day. You know actually it does the
project more good than harm. It pays to step back from our day to day Cocoon
euphoria now and again and look at things through other peoples eyes. And
its obvious that some people have difficulties getting Cocoon and perhaps
even getting open source software in the first place. Now this is not a
criticism. It is a fact.

We (the project) should ask ourselves - what can we do to make peoples life
easier in Cocoon. There is a lot going on (books, wiki, mailing-list help,
documentation) - but there is always room for improvement.

You (the people starting out with Cocoon) should ask yourselves - is an open
source project like Cocoon right for me. Am I prepared for the rough waters
that may lie ahead. If not then perhaps you would be better off using a
commercial box product with payed for support. But I am sure that if you
need something like Cocoon - then you will be back.

Of course you may not need something like Cocoon - and that's good also.

Probably the most important lesson we leared when we started out with Cocoon
back in .. (his eyes misted over as he remembered the good old days) .. was
that if you find a bug or something that doesn't work right - then you had
better be prepared to fix it yourself (especially if you are betting the
bank on the open source software). If not - then maybe open source isn't for
you.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Cocoon use worldwide

2003-01-30 Thread Matthew Langham
Jeff,

an interesting question and one that we have discussed before with Stefano.
Here are a few reasons I can come up with:

* Cocoon is strong on multi-channel publishing - especially useful for
application scenarios in the mobile market. There are a lot of differences
between these markets in Europe and the US. However the US will eventually
catch up - so watch for Cocoon to become stronger there.

* There are a lot of corporate mergers happening in Europe - and so an
integration platform is needed. Another of Cocoon's strong points.

* Cocoon is a European driven project. It was started by an Italian and most
of the developers are European.

* There are a lot of European companies using Cocoon - which in turn feeds
back into the project.

* The visibility of Cocoon is high in European publications and events
(magazines, conferences). This again feeds back into the project.

* There is a strong movement on Open Source in European governments and
related institutions

* Open Source is becoming a theme for large corporations in Europe. When we
started our humble open source group 2 1/2 years ago - no-one was
interested. Now the story is very different.

Just my thoughts.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=





 -Original Message-
 From: Jeff Ramsdale [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 31, 2003 6:48 AM
 To: [EMAIL PROTECTED]
 Subject: Cocoon use worldwide


 Hi all,

 I'm just curious about something. I've been reading the Cocoon-users list
 for a couple of weeks or so and I see a lot of folks in Europe (and
 Australia--Jeff T!) interested in Cocoon. I'm sure it's not a matter of
 Americans ( Canadians?) not being interested, I'm sure. (Oh,  Antonio, I
 don't want to leave you out!) Right?

 With the utmost respect for the Project I observe that Cocoon is
 a bit of a
 fringe product as far as web development is concerned. I happen to believe
 this fringe is the leading edge of something big, which is why I'm here.
 So here's my question: If any of what I've said above has truth in it, is
 there a particular reason why Cocoon might have special appeal to
 Europeans?
 Is there something about the mindset of European programmers that
 leads them
 to Cocoon? Is Open-Source Software viewed differently, on the whole, in
 Europe than America? Does this have anything to do with Microsoft's
 influence in America? I guess that's more than one question! Interested in
 your observations...

 Reason I ask... I live in Seattle (Microsoft-land), and I'd love to find
 work using Cocoon and/or Java (but especially Cocoon!), but I don't see as
 much mindshare here as I think it deserves.

 Jeff



 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Portal - Coplets / Sunlet

2003-01-28 Thread Matthew Langham
this is the google.xml

Richard,

just what exactly is this supposed to show? From what I see you want to
cinclude an html file that is accessed through Cocoon. Correct?

Is /tsi/home.html a pipeline in the sitemap? What does that one do?

Matthew

-


?xml version=1.0?
data xmlns:cinclude=http://apache.org/cocoon/include/1.0;
cinclude:includexml
cinclude:srchttp://localhost:8080/cocoon/tsi/home.html/cinclude:src
/cinclude:includexml
/data

and this is the sitemap...

map:match pattern=sppasunlet-onlinesundn.xml
!--
  map:generate src=http://www.s-und-n.de/aktuelles/news.xml/
  map:transform src=styles/sunLet_sundnNews.xsl/
 --
 map:generate src=resources/auth/google.xml/
map:transform type=cinclude/
  map:serialize type=xml/
 /map:match


--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=


-Original Message-
From: Richard Reyes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 10:39 AM
To: [EMAIL PROTECTED]
Subject: Re: Portal - Coplets / Sunlet


this is the google.xml

?xml version=1.0?
data xmlns:cinclude=http://apache.org/cocoon/include/1.0;
cinclude:includexml
cinclude:srchttp://localhost:8080/cocoon/tsi/home.html/cinclude:src
/cinclude:includexml
/data

and this is the sitemap...

map:match pattern=sppasunlet-onlinesundn.xml
!--
  map:generate src=http://www.s-und-n.de/aktuelles/news.xml/
  map:transform src=styles/sunLet_sundnNews.xsl/
 --
 map:generate src=resources/auth/google.xml/
map:transform type=cinclude/
  map:serialize type=xml/
 /map:match

i have no idea what did i do wrong.

thanks
richard

- Original Message -
From: Carsten Ziegeler [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 28, 2003 4:44 PM
Subject: RE: Portal - Coplets / Sunlet


 There are several possible causes for this problem:
 - google does not send the correct mime-type (text/html). I can't
   believe that this is happening, but I'm adding it here for completeness
 - The xmlizer for text/html is not configured correctly
 - The xmlizer is not used.

 For any of the last two problems, it would be helpfull if you could
 provide the xml document, you used for including and the stacktrace.

 Carsten

  -Original Message-
  From: Richard Reyes [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, January 28, 2003 9:18 AM
  To: [EMAIL PROTECTED]
  Subject: Re: Portal - Coplets / Sunlet
 
 
 
  Hi Carsten,
 
  I have tried using the cinclude transformer and i got the error
below
 
   The element type meta must be terminated by the matching end-tag .
 
  any ideas?
 
  i have checked the google source and it has a tag like this
  meta http-equiv=content-type content=text/html; charset=UTF-8any
  workaround?
 
  thanks again
 
  
  - Original Message -
  From: Carsten Ziegeler [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, January 27, 2003 7:36 PM
  Subject: RE: Portal - Coplets / Sunlet
 
 
  
  
-Original Message-
From: Richard Reyes [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 27, 2003 9:58 AM
To: [EMAIL PROTECTED]
Subject: Re: Portal - Coplets / Sunlet
   
   
Thanks for the respond, Carsten.
   
If I understand it correctly, you were just discussing the links
that'll be
contained in the site that i'll include ( as a coplet ).
   Yes, exactly.
  
And it  really sound very complex to me. Anyway, I dont understand
how would the portal draw the coplet if the link that im giving is
giving htmls while the portal require xml streams?
  
   Ah, yes - sorry, I forgot that :) - the cinclude transformer
   automatically transforms html to xhtml, so you have at the end xml
   that can easily be included.
  
   Carsten
  
   -
   Please check that your question  has not already been answered in the
   FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
  
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail:   [EMAIL PROTECTED]
  
 
  -
  Please check that your question  has not already been answered in the
  FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
 
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail:   [EMAIL PROTECTED

RE: Portal - Coplets / Sunlet

2003-01-28 Thread Matthew Langham
Ok, and where is the problem?

Matthew

 -Original Message-
 From: Richard Reyes [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 28, 2003 10:52 AM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: Portal - Coplets / Sunlet
 
 
 
 - Original Message -
 From: Matthew Langham [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, January 28, 2003 5:42 PM
 Subject: RE: Portal - Coplets / Sunlet
 
 
 this is the google.xml
 
 Richard,
 
 just what exactly is this supposed to show? From what I see 
 you want to
 cinclude an html file that is accessed through Cocoon. Correct?
 
 Richard: Yes...
 
 Is /tsi/home.html a pipeline in the sitemap? What does that one do?
 
 Richard: Yes, it has a corresponding map:match in the sitemap it 
 contains an
 xmlform that can be independently browsed into a browser.
 
 
 Thanks Matthew...
 
 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]
 
 

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: IDE for cocoon

2003-01-22 Thread Matthew Langham
Hi,

the current free version of sunBow will remain free. At the moment we
require a licence key (because we originally thought this a good idea) and
have not yet got round to removing the dependency.

Hopefully we will find some time to do that...but until then :-).

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=


-Original Message-
From: Jordi Valldaura [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 3:27 PM
To: [EMAIL PROTECTED]
Subject: Re: IDE for cocoon


Hello,

I agree with u that eclipse is a very good ide. But the sunbow plug in needs
a registration
key, I know they give it freely now but I don't think they will do it in the
future.


- Original Message -
From: Geoff Howard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 22, 2003 2:27 PM
Subject: RE: IDE for cocoon


 I've recently started using eclipse and have been very impressed.  The
 information it provides helps make sense of what can seem like a rats nest
 of dependencies.  I have brought in avalon and avalon-excalibur as
projects
 alongside cocoon and my own cocoon-based projects which has been very
 helpful in tracking down information that crosses the border between the
 projects.

 All of that would be true with any good IDE, but this one's free and has
the
 added benefit of the sunBow stuff.

 Hope that helps,
 Geoff

  -Original Message-
  From: Martin Dulisch [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, January 22, 2003 4:20 AM
  To: [EMAIL PROTECTED]
  Subject: Re: IDE for cocoon
 
 
  Hi Reza,
 
  sunBow is a plugin for eclipse (www.eclipse.org). It contributes some
  Cocoon/XML/XSLT features to eclipse. You can find the download and
  documentation here: http://radio.weblogs.com/0108489/
 
  Martin
 
  - Original Message -
  From: Reza Aliakbari [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Wednesday, January 22, 2003 10:11 AM
  Subject: IDE for cocoon
 
 
   Dears,
  
   I am new in cocoon.
   I need some tools and IDE for cocoon.
   Also I am waiting for any advise that could be useful for new cocoon
   developers.
  
   Thanks,
   Reza.
  
   
  -
   Please check that your question  has not already been answered in
  the
   FAQ before posting.
  http://xml.apache.org/cocoon/faq/index.html
  
   To unsubscribe, e-mail:
  [EMAIL PROTECTED]
   For additional commands, e-mail:
  [EMAIL PROTECTED]
  
 
 
  -
  Please check that your question  has not already been answered in the
  FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
 
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail:   [EMAIL PROTECTED]
 
 
 


 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Portal bug? - Using SessionTransformer inside coplets

2003-01-22 Thread Matthew Langham
Which protocol are you using to call the coplets?

a) cocoon:/

b) cocoon:raw:/

If you want to pass request parameters on to the coplet then you need to
make sure you are using a). See also:
http://marc.theaimsgroup.com/?l=xml-cocoon-usersw=2r=1s=cocoon%3Arawq=b

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=


-Original Message-
From: Alex Romayev [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 1:38 AM
To: [EMAIL PROTECTED]
Subject: Portal bug? - Using SessionTransformer inside coplets


I've run into a strange problem.  It seems like using
SessionTransormer inside a coplet results in
java.lang.NullPointerException.

Here is what I found:
1. If I run my coplet by invoking the coplet's uri
directly everything works as expected.
2. If I invoke the coplet as part of a portal page
using portal fw, it generates the exception.
3. I'm using session:getxml statements to get
information from request context.  If I replace
these statements with dummy data and _not_ have any
of the session statements (I still have
SessionTransformer in my pipeline, even though it
doesn't actually do anything), everything works fine.

So it seems that for some reason using sesion:getxml
from request context (or possibly other contexts -- I
haven't tried) causes the excetion.

Please help, as this is a critical piece of my work!

Thanks,
-Alex

Here is the stack trace:
ERROR   (2003-01-22) 16:21.37:297
[core.portal-manager]
(/cocoon/romayev/admin/write-result)
Thread-8/CopletThread: Exception during processing of
coplet: write-result
org.apache.cocoon.ProcessingException: Failed to
execute pipeline.: java.lang.NullPointerException
at
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.j
ava:380)
at
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnvironment.
java:532)
at
org.apache.cocoon.webapps.portal.components.CopletThread.run(CopletThread.ja
va:218)
at java.lang.Thread.run(Thread.java:484)


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Portal Roles / Users

2002-12-26 Thread Matthew Langham



Hi,

Currently this is not possible out of the box. You could probably cook up 
some way to do this (i.e. return the roles to the user and get him to select one 
before proceeding.

Matthew
--Open Source Group 
Cocoon { Consulting, Training, Projects 
}=Matthew 
Langham, SN AG, Klingenderstrasse 5, D-33100 
PaderbornTel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de-Cocoon 
book: http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20Weblog: 
http://radio.weblogs.com/0103021/= 


  -Original Message-From: Richard Reyes 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, December 26, 2002 
  12:01 PMTo: cocoon-usersSubject: Portal Roles / 
  Users
  Hi Guys,
  
  Is is possible to have 1 user included into 2 
  roles?
  for example user cocoon is both admin and 
  guest.
  Or to be more realistic, User cocoon is both 
  Business manager and customer service agent.
  
  Thanks in advance
  Richard


RE: Cocoon tutorial available at CMSWatch.com and Sphere.com

2002-12-26 Thread Matthew Langham

Thanks for Carsten, Matthew, Lajos and Jeremy for their inspiring and
helpful books!

Inspiring - now that's a word I hadn't yet heard in connection with the
book. Thanks!

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=


-Original Message-
From: John R. Callahan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 24, 2002 5:05 PM
To: [EMAIL PROTECTED]
Subject: Cocoon tutorial available at CMSWatch.com and Sphere.com


FYI... I have written a brief article on Cocoon (with tutorial and
downloadable demo).  The article is available at:

http://www.cmswatch.com/Features/ProductWatch/FeaturedProduct/?feature_id=81

The associated demo is available at:

http://www.sphere.com/docs/myapp.zip

The demo is meant to be installed as a webapps subdirectory (no, not as a
war file)
in Tomcat 4.0.6.  The myapp.zip file includes everything you need (all jar
files, etc.)
and could even serve as a minimal Cocoon application for beginners.  It is
based
on 2.1dev and requires JDK1.3.  I've tested it with Tomcat 4.0.6 and Resin
2.x.

(I've also got PPT slides to accompany the article if anyone wants them :-p)

Thanks for Carsten, Matthew, Lajos and Jeremy for their inspiring and
helpful books!

Enjoy!

-- jack

John R. Callahan, Ph.D.
CTO
Sphere Software Corporation (www.sphere.com) - The Intelligence of XML
[EMAIL PROTECTED]
410-772-9740 x1116
509-352-1536 (eFax)



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Sunbow licence expired

2002-12-23 Thread Matthew Langham
http://radio.weblogs.com/0108489/

You should also get on the sunbow-user mailing-list.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 23, 2002 10:13 AM
To: [EMAIL PROTECTED]
Subject: Sunbow licence expired


Hello,

My Sunbow (Eclipse plug-in) licence is expired.

How can I have a new one?

Thank you
Sylvain

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: [ANNOUNCEMENT] Cocoon Developers Handbook Available

2002-12-18 Thread Matthew Langham
Congratulations!

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblogs:
  http://radio.weblogs.com/0103021/
  http://www.oreillynet.com/weblogs/author/1014
=


-Original Message-
From: Jeremy Aston [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 1:51 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [ANNOUNCEMENT] Cocoon Developers Handbook Available


Lajos Moczar and myself are pleased to let the
community know that our book, the Cocoon Developer's
Handbook, is now available.  It has been published by
Sams (http://www.sams.com) and is available from their
website as well as all the usual suspects like Amazon,
Barnes and Noble etc.

The book covers pretty much all of the proven
features, architecture and components.  We have also
got lots of detailed coverage of other topics such as
internationalisation, searching, entity catlogs,
portals, SOAP, extending Cocoon, reference material
developing apps, tuning and much more.

The relevant source code is available from Lajos' and
my sites (http://galatea.com and
http://www.pigbite.com respectively).

If you get hold of a copy then please let us know what
you think!

Shameless plug over ;-)

Best regards

Jeremy  Lajos


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Designing Dialogs in XML

2002-11-30 Thread Matthew Langham
We have the need to do the following - and for the life of me I have not yet
found anything that already does this - although I am sure there must be...

1) Define page layouts in an XML markup

example:

page1.xml

  page name=firstpage
part name=toppart src=/resources/header/
part name=middlepart
  This is the middle
/part
part src=/resources/dialog
  /page

Depending on the stylesheet used in the later formatting this would then be
transformed to say a frameset (HTML) or different cards (WML).

2) Define dialog elements in an XML markup

Define things like text fields, buttons etc. in a way so that a later step
makes the transformation into the specific instance for the required end
format.

So the above link to /resources/dialog would then load an XML file
containing the description of a particular dialog into the third part of the
page.


I really only need this in one direction at the moment (i.e. publishing
stuff outwards) - so I don't need the overhead of validation etc.

Apart from inventing some new XML formats for this - surely there must be
something like this already out there? I've looked at XUL, XMLForms etc. but
they don't seem right - but perhaps they are.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=


-Original Message-
From: Matthew Langham [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 30, 2002 1:53 PM
To: [EMAIL PROTECTED]
Subject: RE: Summary: Cocoon Stammtisch @ Frankfurt



easily accessed via public transport. Michael Melhem proposed an irish
pub at Frankfurt/Hauptbahnhof (@Michael: main train station, so I made
an educated guess - right ? Do you have a phone number of that pub ?)
which should reduce any travelling by public transport to a minimum, but
I fear that we lack the possibility to reserve for up to 13 people,
having a meal or a noise level suited for a decent conversation, but I


The Irish pub in Paderborn would not be suited for this (very loud) - but
perhaps Frankfurt-Irish are quieter :-)

So -1 on that.


Frankfurt/Höchst, about 3 train stations (or 9 minutes) from
Frankfurt/Hauptbahnhof, which is close to the train station,  large
enough for us, provides good yugoslavian food and you can have a good
talk over there; all this needs is using the local train towards the
city - at 00:39, the latest train (S1 direction Offenbach Ost) heads
towards the city.


Sounds good. Is it easy to get to by car also? Carsten and I will probably
be driving in to Frankfurt.

So +1 on that one.

(I would be +1000 for the Schnitzel place - btw. Yummmy! Still, lack of
public transport is a problem)

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=


-Original Message-
From: Michael Hartle [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 30, 2002 1:03 PM
To: [EMAIL PROTECTED]
Subject: OT: Summary: Cocoon Stammtisch @ Frankfurt


Hello all,

to finalize the planing, I'd like to sum up some aspects; I am hoping
for some *quick* feedback (i.e. votes) regarding the location, so I can
make a reservation at one place or another:

* Who: Regarding the guests, the list has grown considerably compared to
the last Stammtisch - hopefully I haven't forgot anyone, but currently
it looks like Marcus Crafter, Michael Melhem, Wolfram Eisert, Christian
Haul, Mariano Kamp, Torsten Curdt, Matthew Langham, Carsten Ziegeler and
Andreas Fuchs plus myself are probably going to visit, making it 10
people; when our international guests can make it too, we'd be 13 -
well, I am not superstitious, but anyone is invited to increase that number.

* When: As a date for the Stammtisch, we more or less settled on
December, 9th; we might even have some guests from the UK (Andrew
Savory), Belgium (Steven Noels) and perhaps Italy (Nicola Ken Barozzi).

* Where: Here, we still have to decide - due to lacking public transport
connectivity and the necessity for un-alcoholized drivers for the
Schnitzel armageddon, we need an alternative location (*sigh*) that is
easily accessed via public transport. Michael Melhem proposed an irish
pub

RE: Cocoon Portal Sample - Failed to execute pipeline error

2002-11-21 Thread Matthew Langham

I was referring to the current 2.1 CVS version too!

I could not find any bug in Bugzilla reporting this problem.

Is the Portal Sample is supposed to work already, or is it still work in
progress?

An over the desk shout at Carsten reveals that the Portal is working in
the current CVS version - so I am not sure what your problem is exactly.

Can you repost the exact error and stack trace again.

Thanks

Matthew


--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=


-Original Message-
From: Franck Lumpe [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 12:58 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Cocoon Portal Sample - Failed to execute pipeline error


I was referring to the current 2.1 CVS version too!

I could not find any bug in Bugzilla reporting this problem.

Is the Portal Sample is supposed to work already, or is it still work in
progress?

Anyone has a clue?

Thanks in advance,

Franck


- Original Message -
From: Gabriele Domenichini [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 21, 2002 7:47 AM
Subject: Re: Cocoon Portal Sample - Failed to execute pipeline error


 Sorry this is not a solution/suggestion but I want to point out that the
 same happen with the cvs version
 Franck Lumpe wrote:

 Hello everyone,
 
 I use JDK 1.4.1 + Tomcat 4.1.12 + Cocoon 2.1 DEV Updated Head CVS on
Windows
 2000. Cocoon seems to be using the correct versions of Xerces, Xalan and
 XML-Api (from the Tomcat endorsed directory).
 
 Samples are running quite nicely :-) except for:
 
 1) The XMLForm-sample error already reported by Wolfram.
 
 2) The Portal Framework Sample: I  get an error 500 with
 
 
 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]
 
 
 
 



 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Cocoon + CMS Integration

2002-11-20 Thread Matthew Langham
Nicholas,


Is anybody aware of a content management system that incorporates Cocoon as
part of a system that includes XML authoring, workflow and classification?


do you mean an open source CMS or commercial?

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=


-Original Message-
From: Nicholas Hemley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 20, 2002 12:09 PM
To: [EMAIL PROTECTED]
Subject: Cocoon + CMS Integration


Hello,

Is anybody aware of a content management system that incorporates Cocoon as
part of a system that includes XML authoring, workflow and classification?

I am aware of Wyona (www.wyona.org) which uses the Xopus XML editor but are
there any others?

Any info would be appreciated...

Cheers,
Nic Hemley

Lothian NHS Webmaster



**
The information contained in this message may be confidential or legally
privileged and is intended for the addressee only,

If you have received this message in error or there are any problems please
notify the originator immediately.

The unauthorised use, disclosure, copying or alteration of this message is
strictly forbidden.
**


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: List of commercial Cocoon apps

2002-11-20 Thread Matthew Langham

Actually I splitted Product build on Cocoon in 2 (OS  Comercial) in the
links section.


Can we also have somewhere for Cocoon specific tools - like sunBow? Or
should these go here also?

I would suggest a separate list.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=


-Original Message-
From: Franck Lumpe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 20, 2002 1:05 PM
To: [EMAIL PROTECTED]
Subject: Re: List of commercial Cocoon apps


 You're most welcome to start a page at the wiki [1] for this list, it is
very easy!
 -Bertrand

I did!

Actually I splitted Product build on Cocoon in 2 (OS  Comercial) in the
links section.

http://outerthought.net/wiki/Wiki.jsp?page=Links

So, if anyone know any comercial product based on Cocoon (CMS, Reporting,
Portal, etc.), please add it there.

Regards,

Franck Lumpe
Iberplus Internet, S.L.


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: List of commercial Cocoon apps

2002-11-20 Thread Matthew Langham

Done at http://outerthought.net/wiki/Wiki.jsp?page=ProductsBuiltForCocoon

-Bertrand

So I saw :-)

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=


-Original Message-
From: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 20, 2002 1:48 PM
To: [EMAIL PROTECTED]
Subject: Re: List of commercial Cocoon apps


On Wednesday 20 November 2002 13:20, Matthew Langham wrote:
. . .
 Can we also have somewhere for Cocoon specific tools - like sunBow? Or
 should these go here also?

 I would suggest a separate list.

Done at http://outerthought.net/wiki/Wiki.jsp?page=ProductsBuiltForCocoon

-Bertrand

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Cocoon GetTogehter in Ghent

2002-11-19 Thread Matthew Langham
Hi,

I have my pictures from the Cocoon GetTogether up here:

http://sunshine.s-und-n.de/events/ghent/index.html

A great event and many thanks go out to Steven Noels and the rest of the
team for putting on such a great job. See you next year!

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=


-Original Message-
From: Martin Dulisch [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 19, 2002 3:55 PM
To: cocoon-dev; cocoon-users
Subject: Cocoon GetTogehter in Ghent


Cocoon GetTogehter in Ghent. Matthew, Steven and Ovidiu are blogging
away in real time - here are the links:

http://radio.weblogs.com/0103021/
http://radio.weblogs.com/0103539/
http://www.webweavertech.com/ovidiu/weblog/index.html



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Cocoon Portal - User Roles

2002-11-13 Thread Matthew Langham





Will I have a problem if i didn't 
serialize any xml? (see sitemap below)

Try it 
:-). Seriously, you will probably have to change the user interface of the tools 
as I think they expect something to be returned.

If you 
add a new role using the tool then you would expect that role to appear in the 
tool once the action was complete - wouldn't you? 

Matthew
--Open Source Group 
Cocoon { Consulting, Training, Projects 
}=Matthew 
Langham, SN AG, Klingenderstrasse 5, D-33100 
PaderbornTel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de-Cocoon 
book: http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20Weblog: 
http://radio.weblogs.com/0103021/= 


  -Original Message-From: Richard Reyes 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 13, 
  2002 12:36 PMTo: [EMAIL PROTECTED]Subject: Re: 
  Cocoon Portal - User Roles
  Hi Matthew / Guys,
  
  I have been able to replace the addrole and load 
  role functions into an
  Action.
  
  Will I have a problem if i didn't serialize any 
  xml? (see sitemap below)
  
 
map:match 
pattern="sunrise-newrole" 
map:act 
type="SaveRole" 
map:parameter name="descriptor" 
value="context://myportal/descriptor/vxs_employees-dx.xml"/ 
map:parameter name="use-request-parameters" value="true" 
/ 
map:generate type="serverpages" 
src="xsp/saverole.xsp"/ 
map:serialize type="xml" 
/ 
/map:act 
/map:match

  If I create an action for the delrole 
  function, how can I delete the generated roleprofile-xxx.xml file? or i cannot 
  delete it and have to dele it manually?
  
  Thanks Again.
  Richard
  
  
- Original Message - 
From: 
Richard Reyes 
To: [EMAIL PROTECTED] 

Sent: Wednesday, November 13, 2002 3:04 
PM
Subject: Re: Cocoon Portal - User 
Roles

Hi Matthew,

If I understand it right, I have to change 
thesunrise-newrole.xml into something that the sql transformer would 
understand and remove the cinclude and writesource transformer on the 
pipeline?

In this case...

Whats the advantage of using transformer than 
an action?

In the end of this map:matchpattern it is 
returning an xml like this...

?xml 
version="1.0" encoding="UTF-8" ? 


  
- !-- $Id: 
sunrise-newrole.xml,v 1.1 2002/06/03 11:45:54 cziegeler Exp $ 
Description: Add a new role--

 

- addrole 
xmlns:source="http://apache.org/cocoon/source/1.0" xmlns:session="http://cocoon.apache.org/session/1.0"


- sourceResult


 executionsuccess/execution 

 messagecontent inserted 
at: roles/message 

 behaviourinsert/behaviour 

 actionoverwritten/action 

 sourcefile:/C:/ApacheGroup/Tomcat4.1/webapps/cocoon/myportal/resources/sunrise-roles.xml/source 

 serializerxml/serializer 
 /sourceResult
 /addrole
If I'd use an action, do I have to serialized 
these kinds of xml?

And can you tell me where the sunrise-newrole 
resource is being called and returned to?

Thanks again.
Richard


  - Original Message - 
  From: 
  Matthew 
  Langham 
  To: [EMAIL PROTECTED] 
  
  Sent: Tuesday, November 12, 2002 8:16 
  PM
  Subject: RE: Cocoon Portal - User 
  Roles
  
  
  
  Since the the "new role" function in 
  the portal sample is mapped to new-role 
  uri="cocoon:raw:/sunrise-newrole"/ uri, it 
  is using this sitemap snippet right?
  
   map:match 
  pattern="sunrise*" 
  map:generate 
  src="resources/sunrise{1}.xml"/ 
  map:transform 
  type="session"/ 
  map:transform 
  type="cinclude"/ 
  map:transform 
  type="write-source"/ 
  map:transform 
  src="styles/portal.xsl"/ 
  map:serialize 
  type="xml"/ 
  /map:match
  and the 
  documentations says that
  
  The new-role resource creates a new role in the 
  system. It gets the parameters "type" with the value "role" and "role" 
  with the new rolename.
  
  Where is the "type" and "role" 
  parameter?
  and why does it have to serialized in an xml 
  type in the end?
  
  
  You need to take a look at the file 
  sunrise-newrole.xml.

RE: Cocoon Portal - User Roles

2002-11-12 Thread Matthew Langham



Hi,

each 
function of the portal is mapped to a pipeline. So in order to change the 
storage - all you have to do is to modify the pipeline to use say the 
SQLGenerator etc.

Read 
the documentation. http://xml.apache.org/cocoon/developing/webapps/authentication.html

It 
explains this in detail (see under User Administration). Then look at the 
pipelines that are currently used to get a feel for how it works at the 
moment.

Matthew

--Open Source Group 
Cocoon { Consulting, Training, Projects 
}=Matthew 
Langham, SN AG, Klingenderstrasse 5, D-33100 
PaderbornTel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de-Cocoon 
book: http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20Weblog: 
http://radio.weblogs.com/0103021/= 


  -Original Message-From: Richard Reyes 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 12, 2002 
  10:06 AMTo: [EMAIL PROTECTED]Subject: Re: 
  Cocoon Portal - User Roles
  Hi again guys,
  
  I have checked the source codes of the portal 
  sample...
  
  I found out that if I am to add new user or to 
  add new roles, both task
  will end up submitting forms with different 
  parameters to this resource
  
  /cocoon/myportal/sunspotdemo-sunriseconf
  
  which inturn would exactly matchthis 
  sitemap snippet in the process...
  
  map:match 
  pattern="sunspotdemo-sunriseconf" 
  !-- This pipeline can only be accessed if the current user 
  is 
  allowed to configure the 'administration' coplet 
  -- 
  map:act 
  type="portal-auth" 
  map:parameter name="coplet" 
  value="administration"/ 
  /map:act 
  map:generate 
  type="auth-conf"/ 
  map:transform 
  src="styles/sunriseconfHTML.xsl"/ 
  map:transform 
  type="encodeURL"/ 
  map:serialize /
  Am I correct?
  
  Now I have checked 
  the source codes for the "portal-auth" action and the "auth-conf" genarator, 
  and I dont think they're very easy to modify.
  
  I hope I do not have to createour own 
  portal genarators to use a database as a storage for user and 
  roles.
  
  any ideas?
  
  thanks
  - Original Message - 
  
From: 
Richard Reyes 
To: cocoon-users 
Sent: Tuesday, November 12, 2002 2:18 
PM
Subject: Cocoon Portal - User 
Roles

Hi Guys,
I am trying to use the C2 portal application 
and would like to transfer
the storage of the roles from xml files to a 
mysql database.
Can someone teach me how to do 
this?

I cannot find anything on the sitemap file that 
transforms or uses the sunrise roles.xml

btw,

im using 
tomcat 4.1
sdk 1.3
c2.1 dev

thanks 



RE: Cocoon Portal - User Roles

2002-11-12 Thread Matthew Langham





Since the the "new role" function in the 
portal sample is mapped to new-role 
uri="cocoon:raw:/sunrise-newrole"/ uri, it is 
using this sitemap snippet right?

 map:match 
pattern="sunrise*" 
map:generate 
src="resources/sunrise{1}.xml"/ 
map:transform 
type="session"/ 
map:transform 
type="cinclude"/ 
map:transform 
type="write-source"/ 
map:transform 
src="styles/portal.xsl"/ 
map:serialize type="xml"/ 
/map:match
and the 
documentations says that

The 
new-role resource creates a new role in the system. It gets the 
parameters "type" with the value "role" and "role" with the new 
rolename.

Where is the "type" and "role" 
parameter?
and why does it have to serialized in an xml type 
in the end?


You 
need to take a look at the file sunrise-newrole.xml. That file contains most of 
the dirty work. The transformers session, cinclude and writesource act on the 
information contained in there. Because sunrise-newrole.xml also flows through 
the pipeline it is then formatted by the stylesheet and returned to the browser. 
It is serialized to xml because it is being used inside the portal (in this 
case).

If you 
wanted to write this to a database you would need to change the 
sunrise-newrole.xml and use the sqltransformer instead of cinclude and 
write-source. In all this should take you around 5 minutes or less to adapt. 
:-)

So it 
really is quite simple really.

Matthew
--Open Source Group 
Cocoon { Consulting, Training, Projects 
}=Matthew 
Langham, SN AG, Klingenderstrasse 5, D-33100 
PaderbornTel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de-Cocoon 
book: http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20Weblog: 
http://radio.weblogs.com/0103021/= 


  -Original Message-From: Richard Reyes 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 12, 2002 
  12:53 PMTo: cocoon-usersSubject: RE: Cocoon Portal - 
  User Roles
  
  
  Hi Matthew / Guys,
  
  Just want to confirm some things
  
  Since the the "new role" function in the portal 
  sample is mapped to new-role 
  uri="cocoon:raw:/sunrise-newrole"/ uri, it is 
  using this sitemap snippet right?
  
   map:match 
  pattern="sunrise*" 
  map:generate 
  src="resources/sunrise{1}.xml"/ 
  map:transform 
  type="session"/ 
  map:transform 
  type="cinclude"/ 
  map:transform 
  type="write-source"/ 
  map:transform 
  src="styles/portal.xsl"/ 
  map:serialize 
  type="xml"/ 
  /map:match
  and the 
  documentations says that
  
  The 
  new-role resource creates a new role in the system. It gets the 
  parameters "type" with the value "role" and "role" with the new 
  rolename.
  
  Where is the "type" and "role" 
  parameter?
  and why does it have to serialized in an xml type 
  in the end?
  
  Also, for the sunrise-newrole resource,the 
  only thing this pipeline does is save a new role in the xml file 
  (sunrise-roles.xml )? whose responsible for displaying the next page 
  after saving the new role?
  
  And since this sitemap snippet is called inside a 
  map:pipeline internal only clause I think it is being called by the portal 
  generator or action. 
  
  If in case I'd used custom actions over this 
  pipeline, How would I know the parameters that 
  
  have been passed and are being expected by the 
  caller of this pipeline?
  
  Thanks a lot
  Richard
  
- Original Message - 
From: 
Richard Reyes 
To: cocoon-users 
Cc: Alex 
Sent: Tuesday, November 12, 2002 7:18 
PM
Subject: Re: Cocoon Portal - User 
Roles


Hi 
Matthew,

Thanks for the reminder!


Hi,

each function of 
the portal is mapped to a pipeline. So in order to change the storage - all 
you have to do is to modify the pipeline to use say the SQLGenerator 
etc.

Read the 
documentation. http://xml.apache.org/cocoon/developing/webapps/authentication.html

It explains this 
in detail (see under User Administration). Then look at the pipelines that 
are currently used to get a feel for how it works at the 
moment.

Matthew

--Open Source 
Group Cocoon { Consulting, Training, 
Projects 
}=Matthew 
Langham, SN AG, Klingenderstrasse 5, D-33100 
PaderbornTel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de-Cocoon 

RE: cocoon and related projects based on cocoon ...

2002-10-31 Thread Matthew Langham
Hi,

to be honest I have no idea what you are talking about :-).


1.) Why are all such nice and nifty add ons developed all outside of cocoon
?

Exactly which components/add-ons do you mean?


2.) When i move to such an add on component, how can i enshure to keep up
with the releases of cocoon (taking advantage of the enhancements done by
the cocoon developers)?

Again - which add-ons?


3.) Why can't i find pointers to the mentioned add ons from within the the
cocoon pages ?

There is sooo many good software around the world and cocoon for me is one
of the finest. Why does not all this effort take place at the heart but is
cluttered around in several loosely coupled or even uncoupled add on
projects ???

Cocoon is not cluttered around. At least I don't think it is. The core
Cocoon project is here. This is the project that is run by the Apache
Cocoon community. Anything else that may be an add-on is
run/developed/maintained by the respective owner.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=


-Original Message-
From: SAXESS - Hussayn Dabbous [mailto:dabbous;saxess.com]
Sent: Thursday, October 31, 2002 2:32 PM
To: [EMAIL PROTECTED]
Subject: cocoon and related projects based on cocoon ...


I asked this within another thread, but since it does not belong there, i
post it again under a new title:

I am a bit confused. I'm following the discussons in this mailing list for
about a week now and i found at least two other products/components
(whatever) mentioned in the various emails which claim to be an on top of
cocoon development.

Despite that all this stuff sounds very interesting, i for myself get more
and more unshure how to proceed with my investigations on cocoon. Some
questions rise in my mind:

1.) Why are all such nice and nifty add ons developed all outside of cocoon
?
2.) When i move to such an add on component, how can i enshure to keep up
with the releases of cocoon (taking advantage of the enhancements done by
the cocoon developers)?
3.) Why can't i find pointers to the mentioned add ons from within the the
cocoon pages ?

There is sooo many good software around the world and cocoon for me is one
of the finest. Why does not all this effort take place at the heart but is
cluttered around in several loosely coupled or even uncoupled add on
projects ???

regards, Hussayn

Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenhöfer Allee 125
50935 Köln
Telefon: +49-221-56011-0
Fax: +49-221-56011-20
E-Mail:  [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Authorisation in Cocoon 2.0.3

2002-10-31 Thread Matthew Langham
What is stopping you from using the authentication as provided?


Oh and if someone knows of a better (and easier) way of doing
authorisation in 2.0.3 I'm keen on hearing about it, eventhough I want
to try my action method first.

Perhaps you could detail what is missing from the provided solution?

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=


-Original Message-
From: Damian Chojna [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 31, 2002 3:24 PM
To: cocoon-users
Subject: Authorisation in Cocoon 2.0.3


Hi All,
I'm trying to write my own action to handle user authorisation. I'm
using sunRise for user authentication and need a way to get at the ID
and role values for the current session from within an action (a Java
class).  I know I need a reference to the sunRise context, but don't
know how to get it. Once I have that reference, how do I use it? Can
someone point me in the right direction?

Oh and if someone knows of a better (and easier) way of doing
authorisation in 2.0.3 I'm keen on hearing about it, eventhough I want
to try my action method first.

Thanks in advance,
Damian.


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: coplet not available

2002-10-31 Thread Matthew Langham
Bert,

check the logs for an exception. The error message coplet not available is
generated when an exception occurs. Perhaps the configured URI for the
coplet is not correct? I often forget the cocoon:/ at the beginning :-)

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=


-Original Message-
From: Bert Van Kets [mailto:bert;vankets.com]
Sent: Thursday, October 31, 2002 3:23 PM
To: [EMAIL PROTECTED]
Subject: coplet not available


I created a coplet and I can't get it's content in the portal.

When I call the coplet URL directly I get the XML data.  I have configured
teh coplet in the global, role and user profile, but when I call the portal
I always get The coplet is currently not available.
I changed the content to a file generator and a serializer to make sure the
sontent is there, but the result stays the same.

What triggers this behavior?  I have not had this problem before :(

I'm using Cocoon 2.1 build of 14 May 2002, Tomcat 4.0.1; JDK 1.3.1_02 on
Win2K

Bert

This mail is written in 100% recycled electrons.


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: cocoon and related projects based on cocoon ...

2002-10-31 Thread Matthew Langham

1.) www.cocoondev.org
This is a great site but i expected this under cocoon!


And soon it may well be. Remember the Cocoon project is an _Apache_ project
and therefore runs on Apache hardware etc. etc. The cocoondev.org site is
completely different. It was started by Steven Noels from Outerthought as
somewhere to showcase Cocoon based solutions. One day it will hopefully all
be together - but at the moment they are completely different things.


2.) http://www.orbeon.com/oxf/
i found this pointer today in the struts discussion trail. I did not
really investigate on this although it sounds quite interesting
but again i thought this belongs strongly to cocoon, if it is
feasible...


Again something completely different. A solution built on Cocoon - but it is
NOT Cocoon. In the same way we develop commercial products on top of
Cocoon - but they are not part of the Cocoon project. Anything that is
donated to the Cocoon project (such as our authentication components)
increases the code base and that does (or may) become part of the project.


Sorry again. I did not mean cocoon is cluttered around! I even did not want
to criticise anybody. i only mentioned there seems to be lots of work done
around cocoon which from my point of  view looks very interesting, but is
simply not under the umbrella of cocoon itself. So i.e. if i want to go into
such a component, i fear that i must leave the core cocoon... clearly
something to be avoided! Instead i ask again, why don't they come under the
cocoon umbrella and let all cocoon users participate without pain...


Because the objectives may be very different. Some of the developments are
commercial built on top of Cocoon. Some are open source (like CocoBlog)
built on top of Cocoon and some are infrastructures (like cocoondev). At the
moment (because of the status of the Cocoon project) it is not possible to
easily have everything in one place. This is something that is currently
being pushed by the Cocoon project for the near future (at least as far as
the open source solutions go).

HTH

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=

Sorry again. I did not mean cocoon is cluttered around! I even did not want
to criticise anybody. i only mentioned there seems to be lots of work done
around cocoon which from my point of  view looks very interesting, but is
simply not under the umbrella of cocoon itself. So i.e. if i want to go into
such a component, i fear that i must leave the core cocoon... clearly
something to be avoided! Instead i ask again, why don't they come under the
cocoon umbrella and let all cocoon users participate without pain...

It's simply me, who is a bit confused, i didn't want to confuse you ;-) i
would only like to understand, why these parallel projects exist... I mean
if you look at tomcat, or the apache server, you will find add ons (like
SSL), plugins (myriads) and so, but not parallel development...)

regards, hussayn

 Matthew

 --
 Open Source Group   Cocoon { Consulting, Training, Projects }
 =
 Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
 Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
 -
 Cocoon book:
   http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
 Weblog:
   http://radio.weblogs.com/0103021/
 =


 -Original Message-
 From: SAXESS - Hussayn Dabbous [mailto:dabbous;saxess.com]
 Sent: Thursday, October 31, 2002 2:32 PM
 To: [EMAIL PROTECTED]
 Subject: cocoon and related projects based on cocoon ...


 I asked this within another thread, but since it does not belong there, i
 post it again under a new title:

 I am a bit confused. I'm following the discussons in this mailing list for
 about a week now and i found at least two other products/components
 (whatever) mentioned in the various emails which claim to be an on top of
 cocoon development.

 Despite that all this stuff sounds very interesting, i for myself get more
 and more unshure how to proceed with my investigations on cocoon. Some
 questions rise in my mind:

 1.) Why are all such nice and nifty add ons developed all outside of
cocoon
 ?
 2.) When i move to such an add on component, how can i enshure to keep up
 with the releases of cocoon (taking advantage of the enhancements done by
 the cocoon developers)?
 3.) Why can't i find pointers

RE: Authorisation in Cocoon 2.0.3

2002-10-31 Thread Matthew Langham


My idea was to use an action to do this check, like the auth-protect except
that this action would set some parameters indicating which resource the
pipeline should use.


Use the auth-protect action. This action returns a map of values to the
sitemap processing.
Inside the Action use the parameterSelector. And then test against
{../role}.

Here is an example fragment that does something similar - except it tests
the {../id}.


map:match pattern=sunspotdemo-portlets
map:generate type=portal/
map:select type=parameter
   map:parameter name=parameter-selector-test value={../ID}/
map:when test=guest
  map:transform src=styles/portalHTML-tab.xsl
   map:parameter
name=use-request-parameters value=true/
/map:transform
/map:when
map:when test=gast
  map:transform src=styles/portalHTML-tab.xsl
   map:parameter
name=use-request-parameters value=true/
/map:transform
/map:when
map:otherwise
  map:transform src=styles/portalHTML.xsl
  map:parameter
name=use-request-parameters value=true/
/map:transform
/map:otherwise
/map:select


That's it. No programming needed :-)

Matthew


--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=


-Original Message-
From: Damian Chojna [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 31, 2002 3:44 PM
To: [EMAIL PROTECTED]
Subject: Re: Authorisation in Cocoon 2.0.3


Matthew Langham wrote:

 What is stopping you from using the authentication as provided?

As far as I've been able to discover, the sunRise solution (in 2.0.3)
doesn't supply a mechanism for restricting resources by user role.
All that it does is check that the user has successfully logged in.
I need a way to control which resources are available to certain users
based on their role.

My idea was to use an action to do this check, like the auth-protect except
that this action would set some parameters indicating which resource the
pipeline should use.

I'm new to cocoon and the way things are done under it so I'm very open
to any
and suggestions.

Damian



 Oh and if someone knows of a better (and easier) way of doing
 authorisation in 2.0.3 I'm keen on hearing about it, eventhough I want
 to try my action method first.
 
 Perhaps you could detail what is missing from the provided solution?

 Matthew

 --
 Open Source Group Cocoon { Consulting, Training, Projects }
 =
 Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
 Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
 -
 Cocoon book:
 http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
 Weblog:
 http://radio.weblogs.com/0103021/
 =


 -Original Message-
 From: Damian Chojna [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, October 31, 2002 3:24 PM
 To: cocoon-users
 Subject: Authorisation in Cocoon 2.0.3


 Hi All,
 I'm trying to write my own action to handle user authorisation. I'm
 using sunRise for user authentication and need a way to get at the ID
 and role values for the current session from within an action (a Java
 class). I know I need a reference to the sunRise context, but don't
 know how to get it. Once I have that reference, how do I use it? Can
 someone point me in the right direction?

 Oh and if someone knows of a better (and easier) way of doing
 authorisation in 2.0.3 I'm keen on hearing about it, eventhough I want
 to try my action method first.

 Thanks in advance,
 Damian.


 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 -
 Please check that your question has not already been answered in the
 FAQ before posting. http

RE: 2.1-dev authentication sample doesn't work

2002-10-18 Thread Matthew Langham

I have do that two times but there is still the same error.

Any ideas would be greatly appreciated.


I am afraid I can't really help - and Carsten is on vacation. I suggest you
post your problem to the cocoon-dev list. I am sure someone there can get
you going.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=


-Original Message-
From: [EMAIL PROTECTED] [mailto:Sylvain.Thevoz;swisscom.com]
Sent: Friday, October 18, 2002 9:07 AM
To: [EMAIL PROTECTED]
Subject: RE: 2.1-dev authentication sample doesn't work


I have do that two times but there is still the same error.

Any ideas would be greatly appreciated.

Thanks in advance
Sylvain

-Message d'origine-
De: Antonio Gallardo Rivera [mailto:agallardo;agsoftware.dnsalias.com]
Date: jeudi, 17. octobre 2002 17:21
À: [EMAIL PROTECTED]
Objet: Re: 2.1-dev authentication sample doesn't work


Build with this command two times:

./build.sh -Dinclude.webapp.libs=true -Dinclude.scratchpad.libs=true
installwar

the installwar is optional, you can also use webapp, etc.

Antonio Gallardo

El Jueves, 17 de Octubre de 2002 09:05, [EMAIL PROTECTED]
escribió:
 Hello,

 I have deleted the cocoon directory in Tomcat, build the source for the
 second times and re-deploy the cocoon.war.

 There is the same error!

 Did I do something wrong?

 Thank you
 Sylvain

 -Message d'origine-
 De: Antonio Gallardo Rivera [mailto:agallardo;agsoftware.dnsalias.com]
 Date: jeudi, 17. octobre 2002 16:38
 À: [EMAIL PROTECTED]
 Objet: Re: 2.1-dev authentication sample doesn't work


 Sorry, I misspelled it. :)

 Compile the sources two times. The the CVS 2.1 version will work fine.

 Antonio Gallardo

 El Jueves, 17 de Octubre de 2002 08:28, Antonio Gallardo Rivera escribió:
  There is a bug in the build process, compiled it two times. Then it will
  work.
 
  Antonio Gallardo
 
  El Jueves, 17 de Octubre de 2002 08:16, [EMAIL PROTECTED]

 escribió:
   Hello,
  
   I have just installed the last dev snapshot of Cocoon and try to run
   the samples. All work fine except the authentication sample.
   This error appears:
  
   Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Error
 
 ---
  -- -- - type: Exception report
   message: Internal Server Error
   description: The server encountered an internal error (Internal Server
   Error) that prevented it from fulfilling this request. exception:
   java.lang.IllegalStateException
 at
  
org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java:
  24 3) at
  
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1106
  ) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
  at io nFilterChain.java:247) at
  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
  te rC hain.java:193) at
  
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
  ve .j ava:243) at
  
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
  av a: 566) at
  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
  47 2) at
   org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at
  
org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
  ve .j ava:190) at
  
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
  av a: 566) at
  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
  47 2) at
   org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at
  
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:23
  47 ) at
  
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
  a: 18 0) at
  
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
  av a: 566) at
  
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
  al ve .java:170) at
  
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
  av a: 564) at
  
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
  a: 17 0) at
  
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
  av a: 564) at
  
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:46
  8) at
  
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
  av a: 564) at
  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java

RE: German article on Cocoon Portal and Authentication

2002-10-18 Thread Matthew Langham

you would not have a URL for those of us not being able to pick this up at a
newsstand ?

As soon as it goes up online (_if_ it goes up online) then I will post a
link in my weblog.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=


-Original Message-
From: Werner Guttmann [mailto:Werner.Guttmann;morganstanley.com]
Sent: Thursday, October 17, 2002 12:29 PM
To: [EMAIL PROTECTED]
Cc: Cocoon-Dev@Xml. Apache. Org
Subject: Re: German article on Cocoon Portal and Authentication


Matthew,

you would not have a URL for those of us not being able to pick this up at a
newsstand ?

Thanks
Werner

Matthew Langham wrote:

 The new issue of the German magazine XML  Web Services Magazin contains
a
 Cocoon special. In 2 articles (a total of 11 pages) Carsten and I detail
the
 authentication and portal framework in Cocoon.

 Matthew

 --
 Open Source Group   Cocoon { Consulting, Training, Projects }
 =
 Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
 Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
 -
 Cocoon book:
   http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
 Weblog:
   http://radio.weblogs.com/0103021/
 =

 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Adobe new products

2002-10-17 Thread Matthew Langham

I read this morning on Heise (www.heise.de - German) about Adobe introducing
a new range of products for big business. Looks like they will be bringing
out a Forms Server, an Output Server, a Workflow Server and a
Document Server - all designed to make PDF ubiquitous. And each server
with a separate price tag I would assume. If I didn't know better - from the
limited description - I would say they could be using Cocoon (or a Cocoon
based solution) for all that.

Does anyone have any additional information - I think the release is next
week.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=


-Original Message-
From: Ovidiu Predescu [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 17, 2002 4:33 AM
To: [EMAIL PROTECTED]
Subject: Re: JFreeChart, anyone ?



On Wednesday, October 16, 2002, at 08:10  AM, Nathaniel Alfred wrote:


 We have written a basic JFreeSerializer.  Just enough
 functionality for
 producing time series charts in png from datapoints sent down the
 pipeline from an XSP generator.

 ...mind to contribute it as new block? :-)

 Sure, if there is interest for it.
 But it will take me some time to figure out how to package a block.
 Anyone who could give me a hand?

 What about the licensing issue?  JFreeChart is under LGPL.
 Any objections to adding the JARs to the Cocoon distribution?

Ops, you'll have a problem with ASF and I think with Krisalis as well.
It's a real bummer people don't like LGPL. Or that some people release
code under LGPL. Depending on which side you are ;)

Perhaps the best way is to have your code compile conditionally as a
block only if the JFreeChart is in lib/optional or lib/local.

Best regards,
--
Ovidiu Predescu [EMAIL PROTECTED]
http://webweavertech.com/ovidiu/weblog/ (Weblog)
http://www.geocities.com/SiliconValley/Monitor/7464/ (Apache, GNU,
Emacs ...)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: [C 2.1 CVS] - About roles in user Authentication

2002-10-17 Thread Matthew Langham


Looking in the authentication code, the role doesn't appear to be used other
than it's placed in the session context for future use.  So...

That is correct.


2.) use the portal (cocoon's) as i'm fairly certain it's used there to
distinguish between the various portal variants.

Also correct. The role is used in the portal so that you can set up
different portals for say users vs. gurus vs. admins.

As explained in the documentation, the authentication pipeline must return
XML if the user could be authenticated - the format of that XML is thus:


authentication
IDUnique user ID/ID
roleuser role/role   !-- optional --

data
!-- application specific data for the user --
/data
/authentication


Notice that the role is optional and is only required if you are using the
authentication and portal together. And of course you can use the
authentication framework without the portal.

plug mode=cheeky
Did I mention that we offer great Cocoon training courses :-)
/plug

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 17, 2002 11:40 AM
To: [EMAIL PROTECTED]
Subject: Re: [C 2.1 CVS] - About roles in user Authentication


Looking in the authentication code, the role doesn't appear to be used other
than it's placed in the session context for future use.  So...

1.) you can make use of it somehow by accessing the session context
(authorization I believe)
2.) use the portal (cocoon's) as i'm fairly certain it's used there to
distinguish between the various portal variants.

The RoleFilterTransformer doesn't appear to use this.  Rather it uses the
J2EE role found in...  web.xml???  I forget, but basically it calls
request.isUserInRole().

Actually I'm assuming it's using hte j2ee role and not the cocoon role.   So
maybe you need to look in the request.isUserInRole mehtod to make sure.

MD

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




German article on Cocoon Portal and Authentication

2002-10-17 Thread Matthew Langham

The new issue of the German magazine XML  Web Services Magazin contains a
Cocoon special. In 2 articles (a total of 11 pages) Carsten and I detail the
authentication and portal framework in Cocoon.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: German article on Cocoon Portal and Authentication

2002-10-17 Thread Matthew Langham


It will be impossible for you to have an english version right?


I don't think we will be translating it anytime soon :). However most of it
already is in the Cocoon documentation. In addition we wrote a short article
on the same subject for xml.com.
http://www.xml.com/pub/a/2002/07/24/xmlportal.html

Matthew


--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=

It will be impossible for you to have an english version right?

- Original Message -
From: Matthew Langham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: Cocoon-Dev@Xml. Apache. Org [EMAIL PROTECTED]
Sent: Thursday, October 17, 2002 6:37 PM
Subject: RE: German article on Cocoon Portal and Authentication


 
 you would not have a URL for those of us not being able to pick this up at
a
 newsstand ?
 
 As soon as it goes up online (_if_ it goes up online) then I will post a
 link in my weblog.

 Matthew

 --
 Open Source Group   Cocoon { Consulting, Training, Projects }
 =
 Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
 Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
 -
 Cocoon book:
   http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
 Weblog:
   http://radio.weblogs.com/0103021/
 =


 -Original Message-
 From: Werner Guttmann [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, October 17, 2002 12:29 PM
 To: [EMAIL PROTECTED]
 Cc: Cocoon-Dev@Xml. Apache. Org
 Subject: Re: German article on Cocoon Portal and Authentication


 Matthew,

 you would not have a URL for those of us not being able to pick this up at
a
 newsstand ?

 Thanks
 Werner

 Matthew Langham wrote:

  The new issue of the German magazine XML  Web Services Magazin
contains
 a
  Cocoon special. In 2 articles (a total of 11 pages) Carsten and I detail
 the
  authentication and portal framework in Cocoon.
 
  Matthew
 
  --
  Open Source Group   Cocoon { Consulting, Training, Projects }
  =
  Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
  Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
  -
  Cocoon book:
http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
  Weblog:
http://radio.weblogs.com/0103021/
  =
 
  -
  Please check that your question  has not already been answered in the
  FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
 
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail:   [EMAIL PROTECTED]


 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]


 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: German article on Cocoon Portal and Authentication

2002-10-17 Thread Matthew Langham

Why are you going to use 2.0.3? Much of the portal stuff has been moved and
renamed in 2.1-dev. I recommend using 2.1-dev if you are starting on your
project now. The documentation in Cocoon is also more complete for the
current version.

Also - in 2.1-dev the portal/authentication components have been moved to
the main branch.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=


-Original Message-
From: Richard Reyes [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 18, 2002 5:17 AM
To: [EMAIL PROTECTED]
Subject: Re: German article on Cocoon Portal and Authentication


Hi Matthew,

I have just found this link looking at your weblog.
by now i'll be working on the cocoon portal sample shipped with the binary
release ( v 2.0.3 ) .

Question: will it be alright to use the sunspot components shipped with this
binary release or should
I prefer to download a daily snapshot and build --installwar?

Thanks again.

Richard

- Original Message -
From: Matthew Langham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 17, 2002 7:16 PM
Subject: RE: German article on Cocoon Portal and Authentication



It will be impossible for you to have an english version right?


I don't think we will be translating it anytime soon :). However most of it
already is in the Cocoon documentation. In addition we wrote a short article
on the same subject for xml.com.
http://www.xml.com/pub/a/2002/07/24/xmlportal.html

Matthew


--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
Weblog:
  http://radio.weblogs.com/0103021/
=

It will be impossible for you to have an english version right?

- Original Message -
From: Matthew Langham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: Cocoon-Dev@Xml. Apache. Org [EMAIL PROTECTED]
Sent: Thursday, October 17, 2002 6:37 PM
Subject: RE: German article on Cocoon Portal and Authentication


 
 you would not have a URL for those of us not being able to pick this up at
a
 newsstand ?
 
 As soon as it goes up online (_if_ it goes up online) then I will post a
 link in my weblog.

 Matthew

 --
 Open Source Group   Cocoon { Consulting, Training, Projects }
 =
 Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
 Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
 -
 Cocoon book:
   http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
 Weblog:
   http://radio.weblogs.com/0103021/
 =


 -Original Message-
 From: Werner Guttmann [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, October 17, 2002 12:29 PM
 To: [EMAIL PROTECTED]
 Cc: Cocoon-Dev@Xml. Apache. Org
 Subject: Re: German article on Cocoon Portal and Authentication


 Matthew,

 you would not have a URL for those of us not being able to pick this up at
a
 newsstand ?

 Thanks
 Werner

 Matthew Langham wrote:

  The new issue of the German magazine XML  Web Services Magazin
contains
 a
  Cocoon special. In 2 articles (a total of 11 pages) Carsten and I detail
 the
  authentication and portal framework in Cocoon.
 
  Matthew
 
  --
  Open Source Group   Cocoon { Consulting, Training, Projects }
  =
  Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
  Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
  -
  Cocoon book:
http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
  Weblog:
http://radio.weblogs.com/0103021/
  =
 
  -
  Please check that your question  has not already been answered in the
  FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
 
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail:   [EMAIL PROTECTED

RE: sunRise User Administration for Dummies

2002-10-14 Thread Matthew Langham

Have you guys read the documentation? The authentication framework is
explained in detail here:
http://xml.apache.org/cocoon/developing/webapps/index.html

Let me know if you have any additional questions.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, October 12, 2002 3:07 AM
To: [EMAIL PROTECTED]
Subject: Re: sunRise User Administration for Dummies


I've looked at the user admin and the authentication in general.  (not the
sunrise scratchpad but what's now in the main branch).

As best as I can figure there's a generator that works with the
AuthenticationManager to create an interactive page to get users, a user,
roles, a role, create a user, create a role, update a user, delete a user,
delete a role.  These simply call the various corresponding resources that
you set up with the sitemap.xml (authentication manager section within the
components).  As far as I can tell nothing is really done with them apart
from what you do in the resource.  so the UI really calls the resource that
you configured and you do something with it.  Whatever occurs is not
automagically used within Cocoon's authentication.

Hypersonic appears to only be used for sample applications not for
authentication.  so no users, roles or the association between the two is
stored.  I've found absolutely no JDBC code within the authenication/session
pieces.

My reason for looking into this was from a scalability point of view.  I
like Hypersonic DB for prototyping but not for serious production code.  So
i was trying to make sure this wasn't being used at all for authenication.
The usage of resources allows you to use your own persistence mechanism,
e.g. LDAP, database, XML file, etc.

Also I was looking at the session management.  My gripe is that it uses
HttpSession and didn't make use of calling out to resources as the
authentication manager did.  If the user wanted to use HttpSession or the
database or... let them do that in the called resource.  So ideally there's
a getProperties and a saveProperties resource (oh well).

Also the roles is really confusing, as within the authentication manager
it's not used at all as far as I can tell (it's probably used in the
portal).  There's a roleFilterTransformer that goes off of the J2EE role
that you'd set for the web.xml and use the isUserInRole method.  That's all
the transformer does.  it doesn't actually use the role from the
authentication manager???  so these are unrelated pieces of code.

So the role information that you return from the authenication resource
appears to be left to the developer to make use of somehow, assuming they're
not using Cocoon's portal offering.  I'm fairly certain the portal uses the
role but I've not looked at the portal component at all.

hope that helps.  md





 At 19:57 11/10/2002 -0800, you wrote:
 Hi Guys,
 
 Can anybody give me anything...
 I really don't have any clear idea on how to start on this...
 Any working samples...
 
 Thanks Again.
 Richard
 
 -
 
 - Original Message -
 From: Richard Reyes
 To: C2 Users
 Sent: Friday, October 11, 2002 3:14 PM
 Subject: sunRise User Administration for Dummies
 
 
 Hi Guys,
 
 How does the SunRise User Administration function?
 
 Are the Roles and Users saved in a Database?
 
 Do we have any tutorials?
 
 Thanks in Advance...
 
 Richard
 
 -
 Please check that your question  has not already been answered in the
 FAQ before posting. 
TITLE=http://xml.apache.org/cocoon/faq/index.html
TARGET=_blankhttp://xml.apache.org/cocoon/faq/index.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]


 -
 Please check that your question  has not already been answered in the
 FAQ before posting. 
TITLE=http://xml.apache.org/cocoon/faq/index.html
TARGET=_blankhttp://xml.apache.org/cocoon/faq/index.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED

RE: sunRise User Administration for Dummies

2002-10-14 Thread Matthew Langham

Richard,

this is the correct link to the _current_ version (in 2.1-dev):

http://xml.apache.org/cocoon/developing/webapps/authentication.html


Can I use it with a database?

Yes - the authentication framework maps functions to pipelines. And as such
a pipeline can do whatever _you_ want.


Where would the user data be stored?

Wherever _you_ want it to be.


Do I need to include the portal in my applications?

No.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=


-Original Message-
From: Richard Reyes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 10:53 PM
To: C2 Users
Subject: RE: sunRise User Administration for Dummies




Hi Matthew,

I have read the documentation a couple of times... this one
http://xml.apache.org/cocoon/developing/webapps/sunrise.html

But still, I cannot understand or apply anything on the User
Administration...
Can I use it with a database?
Where would the user data be stored?
Do I need to include the portal in my applications?

Thanks again..
Richard

===
Have you guys read the documentation? The authentication framework is
explained in detail here:
http://xml.apache.org/cocoon/developing/webapps/index.html

Let me know if you have any additional questions.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, October 12, 2002 3:07 AM
To: [EMAIL PROTECTED]
Subject: Re: sunRise User Administration for Dummies

I've looked at the user admin and the authentication in general.  (not
the
sunrise scratchpad but what's now in the main branch).

As best as I can figure there's a generator that works with the
AuthenticationManager to create an interactive page to get users, a
user,
roles, a role, create a user, create a role, update a user, delete a
user,
delete a role.  These simply call the various corresponding resources
that
you set up with the sitemap.xml (authentication manager section within
the
components).  As far as I can tell nothing is really done with them
apart
from what you do in the resource.  so the UI really calls the resource
that
you configured and you do something with it.  Whatever occurs is not
automagically used within Cocoon's authentication.


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: example in the Cocoon book

2002-10-11 Thread Matthew Langham

Thanks. We had that one on our list and I forgot to add it.

Matthew



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 2:11 PM
To: [EMAIL PROTECTED]
Subject: RE: example in the Cocoon book


Not so important but in page 155, figure 6.5, are these two notations
correct:

1. map:action-setname=myactionset

2. map:act set=,,myactionset

Sylvain

-Message d'origine-
De: Matthew Langham [mailto:[EMAIL PROTECTED]]
Date: vendredi, 11. octobre 2002 13:20
À: [EMAIL PROTECTED]
Objet: RE: example in the Cocoon book


Thanks,

there is now an errata page online at:

http://radio.weblogs.com/0103021/categories/bookErrata/

If you have anything to add -let us know.

Matthew



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 1:15 PM
To: [EMAIL PROTECTED]
Subject: RE: example in the Cocoon book


Thank you Matthew for your explanation, it works fine.
And your book is really the best reference for Cocoon I have seen.

Sylvain

-Message d'origine-
De: Matthew Langham [mailto:[EMAIL PROTECTED]]
Date: jeudi, 10. octobre 2002 11:33
À: [EMAIL PROTECTED]
Objet: RE: example in the Cocoon book



Thank you Matthew, but could you explain why!?

Sure :-)

1. map:pipeline
2. map:match pattern=download
3. map:act type=request
4. map:parameter name=parameters value=true/
6. map:act type=resource-exists
7. map:parameter name=url value=download/{file}/

8. map:read src=download/{../file}/
9. /map:act
10.map:generate src=filenotfound.xml/
11.map:transform src=filenotfound2html.xsl/
12.map:serialize/
13./map:act
14./map:match
15./map:pipeline

This has to do with the nesting of components. Each time a component is
nested inside another one we need to go up the tree. Notice how the
resource-exists action is nested inside the request action. Also notice
that the Reader is inside the resource-exists action.

Ok, now - the map:parameter attribute of the resource-exists action
belongs to it - so it is at the same level and we can use {file} to
access the parameter that the request action provides to the sitemap.

The Reader is however underneath or inside the resource-exists action,
so it needs to go up one step to access the same file parameter.

This was the non-programmer explanation. Carsten or others can provide a
perhaps more exact explanation.

Matthew















-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 11:19 AM
To: [EMAIL PROTECTED]
Subject: RE: example in the Cocoon book


Thank you Matthew, but could you explain why!?

Is the line 7. map:parameter name=url value=download/{file}/  is
correct?

Thank you
Sylvain

-Message d'origine-
De: Matthew Langham [mailto:[EMAIL PROTECTED]]
Date: jeudi, 10. octobre 2002 11:17
À: [EMAIL PROTECTED]
Objet: RE: example in the Cocoon book


Hi,

guess what - this is a bug in the book :).


8. map:read src=download/{file}/


That line should read:

   map:read src=download/{../file}/

Matthew



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 10:05 AM
To: [EMAIL PROTECTED]
Subject: example in the Cocoon book


Hello,

I'm reading the Cocoon book written by Matthew and Carsten and one example
in it doesn't work.

The pipeline fragment is:

1. map:pipeline
2. map:match pattern=download
3. map:act type=request
4. map:parameter name=parameters value=true/
6. map:act type=resource-exists
7. map:parameter name=url value=download/{file}/
8. map:read src=download/{file}/
9. /map:act
10.map:generate src=filenotfound.xml/
11.map:transform src=filenotfound2html.xsl/
12.map:serialize/
13./map:act
14./map:match
15./map:pipeline

All seem to work except the line 8.
Cocoon detect that the {file} exists (line 7) but it can't read it (line 8).
It returns a HTTP error 404 (file not found).

Anyone has an idea?
How to check (debug) the value {file}?

Thank you
Sylvain

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please

RE: example in the Cocoon book

2002-10-11 Thread Matthew Langham

Thanks,

there is now an errata page online at:

http://radio.weblogs.com/0103021/categories/bookErrata/

If you have anything to add -let us know.

Matthew



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 1:15 PM
To: [EMAIL PROTECTED]
Subject: RE: example in the Cocoon book


Thank you Matthew for your explanation, it works fine.
And your book is really the best reference for Cocoon I have seen.

Sylvain

-Message d'origine-
De: Matthew Langham [mailto:[EMAIL PROTECTED]]
Date: jeudi, 10. octobre 2002 11:33
À: [EMAIL PROTECTED]
Objet: RE: example in the Cocoon book



Thank you Matthew, but could you explain why!?

Sure :-)

1. map:pipeline
2. map:match pattern=download
3. map:act type=request
4. map:parameter name=parameters value=true/
6. map:act type=resource-exists
7. map:parameter name=url value=download/{file}/

8. map:read src=download/{../file}/
9. /map:act
10.map:generate src=filenotfound.xml/
11.map:transform src=filenotfound2html.xsl/
12.map:serialize/
13./map:act
14./map:match
15./map:pipeline

This has to do with the nesting of components. Each time a component is
nested inside another one we need to go up the tree. Notice how the
resource-exists action is nested inside the request action. Also notice
that the Reader is inside the resource-exists action.

Ok, now - the map:parameter attribute of the resource-exists action
belongs to it - so it is at the same level and we can use {file} to
access the parameter that the request action provides to the sitemap.

The Reader is however underneath or inside the resource-exists action,
so it needs to go up one step to access the same file parameter.

This was the non-programmer explanation. Carsten or others can provide a
perhaps more exact explanation.

Matthew















-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 11:19 AM
To: [EMAIL PROTECTED]
Subject: RE: example in the Cocoon book


Thank you Matthew, but could you explain why!?

Is the line 7. map:parameter name=url value=download/{file}/  is
correct?

Thank you
Sylvain

-Message d'origine-
De: Matthew Langham [mailto:[EMAIL PROTECTED]]
Date: jeudi, 10. octobre 2002 11:17
À: [EMAIL PROTECTED]
Objet: RE: example in the Cocoon book


Hi,

guess what - this is a bug in the book :).


8. map:read src=download/{file}/


That line should read:

   map:read src=download/{../file}/

Matthew



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 10:05 AM
To: [EMAIL PROTECTED]
Subject: example in the Cocoon book


Hello,

I'm reading the Cocoon book written by Matthew and Carsten and one example
in it doesn't work.

The pipeline fragment is:

1. map:pipeline
2. map:match pattern=download
3. map:act type=request
4. map:parameter name=parameters value=true/
6. map:act type=resource-exists
7. map:parameter name=url value=download/{file}/
8. map:read src=download/{file}/
9. /map:act
10.map:generate src=filenotfound.xml/
11.map:transform src=filenotfound2html.xsl/
12.map:serialize/
13./map:act
14./map:match
15./map:pipeline

All seem to work except the line 8.
Cocoon detect that the {file} exists (line 7) but it can't read it (line 8).
It returns a HTTP error 404 (file not found).

Anyone has an idea?
How to check (debug) the value {file}?

Thank you
Sylvain

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED

RE: example in the Cocoon book

2002-10-10 Thread Matthew Langham

Hi,

guess what - this is a bug in the book :).


8. map:read src=download/{file}/


That line should read:

   map:read src=download/{../file}/

Matthew



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 10:05 AM
To: [EMAIL PROTECTED]
Subject: example in the Cocoon book


Hello,

I'm reading the Cocoon book written by Matthew and Carsten and one example
in it doesn't work.

The pipeline fragment is:

1. map:pipeline
2. map:match pattern=download
3. map:act type=request
4. map:parameter name=parameters value=true/
6. map:act type=resource-exists
7. map:parameter name=url value=download/{file}/
8. map:read src=download/{file}/
9. /map:act
10.map:generate src=filenotfound.xml/
11.map:transform src=filenotfound2html.xsl/
12.map:serialize/
13./map:act
14./map:match
15./map:pipeline

All seem to work except the line 8.
Cocoon detect that the {file} exists (line 7) but it can't read it (line 8).
It returns a HTTP error 404 (file not found).

Anyone has an idea?
How to check (debug) the value {file}?

Thank you
Sylvain

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: example in the Cocoon book

2002-10-10 Thread Matthew Langham


Thank you Matthew, but could you explain why!?

Sure :-)

1. map:pipeline
2. map:match pattern=download
3. map:act type=request
4. map:parameter name=parameters value=true/
6. map:act type=resource-exists
7. map:parameter name=url value=download/{file}/

8. map:read src=download/{../file}/
9. /map:act
10.map:generate src=filenotfound.xml/
11.map:transform src=filenotfound2html.xsl/
12.map:serialize/
13./map:act
14./map:match
15./map:pipeline

This has to do with the nesting of components. Each time a component is
nested inside another one we need to go up the tree. Notice how the
resource-exists action is nested inside the request action. Also notice
that the Reader is inside the resource-exists action.

Ok, now - the map:parameter attribute of the resource-exists action
belongs to it - so it is at the same level and we can use {file} to
access the parameter that the request action provides to the sitemap.

The Reader is however underneath or inside the resource-exists action,
so it needs to go up one step to access the same file parameter.

This was the non-programmer explanation. Carsten or others can provide a
perhaps more exact explanation.

Matthew















-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 11:19 AM
To: [EMAIL PROTECTED]
Subject: RE: example in the Cocoon book


Thank you Matthew, but could you explain why!?

Is the line 7. map:parameter name=url value=download/{file}/  is
correct?

Thank you
Sylvain

-Message d'origine-
De: Matthew Langham [mailto:[EMAIL PROTECTED]]
Date: jeudi, 10. octobre 2002 11:17
À: [EMAIL PROTECTED]
Objet: RE: example in the Cocoon book


Hi,

guess what - this is a bug in the book :).


8. map:read src=download/{file}/


That line should read:

   map:read src=download/{../file}/

Matthew



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 10:05 AM
To: [EMAIL PROTECTED]
Subject: example in the Cocoon book


Hello,

I'm reading the Cocoon book written by Matthew and Carsten and one example
in it doesn't work.

The pipeline fragment is:

1. map:pipeline
2. map:match pattern=download
3. map:act type=request
4. map:parameter name=parameters value=true/
6. map:act type=resource-exists
7. map:parameter name=url value=download/{file}/
8. map:read src=download/{file}/
9. /map:act
10.map:generate src=filenotfound.xml/
11.map:transform src=filenotfound2html.xsl/
12.map:serialize/
13./map:act
14./map:match
15./map:pipeline

All seem to work except the line 8.
Cocoon detect that the {file} exists (line 7) but it can't read it (line 8).
It returns a HTTP error 404 (file not found).

Anyone has an idea?
How to check (debug) the value {file}?

Thank you
Sylvain

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: example in the Cocoon book

2002-10-10 Thread Matthew Langham

The example is at the bottom of 117. The error is at the top of 118.

Matthew



-Original Message-
From: Bert Van Kets [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: RE: example in the Cocoon book


What's the page of this book bug?
I want to correct the bug in the book itself.

Bert

At 11:17 10/10/2002 +0200, you wrote:
Hi,

guess what - this is a bug in the book :).

 
8. map:read src=download/{file}/


That line should read:

map:read src=download/{../file}/

Matthew



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 10:05 AM
To: [EMAIL PROTECTED]
Subject: example in the Cocoon book


Hello,

I'm reading the Cocoon book written by Matthew and Carsten and one example
in it doesn't work.

The pipeline fragment is:

1. map:pipeline
2. map:match pattern=download
3. map:act type=request
4. map:parameter name=parameters value=true/
6. map:act type=resource-exists
7. map:parameter name=url value=download/{file}/
8. map:read src=download/{file}/
9. /map:act
10.map:generate src=filenotfound.xml/
11.map:transform src=filenotfound2html.xsl/
12.map:serialize/
13./map:act
14./map:match
15./map:pipeline

All seem to work except the line 8.
Cocoon detect that the {file} exists (line 7) but it can't read it (line
8).
It returns a HTTP error 404 (file not found).

Anyone has an idea?
How to check (debug) the value {file}?

Thank you
Sylvain

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: SunRise - Valid User Data

2002-09-25 Thread Matthew Langham

Richard,

from the documentation:


sunshine:getxml context=sunRise path=/authentication/ID/ !-- Get the
ID --
sunshine:getxml context=sunRise path=/authentication/data/username/


Note the R in sunRise.

Matthew


-Original Message-
From: Richard Reyes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 12:44 AM
To: [EMAIL PROTECTED]
Subject: Re: SunRise - Valid User Data


Hi Carsten,

ah,

changed it to...

?xml version=1.0 ?

document xmlns:session=http://cocoon.apache.org/sunshine/1.0; 
message
YOU ARE LOGGED!!!
/message

session:getxml context=sunrise path=/authentication/ID /

/document

and i got an error that the context sunrise does not exist..

i still am doing some reading on the url that you gave me.

THANKS

- Original Message -
From: Carsten Ziegeler [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 25, 2002 12:39 AM
Subject: RE: SunRise - Valid User Data




  -Original Message-
  From: Richard Reyes [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, September 26, 2002 12:06 AM
  To: [EMAIL PROTECTED]
  Subject: Re: SunRise - Valid User Data
 
 
 
  Hi Carsten,
 
  I am getting an error that the context authentication does not
exist
 
  this is my xml now...
 
  ===
  ?xml version=1.0 ?
  document xmlns:session=http://cocoon.apache.org/sunshine/1.0; 
  message
  YOU ARE LOGGED!!!
  /message
  session:getxml context=response path=/authentication/ID /
  /document
  =
 
 Ehm, you invoke getxml with context=response. For Cocoon 2.0.x the
 context name is sunrise! See

 http://xml.apache.org/cocoon/developing/webapps/sunrise.html


 HTH
 Carsten


 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]






-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Portal screenshots

2002-09-25 Thread Matthew Langham

Hi

as most of you know Carsten and I travel the land speaking on Cocoon and
presenting (in particular) on the Cocoon portal and authentication
components. So we are particularly interested in any screenshots you can
provide showing a portal you have built with Cocoon.

If you could send me the screenshot with a couple of lines describing the
solution - that would be great.

Many thanks

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Attn. Germany Cocoon (would-be) users

2002-09-25 Thread Matthew Langham

Hi,

Carsten and I will be travelling to Stuttgart Monday afternoon to give a
Cocoon portal presentation Tuesday morning at a company there.

If you happen to be in that area or on the connecting autobahn-line between
Paderborn and Stuttgart then we would be pleased to drop by and talk
Cocoon Tuesday afternoon if we can fit it in our schedule.

Just send us a mail.

Matthew  Carsten

=
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: PDF Double Dipping -- FOP bug?

2002-09-13 Thread Matthew Langham



Hi 
Paul,

I 
think this is a known bug when using the PDF viewer in Microsoft 
IE.

Matthew

 

  -Original Message-From: Paul Lee 
  [mailto:[EMAIL PROTECTED]]Sent: Friday, September 13, 2002 
  2:47 AMTo: [EMAIL PROTECTED]Subject: PDF 
  "Double Dipping" -- FOP bug?
  
  I know the subject line is pretty 
  stupid, but hell, its been a long day
  
  I have started to use Cocoon to 
  generate HTML and PDF output from a database. It works great but I noticed that 
  whenever I generate a PDF file the same query always get executed twice, while 
  the equivalent HTML generation uses only one request. This is especially noticeable as one 
  of my queries take a minute long. 
  Cocoon also seem to reprocess the XML whenever I ask for the PDF 
  transformation  this is evident from the double spike in the processing 
  power usage (I am running Windows 2000 and you can see the two hills 
  prominently in the Task Manager)
  
  I am wondering if I am doing 
  anything wrong, but I noticed that it seems to be doing the same thing even to 
  the hello.pdf example on a fresh, plain installation 
  of Tomcat/Cocoon.
  
  This leads me to wonder: is this a 
  bug in FOP? Has anyone seen/solve 
  this?
  
  Thanks in 
  advance!
  
  Paul
  
  p.s. Tomcat 4.0.4, Cocoon 2.0.3, 
  Windows 2000  Windows XP, JDK1.4  
  1.3.1


RE: [Auth-framwork] - How to manage multiple documents.

2002-09-05 Thread Matthew Langham

Hi Antonio,

an interesting scenario - are you serious? :-)

The authentication framework allows you to pass additional data back from
the authentication pipeline. One solution would be to use the same handler
for all the different pipelines but to pass back additional values that
contain the a,b,c,d etc. So you could store these in your database and then
return them when the user is autenticated.

In the actual pipeline you would then need a new action that checks the
returned a,b,c,d and makes sure the user can access the pipeline.


. ok, Carsten just came up with the following:

Pass back the additional data as described above. In your pipeline the
authentication action makes the data available as parameters in the
pipeline. You can then use the parameterSelector to switch on the values.
That way you would not need to write a new action.


There you go. Have fun.

Matthew






Given 4 pages to authenticate:

a) create-category
b) edit-category
c) create-product
d) edit-product.

and 5 users:

userA, userB, userC, userD, userE

and this permission rules:

UserA can acces only pages a,b,c,d
UserB can acces only pages a,b
UserC can access only pages: c,d
UserD can access only pages: a,c
UserE can access only pages: b,d

How is the best approach to do that with Cocoon?

Of course we dont want that the user need to write his user ID and password
to
access every page.

What we can do?

Regards,

Antonio Gallardo

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Problem with sunRise, please help :)

2002-09-03 Thread Matthew Langham

Antonio,

try this:
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=102927633032114w=2


Matthew



-Original Message-
From: Antonio Gallardo Rivera [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 2:08 PM
To: [EMAIL PROTECTED]
Subject: Problem with sunRise, please help :)


Hi, please help me.

I was trying to setup a handler with sunRise. I am using Cocoon 2.0.3

After the login I got this error:

java.lang.NullPointerException

Note java.lang.NullPointerException at
org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:869) at
org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871) at
org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871) at
org.apache.cocoon.sunshine.xml.XMLUtil.getNodeListFromPath(XMLUtil.java:836)
at
org.apache.cocoon.sunshine.context.SimpleSessionContext.getXML(SimpleSession
Context.java:173)
at
org.apache.cocoon.sunshine.sunrise.SunRise.isAuthenticated(SunRise.java:691)
at
org.apache.cocoon.sunshine.sunrise.SunRise.checkAuthentication(SunRise.java:
766)
at
org.apache.cocoon.sunshine.sunrise.acting.AuthAction.act(AuthAction.java:122
)
at
org.apache.cocoon.www.sitemap_xmap.matchN400175(/home/agallardo/prueba/jakar
ta-tomcat-4.1.9-LE-jdk14/work/Standalone/localhost/multipremios/cocoon-files
/org/apache/cocoon/www/sitemap_xmap.java:1760)
at
org.apache.cocoon.www.sitemap_xmap.process(/home/agallardo/prueba/jakarta-to
mcat-4.1.9-LE-jdk14/work/Standalone/localhost/multipremios/cocoon-files/org/
apache/cocoon/www/sitemap_xmap.java:1281)
at
org.apache.cocoon.www.sitemap_xmap.process(/home/agallardo/prueba/jakarta-to
mcat-4.1.9-LE-jdk14/work/Standalone/localhost/multipremios/cocoon-files/org/
apache/cocoon/www/sitemap_xmap.java:1197)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:224) at
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154) at
org.apache.cocoon.Cocoon.process(Cocoon.java:575) at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2350)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process

What I am doing wrong?

Thanks in advance,

Antonio Gallardo

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. 

RE: [SUMMARY] sunRise throw java.lang.NullPointerException in Java 1.4

2002-09-03 Thread Matthew Langham


Many thanks to Matthew Langham that provide me the link to:

Glad to see that solved your problem.

Matthew

-Original Message-
From: Antonio Gallardo Rivera [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 3:07 PM
To: [EMAIL PROTECTED]
Subject: [SUMMARY] sunRise throw java.lang.NullPointerException in Java
1.4


PROBLEM: When you are trying to use sunRise and your plataform is:

Cocoon 2.0.3
Tomcat 2.1.8 or 2.1.9
Java 1.4 or 1.4.1

You get the following error:

java.lang.NullPointerException

java.lang.NullPointerException at
org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:869)
at org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871)
at org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871)
at
org.apache.cocoon.sunshine.xml.XMLUtil.getNodeListFromPath(XMLUtil.java:836
at
org.apache.cocoon.sunshine.context.SimpleSessionContext.getXML(SimpleSession
Context.java:173)
at
org.apache.cocoon.sunshine.sunrise.SunRise.isAuthenticated(SunRise.java:691


CAUSE:
You have to configure java to work with this libraries:
xalan-2.3.1.jar
xercesImpl-2.0.0.jar
xml-apis.jar

SOLUTION:
1-Stop Tomcat.
2-Create a directory named endorsed at $JAVA_HOME/jre/lib/
3-Copy from Cocoon the following files to the recent created directory:
xalan-2.3.1.jar
xercesImpl-2.0.0.jar
xml-apis.jar
4-Restart Tomcat

THANKS:

Many thanks to Matthew Langham that provide me the link to:

http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=102927633032114w=2

Antonio Gallardo

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Cocoon 2.1-dev in Tomcat 4.1.7

2002-09-03 Thread Matthew Langham

Leo,

thanks. The problem was in the way we were building the war file.

Matthew

 

-Original Message-
From: leo leonid [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 4:25 PM
To: [EMAIL PROTECTED]
Subject: Re: Cocoon 2.1-dev in Tomcat 4.1.7





On Tuesday, September 3, 2002, at 03:39  Uhr, Matthew Langham wrote:

 Hi,

 does anyone have this combination running (jdk 1.3.1)? We have just 
 tried to
 deploy a war file of the current 2.1 CVS version but without luck. 
 Tomcat
 unpacks the war but doesn't seem to actually mount anything. Calling any
 Cocoon URI gives a 404.
 Any ideas?

 Matthew



I use I similar combination: latest 2.1 CVS version, tomcat 4.1.9 and
jdk 1.3.1. This works fine out of the box.

/Leo


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Cocoon 2.1-dev in Tomcat 4.1.7

2002-09-03 Thread Matthew Langham

Hi,

does anyone have this combination running (jdk 1.3.1)? We have just tried to
deploy a war file of the current 2.1 CVS version but without luck. Tomcat
unpacks the war but doesn't seem to actually mount anything. Calling any
Cocoon URI gives a 404.

The log lists this exception:


2002-09-03 15:37:56 HostConfig[localhost] Error deploying web application
directory cocoon
java.io.IOException: java.lang.IllegalStateException:
ContainerBase.addChild: start: LifecycleException:  start: :
java.lang.ClassCastException: org.apache.naming.resources.FileDirContext
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:262)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:569
)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2185)
at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)


Any ideas?

Matthew



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




sunBow (Cocoon IDE) licencing

2002-08-27 Thread Matthew Langham

Hi,

many of you have asked how sunBow (http://radio.weblogs.com/0108489/) will
be licenced once we release the first version. We have debated this question
for quite a while and this is how it will work:

We will be releasing a version of sunBow 1.0 for free. All we will require
is that you register with us. This version is aimed at single users working
with Cocoon and will not include direct support. We also hope that this will
help leaverage Cocoon into new areas.

We will also be releasing a commercial version of sunBow that will include
support and additional features. This version will be bundled with other
offerings we have (sunShine, Cocoon trainings etc.) and targeted towards
large commercial users. For more information on this - please contact:
[EMAIL PROTECTED]

While we get everything set up (web page, downloads etc.) we will be
extending the current sunBow Preview licence for an additional month. We
will be posting more information on this and the licence file here
(http://radio.weblogs.com/0108489/) by the end of this week.

Please contact me with any questions you may have.

Thanks.

Matthew Langham

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: XML Journal poll.

2002-08-22 Thread Matthew Langham

There is also a vote for best XML Book (Hint hint) :-) - and unfortunately:

6) YOU ARE ALLOWED TO VOTE FOR YOUR OWN PRODUCT WITHIN THE RULES AS
DESCRIBED ABOVE.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=




-Original Message-
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 22, 2002 6:31 AM
To: [EMAIL PROTECTED]
Subject: Re: XML Journal poll.


Yukio Fujiwara wrote:

Hi Every One,

Please make your voices heard at XML Journal poll.
This is important to promote Cocoon and Batik. In
this poll employees of a company can vote for their
own products, which give them unfair advantage.

At this moment Batik and Cocoon is trailing very
badly. You may see the results at:

http://www.sys-con.com/xml/readerschoice2002/

You may cast your vote at:

http://www.sys-con.com/xml/readerschoice2002/nominationform.cfm


Also I agree that we should voice cocoon in this poll, this poll itself
is ridiculous: XML Spy is a Best XML Database???


Vadim


Thanks,
Yukio




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Portal question [ the request parameters are available from inside the coplets?]

2002-08-20 Thread Matthew Langham

Ramy,

the coplet needs to be configured to handle parameters. Check the
handlesParameters entry in the portal documentation. This is optional - so
you will need to turn it on using the portal tool or  by editing the coplet
profile.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=




-Original Message-
From: Ramy Mamdouh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 4:57 PM
To: [EMAIL PROTECTED]
Subject: Portal question [ the request parameters are available from
inside the coplets?]


Hello,

I have a small portal [cocoon 2.1-dev] question here.
The requests parameters passed to the main portal pipeline (that one
containing the portal generator) are available to the coplets?

I mean if we invoked the portal generator pipeline with some parameters
(e.g /index?abc=10), where /index matchs to the portal generator,
Is this abc parameter available to all the coplets??

Thanks

--
Ramy Mamdouh Kamel
[EMAIL PROTECTED]




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




New sunBow Preview

2002-07-31 Thread Matthew Langham

The newest preview version of our Cocoon IDE plugin for eclipse - sunBow -
is now available. More information here:
http://radio.weblogs.com/0108489/2002/07/31.html#a6

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=





-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Cocoon statistics

2002-07-30 Thread Matthew Langham

Hi,

I would be interested in getting some statistics on Cocoon downloads. Can
someone with power give an overview as to the number of downloads of the
different Cocoon versions ... by month ... or whatever is available.

Many thanks

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




OSCON Heads up

2002-07-30 Thread Matthew Langham

Hi,

if you were following my weblog then you will already have seen my notes on
the OReilly Open Source Convention. If not - then now's the time to go back
and read :-) (http://radio.weblogs.com/0103021/).

Here's a brief summary from a Cocoon perspective. To start off it seems that
Cocoon is virtually unknown on the other side of the Atlantic. Most of the
people I talked to had perhaps heard of Cocoon but were unaware of its
potential. Quite a few people were looking for exactly that sort of solution
and then very interested in hearing about the project. My presentation was
on building XML portals with Cocoon but there was also a very brief
introduction to the architecture. In all I only had 45 minutes and that is
not much time to go into great detail. There were about 30 people in the
presentation - not as many as I had hoped for. Quite a few of those present
had already looked into Cocoon - so there didn't seem to be many people
there who came just from reading the agenda. Again I think this shows that
there is still a bit that needs to be done to make Cocoon more visible.

On a more personal note - it was great to see the book at last! I even got
to sign a couple of copies - which is an exciting experience.

In all OSCON was a great venue and well worth the (long) trip. I would liked
to have seen more on Apache projects there - but around 50% was Perl, PHP
and Python.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Cocoon statistics

2002-07-30 Thread Matthew Langham

This was meant for cocoon-dev. Sorry.

M.



-Original Message-
From: Matthew Langham [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 8:52 AM
To: [EMAIL PROTECTED]
Subject: Cocoon statistics


Hi,

I would be interested in getting some statistics on Cocoon downloads. Can
someone with power give an overview as to the number of downloads of the
different Cocoon versions ... by month ... or whatever is available.

Many thanks

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Filtering HTML pages

2002-07-30 Thread Matthew Langham

Hi gang,

we are working on a project where one of the main goals is to provide a
filter for external web pages. The idea is that the client accesses the
filter running on a server and then receives HTML pages that have been
filtered according to certain rules.

One way of doing this is obviously running the pages through the html
generator in the cocoon pipeline and using stylesheets to alter the XHTML as
needed. The advantage being the flexibility and the use of caching.

Has anyone done this already or can perhaps suggest an alternative way of
doing this?

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=





-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Filtering HTML pages

2002-07-30 Thread Matthew Langham

Hi Klaus,

yes I meant using Tidy. We do this already but on a much lesser scale than
providing a proper filter solution.

Matthew



-Original Message-
From: Klaus Bertram [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 2:54 PM
To: [EMAIL PROTECTED]
Subject: RE: Filtering HTML pages


Hi Mattthew

What's about the tidy software in the release?

I don't know the details of XHTML but it looks like that tidy is near this


Klaus


 -Original Message-
 From: Matthew Langham [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 30, 2002 1:59 PM
 To: Cocoon-Dev@Xml. Apache. Org; Cocoon-Users@Xml. Apache. Org
 Subject: Filtering HTML pages


 Hi gang,

 we are working on a project where one of the main goals is to provide a
 filter for external web pages. The idea is that the client accesses the
 filter running on a server and then receives HTML pages that have been
 filtered according to certain rules.

 One way of doing this is obviously running the pages through the html
 generator in the cocoon pipeline and using stylesheets to alter
 the XHTML as
 needed. The advantage being the flexibility and the use of caching.

 Has anyone done this already or can perhaps suggest an alternative way of
 doing this?

 Matthew

 --
 Open Source Group   Cocoon { Consulting, Training, Projects }
 =
 Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
 Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
 -
 Cocoon book:
   http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
 =





 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: troubles with sunrise

2002-07-19 Thread Matthew Langham

Barbara,

which version of Cocoon are you using? My article refers to version 2.0.x.
And the correct link to the article is:

http://radio.weblogs.com/0103021/stories/2002/02/28/usingTheSunriseComponent
s.html

Matthew
--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=




-Original Message-
From: Barbara Post [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 19, 2002 9:34 AM
To: [EMAIL PROTECTED]
Subject: troubles with sunrise


Hello, I tried to do the same as on :
http://www.need-a-cake.com/stories/2002/02/28/usingTheSunriseComponents.html
but get :

org.apache.avalon.framework.component.ComponentException: Could not find
component
 at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(Excal
iburComponentManager.java:367)
 at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentMa
nager.java:167)

without knowing which component is in cause...

what's wrong ? thanks !

Babs


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: changing content of a coplet/sunlet

2002-07-18 Thread Matthew Langham

Hi Dirk,

Great that you like the portal!!


   - a coplet contains a linklist to other local resources
   - clicking on one link loads the desired target within the same coplet


there are several ways of doing this:

If the coplet is supposed to remember the selected resource then:

Make the coplet a configurable coplet (like the news one in the current
portal). Each configurable coplet has a configuration pipeline in the
sitemap. In your case this would then display the links to other resources.
Once selected the coplet will then always display the resource. It can be
reconfigured by clicking on the configuration icon in the title bar.

One of the problems of using HTML to render the portal is the fact that the
complete display needs to be re-generated for changes in one coplet to
appear inside the portal (i.e. your clicking on one link loads the...).
But it is possible. The coplet pipeline would need to maintain state inside
the session (i.e. know when to show the URI and when to show the link-list).
You may also want to look at using an IFRAME inside the portal. We use this
to generate a constantly updating coplet showing stock quotes.

That's a few ideas off the top of my head.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=




-Original Message-
From: u15603 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 1:32 PM
To: [EMAIL PROTECTED]
Subject: changing content of a coplet/sunlet


Hello,

We are impressed by the cocoon-portal. And we want to use it for our needs.
We want to display different coplets in our portal. Is it possible to change
the content of one coplet without removing it.

Consider following scenario:

   - a coplet contains a linklist to other local resources
   - clicking on one link loads the desired target within the same coplet

Thanks in advance.
dirk




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Cocoon article on xml.com

2002-07-11 Thread Matthew Langham

Getting started with Cocoon:

http://www.xml.com/pub/a/2002/07/10/cocoon2.html

State-of-the-art: Cocoon 2 is leading-edge. Technology-wise your project
will be very well suited for moving forward in the 21st century, instead of
rooted in older paradigms



Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Giving up! Cocoon too big, slow and confusing

2002-06-28 Thread Matthew Langham

This is a VERY interesting thread because it shows that Cocoon has left the
developer-guru level and is now expanding into areas where normal
users/developers are trying to grasp exactly what Cocoon is and what it can
do for you.

So we need to take the criticsm seriously - even though those that have been
around Cocoon for longer may not understand why the person is having those
problems. Just as a native English speaker may not understand why others
find it hard to learn the language.

I will comment on a couple of points in new threads.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Giving up! Cocoon too big, slow and confusing

2002-06-28 Thread Matthew Langham

A few comments on various raised points:

 3) Serious problems (hours lost) upgrading from 2.0 to 2.0.2 - looking
 at the change logs for potential hints at what was necessary was a
 non-starter.

Changes between releases must be documented so that the migration is a
painless as _possible_. But if 2.0 provides what is needed then perhaps
upgrading is not always the best idea. We don't upgrade all our production
installations of Cocoon each time there is a new release. We have Cocoon
based sites that are happily running a pre-2.0 version of Cocoon.

 this will be since there have been significant changes (forms and
 authentication system to just name a few at the feature level) since
 those books have gone to publishing.


Unfortunately this is _always_ the case. We finished our book in March (!)
and the printing process is such that it just takes that long before the
book hits the shelves. There is nothing we (as the authors) can do about it
(apart from preventing new Cocoon releases :-)). On the other hand we
decided to include a CD containing a defined version of Cocoon so that the
details in the book match the software. The concepts have not changed
between 2.0 and 2.0.x - but things have been added.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Giving up! Cocoon too big, slow and confusing

2002-06-28 Thread Matthew Langham


 We give help. *Not* complete solutions. We are not paid for it, it's
 all free help.

Yes.  If you want commecial support for Cocoon, get commecial support
for cocoon.


We provide commercial support for Cocoon - and guess what happens when
people contact us:

Them: We are interested in support for Cocoon
Us: We can provide that at xxx ?/$
Them: You mean I will have to pay? But Cocoon is open source!
Them: click.

I am not saying this is always the case - but it is quite common.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: Cocoon article on JDJ

2002-06-10 Thread Matthew Langham

Ivelin wrote:


Those new couple books coming out this year will certainly help with 1).
Are there folks that can help publishing more articles in the computer
magazines?


Carsten and I have written 2 articles on Cocoon for German IT magazines this
year. We have another one planned for xml.com in July.

Something we have noticed is the lack of Cocoon presentations at
conferences. We have submitted 3 for the coming ApacheCon but we have
noticed that we seem to be the only people submitting anything. Is this the
case?

And there is only 1 presentation on Cocoon at the O'Reilly OSCC in July -
which is way tooo few!

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=


-Original Message-
From: Ivelin Ivanov [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 5:45 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Cocoon article on JDJ



Good article. Inspiring for the new comers.


It's sad to read though that:

1) Cocoon may not catch up with big enough user base, so there is a risk of
using it.
2) Cocoon is not applicable for large scale applications.

Those new couple books coming out this year will certainly help with 1).
Are there folks that can help publishing more articles in the computer
magazines?


With the new contribution for Expires response header and caching
improvements, 2) shouldn't be a big deal any more.
BTW, is Expires checked in already?


Ivelin




- Original Message -
From: Sylvain Wallez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, June 06, 2002 11:29 AM
Subject: Cocoon article on JDJ


 There's a interesting article introducing Cocoon on the Java Developer's
 Journal at http://www.sys-con.com/java/articleprint.cfm?id=1480

 Notice how the author states in the intro that Cocoon doesn't have the
 visibility it deserves :
  
 Apache Cocoon is one of the most interesting, innovative, and powerful
 platforms for dynamic content generation, though not as well known as
 the others. A subproject of the Apache XML project, Cocoon is one of the
 lesser-known offerings from the folks at the all-open-source Apache
 Software Foundation, having garnered less attention than some of its
 more popular cousins like Struts. But Cocoon is worth a look.
 

 This once again clearly shows that Cocoon needs marketing !

 Sylvain

 PS : thanks to Matthew and Guido for the link.

 --
 Sylvain Wallez
   Anyware Technologies  Apache Cocoon
   http://www.anyware-tech.com   mailto:[EMAIL PROTECTED]



 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




PCL5e to XML?

2002-06-05 Thread Matthew Langham

Hi,

does anyone know of/have software that will read and convert PCL5e files
into an XML format? And even better if it can be plugged in to Cocoon (of
course).

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




OReilly Open Source Convention - anyone?

2002-06-04 Thread Matthew Langham

If you are going to be at the O'Reilly OSCC in July and interested in having
a chat about Cocoon, the Cocoon Portal or anything related then send me an
email. Also - if you are in or around San Diego and interested in discussing
Cocoon related stuff then the same applies. And PLEASE: If you plan on
attending my presentation (Building XML Portals with Cocoon) and are going
to (we)blog it while you are there then please contact me!

Hope to see at least someone from the Cocoon crowd there :-).

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Real dumb question - how to concatenate XML files

2002-05-28 Thread Matthew Langham

Why didn't cinclude work for you? It allows you to aggregate the 3 different
XML files into one and then you can apply the stylesheet.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=




-Original Message-
From: Hahn Kurt (CHA) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 8:38 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Real dumb question - how to concatenate XML files


I don't know about cInclude, but maybe aggregation would meet your needs.
Did you have a look at it?
K

-Message d'origine-
De : daniel robinson [mailto:[EMAIL PROTECTED]]
Envoyé : mardi, 28. mai 2002 07:37
À : [EMAIL PROTECTED]
Objet : Real dumb question - how to concatenate XML files



Ok.  This is a dumb one, for many reasons - but I've been trying to
figure it out for hours and have been all over the mail archives to try
and figure it out.

Say I have 3 XML files and I want to use them with an XSLT to respond to

a request.  What is the best way to do this?  I checked out the FAQ but
had no idea WHAT WAS SUPPOSED TO BE INSIDE THE XML files being
concatenated.  An example would be VERY USEFUL.  I tried using cinclude
but that didn't help.

Sorry for being such a noob.






-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Real dumb question - how to concatenate XML files

2002-05-28 Thread Matthew Langham

Everything you need is here:

http://xml.apache.org/cocoon/userdocs/transformers/cinclude-transformer.html

If you still can't get your example to work then please post more specific
information on exactly what you are doing.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=




-Original Message-
From: daniel robinson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 10:08 AM
To: [EMAIL PROTECTED]
Subject: Re: Real dumb question - how to concatenate XML files


Is there a working example somewhere - I don't know why it didn't work,  I
used
it per the an example I found with an XML file and and XSL file and that
worked,   when I tried to modify it to pull together the other XML file it
didn't work.

Matthew Langham wrote:

 Why didn't cinclude work for you? It allows you to aggregate the 3
different
 XML files into one and then you can apply the stylesheet.

 Matthew

 --
 Open Source Group   Cocoon { Consulting, Training, Projects }
 =
 Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
 Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
 -
 Cocoon book:
   http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
 =

 -Original Message-
 From: Hahn Kurt (CHA) [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 28, 2002 8:38 AM
 To: '[EMAIL PROTECTED]'
 Subject: RE: Real dumb question - how to concatenate XML files

 I don't know about cInclude, but maybe aggregation would meet your needs.
 Did you have a look at it?
 K

 -Message d'origine-
 De : daniel robinson [mailto:[EMAIL PROTECTED]]
 Envoyé : mardi, 28. mai 2002 07:37
 À : [EMAIL PROTECTED]
 Objet : Real dumb question - how to concatenate XML files

 Ok.  This is a dumb one, for many reasons - but I've been trying to
 figure it out for hours and have been all over the mail archives to try
 and figure it out.

 Say I have 3 XML files and I want to use them with an XSLT to respond to

 a request.  What is the best way to do this?  I checked out the FAQ but
 had no idea WHAT WAS SUPPOSED TO BE INSIDE THE XML files being
 concatenated.  An example would be VERY USEFUL.  I tried using cinclude
 but that didn't help.

 Sorry for being such a noob.

 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Interaction anyone?

2002-05-28 Thread Matthew Langham

Anyone know anything about this product for MacOSX? I have just posted a
link to an article on my weblog (http://radio.weblogs.com/0103021/). How
does it compare to Cocoon?

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Cocoon book reviewers wanted

2002-05-22 Thread Matthew Langham

Hi,

together with our publisher (www.newriders.com), we are looking for people
interested in reviewing chapters from our book. Hopefully you will have
something positive to say and then your quote may be used in the book or to
promote it.

If you would be interested then please send me an email. Please note that we
will only be able to suggest (!!) reviewers - our publisher will choose. And
probably only a few of those in the end.

Thanks

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Cocoon book reviewers wanted

2002-05-22 Thread Matthew Langham

Hi Paul


By the way, Amazon states the book will be published on July 19. Is that
accurate?

Yes.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-Original Message-
From: Paul Chisholm [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 12:54 AM
To: [EMAIL PROTECTED]
Subject: Re: Cocoon book reviewers wanted


Hi Matthew,

I'm new to Cocoon but have many years software engineering experience. I
assume your book is of an introductory nature and, if so, I would be keen to
review some chapters.

By the way, Amazon states the book will be published on July 19. Is that
accurate?

Paul

- Original Message -
From: Matthew Langham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 4:35 PM
Subject: Cocoon book reviewers wanted


 Hi,

 together with our publisher (www.newriders.com), we are looking for people
 interested in reviewing chapters from our book. Hopefully you will have
 something positive to say and then your quote may be used in the book or
to
 promote it.

 If you would be interested then please send me an email. Please note that
we
 will only be able to suggest (!!) reviewers - our publisher will choose.
And
 probably only a few of those in the end.

 Thanks

 Matthew

 --
 Open Source Group   Cocoon { Consulting, Training, Projects }
 =
 Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
 Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
 -
 Cocoon book:
   http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
 =



 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Cocoon book reviewers wanted

2002-05-22 Thread Matthew Langham

I was going to refrain from commenting...

Anyone who believes (or thinks) that an open source project can survive
without commercial support is far removed from the real world. The number
of people working on open source project just for the fun or to scratch
that itch is IMO very small. In fact it is my opinion that any open source
project - without some form of integrated (!) commercial backing will fail
in the end.

Before we (as a company) decided to get involved with Cocoon and the open
source arena we had a discussion with Stefano on exactly this subject. His
opinion (and this is something I think is sooo true) is that using open
source software commercially - without giving back will eventually lead to
you (as a company - or person) being shouted down in the community.

Now there are various ways to give back to a project - as we discussed with
Stefano:

* Contributing Patches and Bug Fixes
* Donating components that were previously part of a product
* Actively working on the project
* Taking over a role in the project
* Testing the software and publishing your findings
* Writing documentation
* Writing articles to get the project noticed
* Presenting at conferences to get the project noticed
* Writing books to help anyone who wants to use the software

And probably many more

Well - guess what - we as a company (and Carsten and myself in particular)
have done all that in the past 2 years. And we still do. Every day.

And (thankfully) we are not alone. There are many great (commercially
orientated) people out there who are helping to move Cocoon forward. The
fact that the Apache licence allows this is one of the reasons Apache
projects are so successful and widely renowned.

The more commercial support Cocoon receives - whether in projects, books,
products based on Cocoon - the more successful it will become.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Cocoon book reviewers wanted

2002-05-22 Thread Matthew Langham


Thee hee :-)
Now do the same for Marco Spinetti on cocoon-dev :-P

Tom et al.,

I do think this thread has gone far enough - can we get back to Cocoon'ing
again? We are all part of the community - and that includes all the lurkers
out there - and we know you are :-)

Ok?

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=




-Original Message-
From: Tom Klaasen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 4:28 PM
To: [EMAIL PROTECTED]
Subject: Re: Cocoon book reviewers wanted


Bertrand Delacretaz wrote:

On Wednesday 22 May 2002 11:18, marco spinetti wrote (about Matthew
Langham)


. . .
Are you a member of people that created Cocoon?
. . .



Well, that's an easy one to answer if you do your homework. For example, a
quick search on the mailing list archives at http://marc.theaimsgroup.com
could tell you how much Matthew has been contributing to Cocoon (like
Donating Portal and Authentication Components to the Cocoon project ;-)



Thee hee :-)
Now do the same for Marco Spinetti on cocoon-dev :-P


tomK



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Heads-up: Back from Jax2002 and session slides

2002-05-17 Thread Matthew Langham


Great slide show.  I guess there will be 50 more Cocoon adepts by now (if
they don't use Cocoon already).

I forgot to add that 2/3 of the 50 there _are_ already using Cocoon.

Matthew


-Original Message-
From: Bert Van Kets [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 12:37 PM
To: [EMAIL PROTECTED]
Subject: Re: Heads-up: Back from Jax2002 and session slides


Great slide show.  I guess there will be 50 more Cocoon adepts by now (if
they don't use Cocoon already).
The sentence I like best of the slide show is You don‘t like it? – help us
make it better!
I guess this sums it all up!
I hope you get some business out of it.
Bert


At 12:01 17/05/2002 +0200, you wrote:
We're back from Jax2002 in Frankfurt. 900 people attended the largest
German
conference on Java, Apache and XML (and also Web services). More people
were
there than last year - which is promising.

There were 4 Cocoon related sessions.

There was a general Cocoon session by Thomas Bayer - and perhaps he can add
his comments if he reads this. Thomas works for a company called
Orientation
in Objects that does a lot of Cocoon related stuff (which was new to us as
we hadn't seen them on the list before). Perhaps we have missed their
postings. Thomas is also writing a German book on Cocoon - if our
information is correct :-).

Neal Ford (The DSW Group Ltd) held a session on targetting Wireless devices
with XSLT and Cocoon. Neil showed this using JBuilder and Cocoon 1. Hmmm.
:)

Carsten and I presented the Cocoon XML Portal (around 50 people) and Guido
presented on integrating XML databases into Cocoon (around 30 people).

If you atteded our sessions then we would be interested in feedback! We
have
uploaded the session slides for the Portal presentation - so check my
Weblog
(http://www.need-a-cake.com) for more information.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
   http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Heads-up: Back from Jax2002 and session slides

2002-05-17 Thread Matthew Langham

We're back from Jax2002 in Frankfurt. 900 people attended the largest German
conference on Java, Apache and XML (and also Web services). More people were
there than last year - which is promising.

There were 4 Cocoon related sessions.

There was a general Cocoon session by Thomas Bayer - and perhaps he can add
his comments if he reads this. Thomas works for a company called Orientation
in Objects that does a lot of Cocoon related stuff (which was new to us as
we hadn't seen them on the list before). Perhaps we have missed their
postings. Thomas is also writing a German book on Cocoon - if our
information is correct :-).

Neal Ford (The DSW Group Ltd) held a session on targetting Wireless devices
with XSLT and Cocoon. Neil showed this using JBuilder and Cocoon 1. Hmmm. :)

Carsten and I presented the Cocoon XML Portal (around 50 people) and Guido
presented on integrating XML databases into Cocoon (around 30 people).

If you atteded our sessions then we would be interested in feedback! We have
uploaded the session slides for the Portal presentation - so check my Weblog
(http://www.need-a-cake.com) for more information.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Heads-Up: Jax2002 in Frankfurt, Germany

2002-05-10 Thread Matthew Langham

Hi,

Carsten and I will be at Jax2002 in Frankfurt next week and hope to meet
some of you there for some Cocoon related chat and perhaps a few beers in
the evening.

Hope to see you there.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Heads-Up: Jax2002 in Frankfurt, Germany

2002-05-10 Thread Matthew Langham

Teaser warning


Carsten and I will be at Jax2002 in Frankfurt next week and hope to meet
some of you there for some Cocoon related chat and perhaps a few beers in
the evening.

And when we are back we will have more information on this:
http://radio.weblogs.com/0103021/2002/05/10.html#a180

/Teaser warning

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=




-Original Message-
From: Matthew Langham [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 9:05 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Heads-Up: Jax2002 in Frankfurt, Germany


Hi,

Carsten and I will be at Jax2002 in Frankfurt next week and hope to meet
some of you there for some Cocoon related chat and perhaps a few beers in
the evening.

Hope to see you there.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Cocoon Portal - Tabbed layout and Radio integration

2002-05-03 Thread Matthew Langham

Those of you interested in the portal components may like to take a look
here: http://needacake.blogspot.com. The screenshot shows a preview of a
tabbed portal layout that we will be presenting at Jax2002 in Frankfurt in a
couple of weeks. In addition we will be showing how to build and integrate a
new coplet for Radio Weblogs in RSS format.

Unfortunately - Radio has been having some problems recently so I could not
post this (yet) to my Radio weblog. :-(. However we hope you find the new
layout an interesting idea (perhaps for your own portal).

Matthew  Carsten

--
Open Source Group   sunShine - Lighting up e:Business
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
   Weblogging at: http://www.need-a-cake.com
 Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Request to external XML server in pipeline

2002-05-02 Thread Matthew Langham

Hi Bryce,

here's one way of doing this:

pipeline
reguest generator
  stylesheet - builds cinclude statements with the params
  cinclude transformer
  stylesheet for output
/pipeline
So you use the cinclude transformer to fetch the external data. Check out
the cinclude documentation for more details.

Matthew

--
Open Source Group   sunShine - Lighting up e:Business
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
   Weblogging at: http://www.need-a-cake.com
 Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=



-Original Message-
From: Ewing, Bryce [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 02, 2002 11:27 AM
To: '[EMAIL PROTECTED]'
Subject: Request to external XML server in pipeline


Hi,

Just started working with Cocoon and I have a question in regards to reading
XML content from a XML server probably within a pipeline.  What I have at
present is a backend XML server that given a XML formatted packet does some
processing, including database access, legacy etc. then replies with an
answer XML packet.  This is totally outside of Cocoon.

What I have inside Cocoon at present is an html form that has the request
parameters that would make up the inwards XML packet.  I have a pipeline
that has a request generator, then a xslt transformation to get the XML into
the required format.  What I would like to do is post this packet to the XML
server, with the reply packet being available to the pipeline, maybe a
transformer that changes the input XML to the output via the post.  Then
process this reply XML packet to create the next HTML page.

If anyone has any help on this, or can think of a better way this could be
performed your help would be greatly appreciated.

Cheers
Bryce

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: any sites optimised for handhelds

2002-04-30 Thread Matthew Langham

Does the iPAQ have a WAP (WML) browser? If so I may have something:

Our demo site:

http://sunshine.s-und-n.de

Go there, logon with guest/guest and look at the banking news at the
bottom of the portal.

Then enter the following URL into the WML browser:

http://sunshine.s-und-n.de/sunshine/sunbanksunlet-banking.wml

Same news, different media.

Hope this helps

Matthew

--
Open Source Group   sunShine - Lighting up e:Business
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
   Weblogging at: http://www.need-a-cake.com
 Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=



-Original Message-
From: caleb racey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 30, 2002 4:12 PM
To: [EMAIL PROTECTED]
Subject: any sites optimised for handhelds


Sorry if this is off topic

Are there any cocoon 2 based sites out there that have a section with
output optimised for small screens, handhelds  pda etc

My boss has just purchased a iPAQ and is browsing around..it would
make the process of selling cocoon easier if I could show off the 1
source of content seamlessly delivered to many platforms concept.

The ipaq uses a cut down version of IE and has a resolution of 240 x 320
With a viewable image 2.26 wide x 3.02 tall

Thank you in advance








-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: I cannae dae it (the woes of Weblogic 6.0sp2 and Cocoon) :(

2002-04-26 Thread Matthew Langham

Chris,

here are a few tips that may help:


1) you cannot deploy a cocoon.war file in WL6.0 SP2 (at least we were not
able to. You will need to unpack it first and then deploy in the directory
structure.

2) WebLogic chokes on JARs that contain ., -, _ etc. You may need to
change some names.

3) You will need to remove the Manifest.mf files from: xt, xalan, fop,
cocon, ant und antoptional

4) You will need to add the following line to cocoon.xconf:

xslt-processor
 parameter name=transformer-factory value
=org.apache.xalan.processor.TransformerFactoryImpl/


All this being said - this is how we got Cocoon to run on a Windows system
with Weblogic 2.0SP2.

By the way I would be interested in hearing what you are doing with Cocoon
at Vodafone by way of a mail.

Hope this helps

Matthew Langham
Technical Director Open Source Group

--
Open Source Group   sunShine - Lighting up e:Business
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
   Weblogging at: http://www.need-a-cake.com
 Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=








-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 12:55 PM
To: [EMAIL PROTECTED]
Subject: I cannae dae it (the woes of Weblogic 6.0sp2 and Cocoon) :(


Hi

I've been trying to get cocoon to deploy under Weblogic for some time now,
and it isn't working

The system is a Solaris machine, Java 1.3.1, Weblogic 6.0 sp2.

I have followed the instructions concisely from the cocoon site, and used
the
cocoon.war file that came with the binary distribution of Cocoon 2.0.2, but
if I try to get it running, I get the following message on startup:

BEGIN



Apr 26, 2002 12:48:25 PM CEST Error Management Error initializing
module cocoon of
 application vodafone:Name=Cocoon,Type=Application from path
./config/vodafone/applicatio
ns: weblogic.management.MBeanCreationException: cannot find referenced
module cocoon
Apr 26, 2002 12:48:25 PM CEST Error Management Error preparing
application compone
nt cocoon of application vodafone:Name=Cocoon,Type=Application:
java.io.FileNotFoundExcep
tion: ./config/vodafone/applications/cocoon (No such file or directory)
((localPath: java
.io.FileNotFoundException: ./config/vodafone/applications/cocoon (No such
file or directo
ry))
Apr 26, 2002 12:48:25 PM CEST Error J2EE Error deploying application
cocoon: error
 retrieving component [Caching Stub]Proxy for
vodafone:Name=cocoon,Location=eservices,Typ
e=WebAppComponentConfig,ApplicationConfig=Cocoon
Apr 26, 2002 12:48:32 PM CEST Error HTTP
[WebAppServletContext(661879,cocoon)] Error loadi
ng servlet: 'Cocoon2'
java.lang.NoSuchMethodError
at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.init
(DefaultCo
nfigurationBuilder.java:88)
at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.init
(DefaultCo
nfigurationBuilder.java:64)
at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:772)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:241)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:638)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va:581)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:526)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletC
ontext.jav
a:1078)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
Context.ja
va:1022)
at
weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:468)
at
weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:404)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.addComponent(Application.java:133)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
arget.java
:327)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
arget.java
:143)
at
weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:
76)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
.java:562)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5
48)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java
:285)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke

RE: I cannae dae it (the woes of Weblogic 6.0sp2 and Cocoon) :(

2002-04-26 Thread Matthew Langham

Vadim, Chris,

Yes you are correct Vadim, my mistake. We are using 6.1. Sorry. But perhaps
something in the list will help Chris.

Matthew
--
Open Source Group   sunShine - Lighting up e:Business
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
   Weblogging at: http://www.need-a-cake.com
 Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=



-Original Message-
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 2:56 PM
To: [EMAIL PROTECTED]
Subject: RE: I cannae dae it (the woes of Weblogic 6.0sp2 and Cocoon) :(


 From: Matthew Langham [mailto:[EMAIL PROTECTED]]

 Chris,

 here are a few tips that may help:

 
 1) you cannot deploy a cocoon.war file in WL6.0 SP2 (at least we were
not
 able to. You will need to unpack it first and then deploy in the
directory
 structure.

 2) WebLogic chokes on JARs that contain ., -, _ etc. You may
need to
 change some names.

If my memory serves me well this is true only for 6.1+ versions.


 3) You will need to remove the Manifest.mf files from: xt, xalan, fop,
 cocon, ant und antoptional

IIRC, this is for 6.1+.


 4) You will need to add the following line to cocoon.xconf:

 xslt-processor
  parameter name=transformer-factory value
 =org.apache.xalan.processor.TransformerFactoryImpl/
 

5) Turn off Xalan incremental processing because of unsafe cast of the
current thread in weblogic's code


 All this being said - this is how we got Cocoon to run on a Windows
system
 with Weblogic 2.0SP2.

After all this, I found that every generated SVG causes some exceptions.

Vadim


 By the way I would be interested in hearing what you are doing with
Cocoon
 at Vodafone by way of a mail.

 Hope this helps

 Matthew Langham
 Technical Director Open Source Group

 --
 Open Source Group   sunShine - Lighting up e:Business
 =
 Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
 Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
Weblogging at: http://www.need-a-cake.com
  Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
 =








 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, April 26, 2002 12:55 PM
 To: [EMAIL PROTECTED]
 Subject: I cannae dae it (the woes of Weblogic 6.0sp2 and Cocoon) :(


 Hi

 I've been trying to get cocoon to deploy under Weblogic for some time
now,
 and it isn't working

 The system is a Solaris machine, Java 1.3.1, Weblogic 6.0 sp2.

 I have followed the instructions concisely from the cocoon site, and
used
 the
 cocoon.war file that came with the binary distribution of Cocoon
2.0.2, but
 if I try to get it running, I get the following message on startup:

 BEGIN



 Apr 26, 2002 12:48:25 PM CEST Error Management Error
initializing
 module cocoon of
  application vodafone:Name=Cocoon,Type=Application from path
 ./config/vodafone/applicatio
 ns: weblogic.management.MBeanCreationException: cannot find referenced
 module cocoon
 Apr 26, 2002 12:48:25 PM CEST Error Management Error preparing
 application compone
 nt cocoon of application vodafone:Name=Cocoon,Type=Application:
 java.io.FileNotFoundExcep
 tion: ./config/vodafone/applications/cocoon (No such file or
directory)
 ((localPath: java
 .io.FileNotFoundException: ./config/vodafone/applications/cocoon (No
such
 file or directo
 ry))
 Apr 26, 2002 12:48:25 PM CEST Error J2EE Error deploying
application
 cocoon: error
  retrieving component [Caching Stub]Proxy for
 vodafone:Name=cocoon,Location=eservices,Typ
 e=WebAppComponentConfig,ApplicationConfig=Cocoon
 Apr 26, 2002 12:48:32 PM CEST Error HTTP
 [WebAppServletContext(661879,cocoon)] Error loadi
 ng servlet: 'Cocoon2'
 java.lang.NoSuchMethodError
 at

org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.i
nit
 (DefaultCo
 nfigurationBuilder.java:88)
 at

org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.i
nit
 (DefaultCo
 nfigurationBuilder.java:64)
 at

org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:77
2)
 at
 org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:241)
 at

weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.
java
 :638)
 at

weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImp
l.ja
 va:581)
 at

weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl
.jav
 a:526)
 at

weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServ
letC
 ontext.jav
 a:1078)
 at

weblogic.servlet.internal.WebAppServletContext.preloadServlets

Portal request

2002-04-25 Thread Matthew Langham

Hi,

Carsten and I will be speaking/presenting on the additional portal and
authentication components in Cocoon at a couple of conferences in the
upcoming months. If you are using the (used to be called) sunRise and
sunSpot components to build a portal then I would love to obtain some
additional screen-shots we can use in the presentation.

Please send me them to me directly ([EMAIL PROTECTED]).

Thanks!

Matthew Langham
--
Open Source Group   sunShine - Lighting up e:Business
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30š [EMAIL PROTECTED] - http://www.s-und-n.de
   Weblogging at: http://www.need-a-cake.com
 Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Portal request

2002-04-25 Thread Matthew Langham

Hi Dave,

quick off the cuff answer: You have probably not configured Tomcat 4
correctly and are using the wrong DOM implementation. Somebody else on the
list can probably point out what is wrong better than I can at the moment
(we still use Tomcat 3.3 :-)).

Let me know if this helps.

Matthew

--
Open Source Group   sunShine - Lighting up e:Business
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30š [EMAIL PROTECTED] - http://www.s-und-n.de
   Weblogging at: http://www.need-a-cake.com
 Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 4:54 PM
To: [EMAIL PROTECTED]
Subject: RE: Portal request


Matthew,

I was quite interested in sunSpot but have been unable to get past
authentication. I get the error below. Note that I am just now learning
Cocoon but I am specifically interested in developing corporate portals.

RH Linux 7.2
Tomcat 4.0.4b2
JDK 1.4.0
Cocoon 2.1-dev

java.lang.NullPointerException
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XMLUtil.java:
870)
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XMLUtil.java:
871)
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XMLUtil.java:
871)
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodeListFromPath(XMLUtil.ja
va:836)
at
org.apache.cocoon.webapps.session.context.SimpleSessionContext.getXML(Simple
SessionContext.java:173)
at
org.apache.cocoon.webapps.authentication.components.AuthenticationManager.is
Authenticated(AuthenticationManager.java:690)
at
org.apache.cocoon.webapps.authentication.components.AuthenticationManager.ch
eckAuthentication(AuthenticationManager.java:765)
at
org.apache.cocoon.webapps.authentication.acting.AuthAction.act(AuthAction.ja
va:122)
at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTyp
eNode.java:127)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:159)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:140)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:144)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:323)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:293)
at org.apache.cocoon.Cocoon.process(Cocoon.java:584)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1007)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170

RE: Cocoon 2 powered training site

2002-04-17 Thread Matthew Langham

Hi,


I'd also like to announce the first (to my knowledge) publicly-available
Cocoon training classes. We are giving two classes this summer: Cocoon
Fundamentals and Advanced Cocoon. If you are interested, check out
http://www.galatea.com/training/courses.


this is great news and hopefully we will see more offers like this appear in
different parts of the world.

We are currently planning something similar here in Europe - based in part
on our book - for late Summer.

Although we are still finalizing the details - please feel free to contact
the following email-address: [EMAIL PROTECTED] for more information as we
move forward.

I also think it is time we set up somewhere to actually advertise this sort
of stuff instead of just using the mailing-list :-).

Best regards

Matthew

--
Open Source Group   sunShine - Lighting up e:Business
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
   Weblogging at: http://www.need-a-cake.com
 Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=



-Original Message-
From: Lajos Moczar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 6:07 PM
To: [EMAIL PROTECTED]
Subject: Cocoon 2 powered training site


Hi all -

I'd like to add my site, galatea.com, to the list of sites powered by
Cocoon 2.

I'd also like to announce the first (to my knowledge) publicly-available
Cocoon training classes. We are giving two classes this summer: Cocoon
Fundamentals and Advanced Cocoon. If you are interested, check out
http://www.galatea.com/training/courses.


Regards,

Lajos Moczar
galatea.com
800.711.4901



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: documentation for managers, was HP-SOAP Server announcement

2002-04-13 Thread Matthew Langham

Peter Robins wrote:

snip/


meaning that Cocoon can only be implemented by specialist consultants
working
in an ad hoc manner? That doesn't sound like a very large install base to
me.


I would say Applications built on Cocoon are currently being implemented by
...

At the moment - and due to the nature of the current Cocoon release - this
is the case (unless anyone corrects me). You see Cocoon is a framework - so
after installing it you really do not have anything. You still need to
build whatever application you require. And Cocoon provides a great deal
that will help you do that.

What is currently missing is addtional documentation and practices that make
the application building part easier (when do I use which component or
concept to do what). But again, that can depend on your specific scenario.

So, as Andrew wrote, I think the learning curve is quite steep - but there
_are_ people out there who can help flatten the curve - and the journey up
the hill is worth making. And things will start to become easier as the
technology is adopted, documentation is written and applications are built.

Matthew

--
Open Source Group   sunShine - Lighting up e:Business
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
   Weblogging at: http://www.need-a-cake.com
 Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: documentation for managers, was HP-SOAP Server announcement

2002-04-12 Thread Matthew Langham

Brent Eades wrote:


approval processes in their respective organizations before they
could consider using Java/Cocoon in production. This is something
that Jakarta overall could probably spend a little more time
educating users about.


Well, we have been selling Cocoon based solutions to our customers for
over a year now - and when we started out the hardest discussions we had
where on the use of an open source solution. Many major German organisations
already have Java and application servers set up, so that part was easy.
As a vendor of the solution (be it a project or a product) you have to be
able to provide the support the organisation will need.

At the end of the day if some bug in Cocoon causes the production
environment to grind to a halt - then it will by YOUR problem - even if you
had nothing to do with say the caching system in Cocoon. You also need to be
able to provide additional documentation and educate the organisation in
using and running the solution. These are some of the reasons we set up a
dedicated open source group here at SN. Open source doesn't just land on
your desk - you need to be able to integrate the open source into your own
development environment, project lifecycle, quality assurance testing etc.
And - in my opinion - you need to be able to participate.


 What I'm looking for (and don't find in
 the documentation) is answers to basic management questions like 'what
 advantages does Cocoon provide, i.e. what business objectives does it
 help meet and how?' 'how easy is it to implement?' 'what resources
 (time, skills level of staff) does it require to (a) get up and
 running (b) maintain?' plus standard operational questions like
 performance and security.

The documentation available so far has been written (mainly) by developers
to help other developers understand what is available in Cocoon. This is
part of the bootstrap process that is necessary (to build the community).
The next wave of documentation took place in the last couple of months
where we have seen articles on Cocoon appear on Web sites and in magazines
etc. This is raising public awareness for Cocoon. The next step is the
availability of documentation in the form of books. These books will not
just stick to documenting Cocoon APIs but will also answer some of the
issues raised above.

But you know, questions like: what business objectives does it help meet
and how are really difficult to answer in a way that would suit all
scenarios. This isn't Word where you install from a CD and you know from the
start what it can - and cannot do (ok, so maybe you find that out later).

We are using Cocoon in a great variety of different projects, to do
completely different things (portal, web site, xml workflow system,
application service providing, controlling self service devices, aggregating
financial information, web printing). Imagine trying to combine all the
different requirements etc. into one easy to read document.

That being said, I also think we need some form of Applied Cocoon -
whether that be additional documentation such as best practices, tutorials.
But it could also be tools, education, get-togethers, workshops,...


I do get the feeling that Cocoon is pretty near ready for primetime
by now, however. Time to make the business case, as you say.


Agreed. But I feel this will be something that is done on a per case
basis. Tell me your problem and I will tell you how Cocoon (+ any additions)
can solve it (assuming it can). Oversimplified - probably - but it's Friday
:-).

Matthew

--
Open Source Group   sunShine - Lighting up e:Business
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
   Weblogging at: http://www.need-a-cake.com
 Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Portal question

2002-04-11 Thread Matthew Langham

Hi Paul,

well we wrote the portal components currently in Cocoon, so I guess I can
comment on them :-).

We originally (1 1/2 years ago) looked at JetSpeed (back then) but decided
we didn't want a solution that was an add-on to Cocoon. We wanted to
integrate a solution into Cocoon and do this with components that adhere to
the Cocoon architecture. And the portal is completely XML / XSL / Cocoon
pipeline based.

You can find a first overview of the portal here:
http://www.need-a-cake.com/stories/2002/02/14/cocoonPortalFirstLook.html

You might also like to look here:

http://www.sparkasse-gelsenkirchen.de

This is a live financial portal (in German) using the components. Login with
guest / guest.

Perhaps you can post some specific questions on what you want to do and then
I can comment on whether this is currently possible with the solution. How
does that sound?

plug
Depending on where you are in the world :-). You might also consider going
to one of these - where we will be presenting the portal:

http://www.jax2002.de
http://conferences.oreillynet.com/os2002/
/plug


Best regards

Matthew Langham

--
Open Source Group   sunShine - Lighting up e:Business
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
   Weblogging at: http://www.need-a-cake.com
 Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=




-Original Message-
From: Paul Pattison [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 6:53 AM
To: Cocoon Mailing List
Subject: Portal question


I'm looking to develop a xml portal web application.  So far I'm loving
Cocoon.  Now I'm just trying to figure out how to tackle the portal side of
things...

I've read up a bit on sunSpot and JetSpeed.  It sounds like they're pretty
similar.  Could someone who's actually used them comment on the pros and
cons of each one?

Thanks,

Paul


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




  1   2   >