Link Livesites: Cocoon 2.1

2004-02-27 Thread l.mende
Hi all,

we`re using Cocoon 2.1 in our "Find a Roommate System"
it`s called WG-Gesucht.de.
Thank you, and keep the good work going!

http://www.wg-gesucht.de";>WG-Gesucht.de Roommate search System
(Germany)

Lysander Mende

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



[Util] Entitiy-Convertor

2004-02-27 Thread Stephan Coboos
Hello,

in our database exists text from our "old" system without entities. For 
example there is a & instead of &. Is in cocoon a util avaible which 
converts all &, ä, ö, a.s.o in their xml entity? A helper class?

Thank you.

Regards

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


Corrupt fragments in large pipeline output

2004-02-27 Thread Corin Moss
Title: Corrupt fragments in large pipeline output






Hi Guys,


I've got some fairly large documents being serialized into various transformers (XSLT, Xinclude and Cinclude.)  Every now and then I notice that the stored output is corrupt.  Certain elements are in the wrong order etc (I'm using RDF, so for an example I've noticed Description elements out of synch with li elements.)   This is happening before I ever get to apply any XSLT.  I figure that this could come from the XSPs I'm using (some of which have been converted to generators) or from the X or C include transformations or perhaps a corruption in the store itself (all output is cached very heavily.)

I've been playing with the output buffer settings on the various pipeline types I'm using, and I *think* that this is helping.  I suspect that this is going to require a certain amount of contextual configuration - ie:  one request will be heavier than another, and thus may require a different buffer size.

My documents are often around the 1 meg mark, so, my question is: does anyone have tips for an appropriate buffer size?  I notice *very* odd results if I set the buffer too low: errors show up in included sections of the output etc.  If I set the buffer too high, I obviously lose the benefits.

At the moment my buffer size is around 150kb.  


What would you suggest as a reasonable number for a 1meg XML document?


Thanks,


Corin


Corin Moss

Lead Developer

TVNZ Interactive


+64 9 916 7367

+64 21 403 054

[EMAIL PROTECTED]





CAUTION: This e-mail and any attachment(s) contains information
that is intended to be read only by the named recipient(s). It
may contain information that is confidential, proprietary or the
subject of legal privilege. This information is not to be used by
any other person and/or organisation. If you are not the intended
recipient, please advise us immediately and delete this e-mail
from your system. Do not use any information contained in it.


For more information on the Television New Zealand Group, visit
us online at http://www.tvnz.co.nz



CInclude source attribute in result

2004-02-27 Thread Alan

I am using the CInclude transformer. I would like to have the src
URL of the include available in the transformer output.



Would create something like:

http://engrm.com/schema/2004/02/todo";
   xmlns:ci="http://apache.org/cocoon/include/1.0"/>

Is it in there? Is it possible?

-- 
Alan / [EMAIL PROTECTED] / http://engrm.com/
aim/yim: alanengrm - icq: 228631855 - msn: [EMAIL PROTECTED]

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



Re: How to use forms with coplets in the Portal Engine

2004-02-27 Thread Alex Romayev
Hi Nick,

Take a look at this:

http://wiki.cocoondev.org/Wiki.jsp?page=WoodyCopletForPortalEngine

-Alex

--- Nick Duncan <[EMAIL PROTECTED]> wrote:
> Using Cocoon 2.1.4.  New Portal Engine.  All I
> am trying to do is use a form within a coplet, and
> then change the content within the coplet once an
> action is submitted.  I don't know what action to
> specifiy within the form.  If I specify the same
> matcher within the coplet's sitemap that I used to
> generate the form (which is what I want to do, and
> use a selector to display the various output), the
> result is displayed but it fills the entire screen
> and I lose the tabs.  If i just try to specify an
> action name without any preceeding path information
> (coplets/), nothing happens.  Could someone please
> explain to me how to access coplets from within a
> form?  I see the gallery example uses something like
>  Thanks in advance.  
> -Nick
> 


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



How to use forms with coplets in the Portal Engine

2004-02-27 Thread Nick Duncan



    Using Cocoon 2.1.4.  New 
Portal Engine.  All I am trying to do is use a form within a coplet, and 
then change the content within the coplet once an action is submitted.  I 
don't know what action to specifiy within the form.  If I specify the same 
matcher within the coplet's sitemap that I used to generate the form (which is 
what I want to do, and use a selector to display the various output), the result 
is displayed but it fills the entire screen and I lose the tabs.  If i just 
try to specify an action name without any preceeding path information 
(coplets/), nothing happens.  Could someone please explain to me how to 
access coplets from within a form?  I see the gallery example uses 
something like     
-Nick


Re: nested functions in flowscript?

2004-02-27 Thread Christopher Oliver
There is a workaround for this bug: use a function expression instead of 
declaration:

function outer() {

   var a = new Array();
   .
   .
   var inner = function(something) {
   a.push(something);
   }
   .
   .
   inner (whatever);
}
Mark Lundquist wrote:

Hi,

I have something like this:

function outer() {

var a = new Array();
.
.
function inner (something) {
a.push(something);
}
.
.
inner (whatever);
}
...and the interpreter barfs with "'a' is undefined."

I tried this:

function outer() {

var a = new Array();
.
.
.
function inner (foo, something) {
foo.push (something);
}
.
.
inner (a, whatever);
}
...and that worked fine!

WTD, is this a scope chain bug in Rhino or something?  AFAIK this is 
legit Javascript... am I wrong about that?

Thanks,
Mark
-
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: nested functions in flowscript?

2004-02-27 Thread Christopher Oliver
You're correct, that's a bug in the Rhino-with-continuations 
interpreter. I'll look into it when I have some time.

Regards,

Chris

Mark Lundquist wrote:

Hi,

I have something like this:

function outer() {

var a = new Array();
.
.
function inner (something) {
a.push(something);
}
.
.
inner (whatever);
}
...and the interpreter barfs with "'a' is undefined."

I tried this:

function outer() {

var a = new Array();
.
.
.
function inner (foo, something) {
foo.push (something);
}
.
.
inner (a, whatever);
}
...and that worked fine!

WTD, is this a scope chain bug in Rhino or something?  AFAIK this is 
legit Javascript... am I wrong about that?

Thanks,
Mark
-
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]


nested functions in flowscript?

2004-02-27 Thread Mark Lundquist
Hi,

I have something like this:

function outer() {

var a = new Array();
.
.
function inner (something) {
a.push(something);
}
.
.
inner (whatever);
}
...and the interpreter barfs with "'a' is undefined."

I tried this:

function outer() {

var a = new Array();
.
.
.
function inner (foo, something) {
foo.push (something);
}
.
.
inner (a, whatever);
}
...and that worked fine!

WTD, is this a scope chain bug in Rhino or something?  AFAIK this is 
legit Javascript... am I wrong about that?

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


Re: Cocoon 2.1.4 davmap: IE will not open as Web folder

2004-02-27 Thread Joe D. Williams
I will check it out and post any pertinent findings for other clueless
newbies.

- Original Message - 
From: "J.Pietschmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 27, 2004 12:34 PM
Subject: Re: Cocoon 2.1.4 davmap: IE will not open as Web folder


> Joe D. Williams wrote:
> > Alrighty. Got the davmap samples working. (Thanks, Joerg Heinicke, for
the
> > wiki page at
> > http://wiki.cocoondev.org/Wiki.jsp?page=cocoon2.1_on_tomcat4.1 )
> >
> > Now, when I try to access the davmap samples as Web folders, I get the
> > message window: "Internet Explorer could not open
> > http://localhost:8080/cocoon/samples/webdav/davmap/repo/ as a Web
folder.
> > Would you like to see its default view instead?"
> >
> > Anybody spare a clue?
>
> In the recent WebDaV discussion on XML-DEV this was mentioned
> as a bug in webfolders. Perhaps you can retrieve the details
> from the XML-DEV list archive, and there is surely a more
> comprehensible examination on the web elswhere.
>
> J.Pietschmann
>
> -
> 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: [jxTemplateGenerator] What am I doing wrong?

2004-02-27 Thread Christopher Oliver
You need 2.1.4 to get the varStatus feature.

If you can't upgrade then just keep your own counter:



   ...
   

Mark Lundquist wrote:

Hi,

Can somebody spot what's wrong with this?:


  
.
.
.

My problem is that '${loop.index}' is evaluating to the empty string.

I'm using Cocoon 2.1.3.

Thanks a lot,
Mark
-
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]


[jxTemplateGenerator] What am I doing wrong?

2004-02-27 Thread Mark Lundquist
Hi,

Can somebody spot what's wrong with this?:

	
		  
			.
			.
			.

My problem is that '${loop.index}' is evaluating to the empty string.

I'm using Cocoon 2.1.3.

Thanks a lot,
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Coplet configuration

2004-02-27 Thread Alex Romayev
Thanks Laurent, I've added this to Wiki Portal pages.

-Alex

--- Laurent Trillaud <[EMAIL PROTECTED]> wrote:
> Hi
> You can configure any number of renderer for a
> coplet.
> For exemple if you want a round windows border
> instead of the standard one
> in the cocoon.xconf add a new renderer
> 
class="org.apache.cocoon.portal.layout.renderer.impl.AspectRenderer"
> logger="portal" name="round-window">
>  
>   
> value="{global:skin}styles/round-window.xsl"/>
>   
>   
>
>   
>   
>
>   
>   
>   
>   
>   
>  
> 
> and add it in the coplet definition
> 
class="org.apache.cocoon.portal.layout.impl.CopletLayout"
> name="coplet">
>  
>   
>   
>   
>  
>  
> and swith the coplet renderer in your portal.xml
> with the famous
> layout-renderer-name="round-window"
> Laurent Trillaud
> 
> > -Message d'origine-
> > De : Alex Romayev [mailto:[EMAIL PROTECTED]
> > Envoyé : jeudi 26 février 2004 19:44
> > À : [EMAIL PROTECTED]
> > Objet : Re: Coplet configuration
> > 
> > I have the same questions regarding coplet
> > configuration unanswered.
> > 
> > As far as layout-renderer-name="nowindow", this
> means
> > that you're not going to be rendering the window
> > around your coplet, i.e. the box where you have
> your
> > coplet configuration buttons and title.
> > 
> > -Alex
> > 
> > --- Stefan Eichenhofer <[EMAIL PROTECTED]>
> > wrote:
> > > Hi everyone,
> > >
> > > i'm trying to configure the status of coplets,
> like
> > > minimized, maximized ,
> > > visible
> > > There used to be a  tag in the
> portal-fw,
> > > but that doesn't seem to
> > > be working any more. In the wiki is a example
> using
> > > the  tag, same
> > > effect.
> > > Could someone point me in the right direction?
> > >
> > > The next step will be to enable users to edit
> and
> > > save the portal
> > > configuration. Any hints regarding that would be
> > > greatly aprectiated.
> > >
> > > thnx
> > >
> > > Stefan
> > >
> > > btw, does anyone know what
> "layout-renderer-name"
> > > does in this context?
> > >   > layout-renderer-name="nowindow">
> > 
> > 
> >
>
-
> > 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: Mount and session propagation problem.

2004-02-27 Thread Oscar Picasso
Problem solved

The problem described previously only happens when the client browser has its
cookies diabled and when consequently the urls are encoded.

Here is my understanding:

- when using mount B/**, cocoon treats B like a "pseudo directory B/" that is
not supposed to have any attached SESSIONID info or query string.

- so if in A I have a link like
/B;jsessionid=D5D7D8F2B9F68E514403CA0965583E43?locale=it, on mounting B, cocoon
discard the ";jsessionid=D5D7D8F2B9F68E514403CA0965583E43?locale=it" part of
the URL.

- if I link deeper to B from A, it works fine. Example:
/B/some-document;jsessionid=D5D7D8F2B9F68E514403CA0965583E43?locale=it. In this
case the session id and the request parameters are rightly propagated.

Oscar

--- Oscar Picasso <[EMAIL PROTECTED]> wrote:
> Let say I have to independent subsitemaps A and B.
> 
> When I follow a link from A to B (or B to A) the session is lost.
> 
> Is this behaviour expected?
> 
> And what would be the way to propagate the session between two independent
> subsitmaps?
> 
> Oscar
> 
> __
> Do you Yahoo!?
> Get better spam protection with Yahoo! Mail.
> http://antispam.yahoo.com/tools
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

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



Re: generate XML with its CSS

2004-02-27 Thread J.Pietschmann
Philippe Bajoit wrote:
I would like to generate this kind of output: XML with CSS, ie the
...




 ...
Does it exist another way to do that?
It is not an serializer option. The stylesheet link is a standard
XML processing instruction. If you generate the XML with XSLT, try
something like
  

  href='rss-colored.css' title='Default' 
  alternate='no' type='text/css'


  ...
See
 http://www.w3.org/TR/xslt#section-Creating-Processing-Instructions
J.Pietschmann

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


Coplets in cocoon

2004-02-27 Thread Anna Bikkina
Hi,

I am trying to create a portal app using cocoon.

I have 2 coplets in my page which contains text fields and submit buttons. 
When I submit one coplet both of them are being executed. Is it normal? Is 
there a way we can avoid this. I want the submitted coplet only to be 
refreshed with the output.

Also some of the names of my text fields are same in both the coplets.(like 
startdate and enddate).When I fill in one coplet the other one is also being 
filled with these values.How can I avoid this.

Any help is greatly appreciated.

Thanks,
Anna.


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



Re: Cocoon 2.1.4 davmap: IE will not open as Web folder

2004-02-27 Thread J.Pietschmann
Joe D. Williams wrote:
Alrighty. Got the davmap samples working. (Thanks, Joerg Heinicke, for the
wiki page at
http://wiki.cocoondev.org/Wiki.jsp?page=cocoon2.1_on_tomcat4.1 )
Now, when I try to access the davmap samples as Web folders, I get the
message window: "Internet Explorer could not open
http://localhost:8080/cocoon/samples/webdav/davmap/repo/ as a Web folder.
Would you like to see its default view instead?"
Anybody spare a clue?
In the recent WebDaV discussion on XML-DEV this was mentioned
as a bug in webfolders. Perhaps you can retrieve the details
from the XML-DEV list archive, and there is surely a more
comprehensible examination on the web elswhere.
J.Pietschmann

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


RE: Authentication Framework with Database

2004-02-27 Thread Tuan Luu
I wrote a separate pipeline, to test the authentication mechanism. I took
the authentication fw from the samples directory in cocoon 2.1.2

I have managed to write the form, retrieve the parameters in an xsp File,
with esql  query the db and 
it gives me the correct this result: 
 
 
user 


But when i use the esql.xsp file and the authentication.xsl in the
authentication framework, it doesn't work.
I can't imagine why.  
In the authenticate.xsl File I have deleted the xsl:if, because when the
user can't be found, it would give an no records found message, so the xsl:if is
obsolete. 

Here is the sitemap entry : 















Here are the Files, I'm using so far: 
esql.xsp File: 

http://apache.org/xsp";
xmlns:esql="http://apache.org/cocoon/SQL/v2";
xmlns:xsp-request="http://apache.org/xsp/request/2.0";
>



   String lang = parameters.getParameter("lang", null);


kt01


select * from benutzer 
where username=''
and password=''










   







authenticate.xsl file: 

http://www.w3.org/1999/XSL/Transform";>


  

  













I really don't know what else I now can do, to solve this problem. 
Thanks for your kind help


-- 
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++


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



Mount and session propagation problem.

2004-02-27 Thread Oscar Picasso
Let say I have to independent subsitemaps A and B.

When I follow a link from A to B (or B to A) the session is lost.

Is this behaviour expected?

And what would be the way to propagate the session between two independent
subsitmaps?

Oscar

__
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

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



Re: getting username from session after authentication

2004-02-27 Thread Zamek
Hi All,
On Friday 27 February 2004 14.45, Laurent Trillaud wrote:
> Declare this match in you sitemap
> 
> 
> 
>
> 
> 
> 
> 
> 
> with the following session-account.xml
> 
> http://apache.org/cocoon/session/1.0";>
>   
> 
> You should see something like
> 
>  
>   MyLoginName
>   ... and so on depends of your authenticate.xsl
>   ... the tag ID depends also of your authenticate.xsl
>  
> 
Yes I see this:

  

  guest
  cocoon.authentication
  html

  
  

  MyLoginName
  ... and so on depends of your authenticate.xsl
  ... the tag ID depends also of your authenticate.xsl

  


It means there is original authenticating context merged your xml.

> Assuming that the login is store in the ID tag. To access it use the
> following pipeline
> 
>  
>  
> 
>  
> 

Sorry username is empty :-(

-- 
thx,
Zoltan Zidarics programmer
PTE University Pecs, Hungary
icq: 43288694


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



RE: .

2004-02-27 Thread gounis
ohh an other one greek here ...


kalos tin tin patrida !!!

--stavros


On Fri, 27 Feb 2004, Konstantinidis, Greg wrote:

> Yes, we are also using cocoon.
> We're based in Sydney.
> 
> 
> -Original Message-
> From: Richard Huegill [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 26 February 2004 16:24
> To: [EMAIL PROTECTED]
> Subject: .
> 
> 
> Hi, 
>  
> We're using cocoon at the moment, and we're feeling a little isolated.
>  
> Is there anyone in Australia who's also using it ?
>  
> it might be nice to be able to bounce ideas and discuss issues with omeone
> who is local.
>  
> Thanks.
>  
> Richard
> 
> 


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



RE: Authentication Framework with Database

2004-02-27 Thread Tuan Luu
Hi Kieran
I have also tried that thing whith xsp. But I'm unable use the input from my
form. 

I've used esql in the xsp (normallly all other operations and connections
through esql is just working fine)


  select  username , password from benutzer 
  where username=''
  and password=''


How can I pass the parameters (username and password) to the sql query?
I would be very interested in your xsp File. 

I'm a beginner, so thanks for any help. 
Tuan 

> I'm using XSP to authenticate against my database.
> 
> Firstly make sure your DB authentication pipeline returns the same as the
>  XSL sample.
> I have 2 pipelines (authenticateXSL and authenticateDB) that return the s
> ame XML as follows
> 
>  
> 
>   user 
> 
> 
> As I have 2 authentication methods I can the decide which to use in the a
> uthentication manager
> 
> 
>   
>   
>   
>   
>   
>   
>   
>   
> 
> 
> 
>  >
> 
> 
> 
> 
> 
> 
>   
>   
>   
>   
> 
> 
> 
> 
> 
> _
> Kieran Kirwan
> Executive Transportation Planner
> Transportation Modelling Department
>  
> Dublin Transportation Office
> Hainault House,
> 69/71 St. Stephen's Green,
> Dublin 2,
> Ireland.
> Tel: +353 (0)1 4778113
> Fax: +353 (0) 1 478 5935
> website: www.dto.ie   
>  
> 
> 
> 
> -Original Message-
> From: Tuan Luu [mailto:[EMAIL PROTECTED]
> Sent: 27 February 2004 07:20
> To: [EMAIL PROTECTED]
> Subject: Authentication Framework with Database
> 
> 
> 
> Hello
> In the example setion  of cocoon I saw an example of an authentication
> framework. They did compare the user input against an xml file (userlist.
> xml). 
> 
> How can I do authentication with a database, extend the authentication
> framework to a database?
> 
> Here is what I tried to do, but it doesn't work: 
> 
> I have installed Tomcat 4.1.29, cocoon 2.1.2, database connections  to
> oracle and postgresql is working
> connection with mod_jk is also fine.
> 
> sitemap.xmap (i have extended the example with my crap)
> 
> 
> 
> 
>  />
>  src="auth/stylesheets/userwork.xsl">
>  name="use-request-parameters" value="true"/>
> 
> 
>  value="kt01"/>
> 
>  src="auth/stylesheets/userlist.xsl">
>  name="use-request-parameters" value="true"/>
> 
>  src="auth/stylesheets/authenticate.xsl">
>  name="use-request-parameters" value="true"/>
> 
> 
> 
> 
> 
> 
> Here are the used files (userlist.xml, userlist.xsl, userwork.xsl,
> authenticate.xsl) 
> 
> userlist.xml: 
> 
> 
> 
> 
> userwork.xsl: 
> 
>  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
> xmlns:sql="http://apache.org/cocoon/SQL/2.0";>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> http://apache.org/cocoon/SQL/2.
> 0">
> 
> select username, password from benutzer
> where username=normalize-space($username)
> and password=normalize-space($password)
> 
> 
> 
> 
> 
> userlist.xsl
> 
>  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
> xmlns:sql="http://apache.org/cocoon/SQL/2.0";>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> authenticate.xsl
> 
>  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
> 
> 
> 
> 
> 
>  
> 
>   
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Is there a more simple way to do it? or what is wrong?
> thanks for any reply 
> Tuan
> 
> -- 
> GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
> jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel 
> +++
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system m

Re: OpenOfficeGeneration

2004-02-27 Thread Philippe Guillard
Thanks all.

On Fri, 2004-02-27 at 21:44, Zamek wrote:
> Hello All,
> 
> I am new in Cocoon, but I have a working OO solving.
> 
> my sitemap.xmap snippet is:
> 
>   
>  
>
>
>
>  
> 
>  
>
>
>
> value="zip://[EMAIL PROTECTED]"/>
>
>  
>  
> 
>
> 
> my ooo2html.xsl is:
> 
> 
>  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> xmlns:fo="http://www.w3.org/1999/XSL/Format";
> xmlns:xlink="http://www.w3.org/1999/xlink";
> xmlns:svg="http://www.w3.org/2000/svg";
> xmlns:office="http://openoffice.org/2000/office";
> xmlns:style="http://openoffice.org/2000/style";
> xmlns:text="http://openoffice.org/2000/text";
> xmlns:table="http://openoffice.org/2000/table";
> xmlns:draw="http://openoffice.org/2000/drawing";>
> 
> 
> 
>  
>  
>  
>  
>  
> 
> 
> 
>   
>   
> 
> 
> 
>   
> 
>   
> 
> 
> 
> 
> 
> 
>   
>   
>   
>   
> 
> 
> 
> 
> 
> 
>  
>  
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   
>   
>   
>   
> 
> 
> 
> 
> 
> 
> 
>select="@xlink:href" />
>   
> select="@office:target-frame-name" />
>   
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   
>  
>   
> 
>   
>   
> 
> 
> 
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
>   
>  
>   
> 
>   
>   
> 
> 
> 
> 
>   
> 
> 
> 
> 
>   
>   
>   
>  
>   
> 
>   
>   
> 
> 
> 
> 
> 
>   
>  
>   
> 
>   
>   
> 
> 
> 
> 
> 
> 
> 
>src="{$doc_name}/{substring-after(@xlink:href,'#Pictures/')}"/>
> 
> 
> 
> 
> 
>   
>   
>   
>  select="//style:[EMAIL PROTECTED]:name=$style-name]/style:properties/@*" 
> mode="style" />
>   
> 
> 
> 
> 
> 
>   
>   : select="." />; 
> 
> 
> 
>   text-align:left; 
>   text-align:center; 
>   text-align:right; 
>   text-align:justify; 
> 
> 
> 
> 
> 
>   font-family: select="local-name()" />; 
> 
> 
> 
>   text-decoration:underline; 
> 
> 
> 
>   text-decoration:line-through; 
> 
> 
> 
>   text-decoration:blink; 
> 
> 
> 
>   background-color: select="." />; 
> 
> 
> 
>   border-width:; 
> 
> 
> 
> 
>   border-top-width: select="." />; 
> 
> 
> 
>   border-bottom-width: select="." />; 
> 
> 
> 
>   border-left-width: select="." />; 
> 
> 
> 
>   border-right-width: select="." />; 
> 
> 
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
> 


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



Define dynamically a parameter of a serializer

2004-02-27 Thread Stefan Geelen
Hi,

I would like to dynamically define a parameter of a serializer, like:

 
   context://test
 

I need to know the context or realPath of the cocoon environment so I do not 
need to define the parameter (systemid) hardcoded, like:

   file:/c:/cocoon/test

Appareantly Cocoon does not see the context:/ here as a variable.

How can this be solved ?

Regards,

Stefan

_
MSN Search, for relevant search results! http://search.msn.be
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


MORE: [ESQL] esql:more-results seems broke with Oracle

2004-02-27 Thread Rob Gregory

Hi All

I have been looking into the issue of EQSL paging no longer working with
Oracle since upgrading Cocoon from 2.0.3 to 2.1.4 and although I can't
see any direct reason in the code for this problem I have noticed that
if I use jdbc as the limit clause instead of our default setting of auto
the paging seems to work again and the  is output.

Can anyone (hopefully Chris) expand on this issue and advise on any
further suggestions on how to fix this as I would prefer not to have to
visit all our XSP's and change the limit clause setting to be JDBC as we
plan on supporting more than just Oracle sometime in the future.

Is this an Oracle problem or a Cocoon one (as the same code works fine
under 2.0.3) without the change to jdbc.

> > Please could anyone confirm that they are using Oracle with ESQL on 
> > Cocoon 2.1+ with the  tag working??
> >  Thanks in advance for any input.  
> 
> There have been some refactorings of the code that determines the
> number of rows in a resultset. These are most likely the cause of your
> troubles :-|
> Please have a look at 
> org.apache.cocoon.components.language.markup.xsp.OracleQuery 
> and super 
> classes. Maybe you can give some advice how to adjust it to your needs
> or point out different cases we need to distinguish.
> 
>   Chris.


Futher Details to my initial problem are as follows:-

==
 no longer output! 
 
Hi people
I have been using Cocoon since version 2.0.3 and have used the ESQL
logicsheet from within XSP and all was fine until I recently upgraded to
Cocoon version 2.1.3. Since the upgrade the esql queries etc still work
and produce results in the page size I specify but the esql node
 is no longer output. The paging I specify still
seems to work and 10 rows are skipped if I use the  node
and I know there are lots more results available in the result set. If I
ignore the more-results tag and hard code a link to the next results
this also works but I really need to know when there are more results
available and not.
 
We are using Cocoon in a production environment so any help to resolve
this matter is gratefully received. I can degrade back to version 2.0.3
but following a bug where resources were being lost when the esql error
block was entered I would really like to keep to the current versions.
 
Thanks in advance for any help
 
Environment Details:-
Tomcat 5.0.18 (also fails on 4.1.24)
Cocoon 2.1.3 (also fails on 2.1.4)
Oracle 9
Windows 2000 (also fails on XP)
JDK 1.4.1
JDBC driver ojdbc14.jar


==



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



Re: Modify some parameters in the parameterize method

2004-02-27 Thread Andreas Hartmann
Lionel Crine wrote:

Hi,
I'd like to set the parameters in the method parameterize.
How can I do that ?
What do you mean? Passing parameters to sitemap
components?
-- Andreas

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


Modify some parameters in the parameterize method

2004-02-27 Thread Lionel Crine
Hi,
I'd like to set the parameters in the method parameterize.
How can I do that ?

Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.58.70.70
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Cocoon 2.1.4 davmap: IE will not open as Web folder

2004-02-27 Thread Joe D. Williams
> Firstly I must say that the davmap sample is more of a proof of concept
> than a production ready DAV solution on top of Cocoon.

Yes, as it says: "still some work in progress, but quite usable already:"

Depends on your definition f usable, I guess.

> Not having looked at davmap for a while I just noticed that there seems
> to be a small bug in the 2.1.4 version. The fix is very simple: in the
> sitemap look for the global staging variable and change it from
> 'repository:./repo' to 'repository:./repo/'.
>
Aware of that, too, and fixed the sitemap yesterday. I can view the sample
as a web page, but not as a web folder.


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



generate XML with its CSS

2004-02-27 Thread Philippe Bajoit




I would like to generate this kind of output: XML with CSS, ie the 

 instructions:





...


I've searched a solution as options of the serializer:

  
    src=""
    mime-type="text/xml">
    ISO-8859-1
    yes
  

but it seems there is no way to pass stylesheet information.
Does it exist another way to do that?

Thank you in advance.
Philippe Bajoit



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



Pass session attribute to action

2004-02-27 Thread Stefan Geelen
Hi,

I have following in my sitemap:

 
   
context://test/database/database-descriptor.xml
   true
 

and

   
   
   
   
 
   
 
 
 
   
   
 
   
I would like to pass the custid (kept in the session) to the action:

 

Looking in the sitemap.log the action appareantly only takes into 
consideration thje paraemeters in the request object:

From sitemap.log:
Trying to set column customers.custid from request-param using getAttribute 
method
Setting column customers.custid [0] null

How can I passs the session custid to the action ?

I would like to be sure that if the session is no longer active the user 
cannot update the record anymore.



Regards,

Stefan

_



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


sitemap action

2004-02-27 Thread Li, Wangqian
Hi, there,

I want to use sitemap action to code the login page.
The code is like following:









The back end table is all right. The connection is all right(tested). The Auth-def.xml 
is set up all right.
But, it always goes to the fails.xsp.

What could be the problem.


Wangqian Li
Clinical Database Administrator
Medtronic Sofamor Danek
Tel: (901)399-2197  (901)344-1500 or 800-364-4245 ext. 6197


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



Re: Cocoon efficiency and .jar files

2004-02-27 Thread Bertrand Delacretaz
Le Vendredi, 27 fév 2004, à 13:34 Europe/Zurich, Geoff Howard a écrit :

...Finally you need to evaluate whether your own application design is 
the problem.  Possible culprits:
- doing lots of(heavy) xsl transforms in a pipeline
- creating dynamic xsp
- lots of uncacheable pipelines with heavy processing
- big xml files or sources
- reading from remote sources (using http:// protocol in src in your 
pipelines)
- xml files with dtd references if you don't use the entity catalog 
(each dtd will be looked up across the network during processing).
To which I'd add some output formats which are much more expensive to 
generate than others: PDF, bitmapped images for example.

-Bertrand

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


Re: OpenOfficeGeneration

2004-02-27 Thread Zamek
Hello All,

I am new in Cocoon, but I have a working OO solving.

my sitemap.xmap snippet is:

  
 
   
   
   
 

 
   
   
   
   
   
 
 

   

my ooo2html.xsl is:


http://www.w3.org/1999/XSL/Transform";
xmlns:fo="http://www.w3.org/1999/XSL/Format";
xmlns:xlink="http://www.w3.org/1999/xlink";
xmlns:svg="http://www.w3.org/2000/svg";
xmlns:office="http://openoffice.org/2000/office";
xmlns:style="http://openoffice.org/2000/style";
xmlns:text="http://openoffice.org/2000/text";
xmlns:table="http://openoffice.org/2000/table";
xmlns:draw="http://openoffice.org/2000/drawing";>



 
 
 
 
 



  
  



  








  
  
  
  






 
 
  





  






  
  
  
  







  
  
   
  
  













  







  





















  
 
  

  
  






  






  
 
  

  
  




  




  
  
  
 
  

  
  





  
 
  

  
  







  





  
  
  

  





  
  :; 



  text-align:left; 
  text-align:center; 
  text-align:right; 
  text-align:justify; 





  font-family:; 



  text-decoration:underline; 



  text-decoration:line-through; 



  text-decoration:blink; 



  background-color:; 



  border-width:; 




  border-top-width:; 



  border-bottom-width:; 



  border-left-width:; 



  border-right-width:; 






  

  





-- 
by,
Zoltan Zidarics programmer
PTE University Pecs, Hungary
icq: 43288694


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



RE: getting username from session after authentication

2004-02-27 Thread Laurent Trillaud
Zoltan
I give you a sample to see what you have in your context authentication. It
will help you to find the path to retrieve your login.
Declare this match in you sitemap









with the following session-account.xml

http://apache.org/cocoon/session/1.0";>


You should see something like

 
  MyLoginName
  ... and so on depends of your authenticate.xsl
  ... the tag ID depends also of your authenticate.xsl
 

Assuming that the login is store in the ID tag. To access it use the
following pipeline

 
  
  
 

Hope, that will be useful.
Laurent Trillaud

> Thanks for response, but I am a beginner in Cocoon and I don´t understand
> it, or it doesn´t works for me. :-(
> My goal is make different menus depending to valid users or anonymous
> user.
> I would like to make it my xsl if it possible.



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



RE: OpenOfficeGeneration

2004-02-27 Thread Reinhard Poetz

From: David Crossley [mailto:[EMAIL PROTECTED] 

> Philippe Guillard wrote:
> > Hi all,
> > 
> > Help about wiki page on OpenOfficeGeneration made by Yves 
> Vindevogel. 
> > My trouble is that cocoon renders my sxw files in plain 
> text without 
> > styling.
> > 
> > My question is: Where is made the link to the DTDs in 
> > /resources/entities ? Don't find any in xsl stylesheets and 
> pipeline 
> > presented and i suppose this is what i'm missing.
> > 
> > Note1: i copied the oo DTDs from windows since i was not 
> able to find 
> > them on my linux, and compared to what is said in the wiki page, i 
> > don't have any catalog file :-(
> 
> Yes you do. It is distributed with Cocoon. You would need
> to add entries to it for your local ooffice DTDs. 
> http://cocoon.apache.org/2.1/userdocs/c> oncepts/catalog.html
> 
> 
> > Note2: i tried html.oowriter.xsl and 
> standard oo transformation.
> 
> There are the beginnings of some facilities at Apache Forrest 
> for doing this.

You can find examples in Forrest (create a new project using latest CVS)
and in Cocoon (see Scratchpad and ZIP sources).
Forrest also contains a stylesheet which transforms Openoffice docs in
documentv12.

HTH

--
Reinhard


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



Re: Cocoon 2.1.4 davmap: IE will not open as Web folder

2004-02-27 Thread Unico Hommes
Firstly I must say that the davmap sample is more of a proof of concept 
than a production ready DAV solution on top of Cocoon. While working on 
it I was using XMLSpy and DAVExplorer to test the functionality. I've 
heard reports that windows webfolders don't always play nice.(Gee what a 
surprise huh?)

Not having looked at davmap for a while I just noticed that there seems 
to be a small bug in the 2.1.4 version. The fix is very simple: in the 
sitemap look for the global staging variable and change it from 
'repository:./repo' to 'repository:./repo/'.

Hope that helps,
Unico
Joe D. Williams wrote:

Alrighty. Got the davmap samples working. (Thanks, Joerg Heinicke, for the
wiki page at
http://wiki.cocoondev.org/Wiki.jsp?page=cocoon2.1_on_tomcat4.1 )
Now, when I try to access the davmap samples as Web folders, I get the
message window: "Internet Explorer could not open
http://localhost:8080/cocoon/samples/webdav/davmap/repo/ as a Web folder.
Would you like to see its default view instead?"
Anybody spare a clue?

-
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: [Flow] How to know the called uri in flow?

2004-02-27 Thread Andreas Hartmann
Antonio Gallardo wrote:

Hi:

Is this a way to retrieve the called URI in Flowscript? If yes, how? :-D
AFAIK this is not possible. You can use a helper class
to get the request object from the FOM_Cocoon object
and ask it for its URL. But this is not enabled in
FOM intentionally.
-- Andreas

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


RE: Coplet configuration

2004-02-27 Thread Laurent Trillaud
Hi
You can configure any number of renderer for a coplet.
For exemple if you want a round windows border instead of the standard one
in the cocoon.xconf add a new renderer

 
  
   
  
  
   
  
  
   
  
  
  
  
  
 

and add it in the coplet definition

 
  
  
  
 
 
and swith the coplet renderer in your portal.xml with the famous
layout-renderer-name="round-window"
Laurent Trillaud

> -Message d'origine-
> De : Alex Romayev [mailto:[EMAIL PROTECTED]
> Envoyé : jeudi 26 février 2004 19:44
> À : [EMAIL PROTECTED]
> Objet : Re: Coplet configuration
> 
> I have the same questions regarding coplet
> configuration unanswered.
> 
> As far as layout-renderer-name="nowindow", this means
> that you're not going to be rendering the window
> around your coplet, i.e. the box where you have your
> coplet configuration buttons and title.
> 
> -Alex
> 
> --- Stefan Eichenhofer <[EMAIL PROTECTED]>
> wrote:
> > Hi everyone,
> >
> > i'm trying to configure the status of coplets, like
> > minimized, maximized ,
> > visible
> > There used to be a  tag in the portal-fw,
> > but that doesn't seem to
> > be working any more. In the wiki is a example using
> > the  tag, same
> > effect.
> > Could someone point me in the right direction?
> >
> > The next step will be to enable users to edit and
> > save the portal
> > configuration. Any hints regarding that would be
> > greatly aprectiated.
> >
> > thnx
> >
> > Stefan
> >
> > btw, does anyone know what "layout-renderer-name"
> > does in this context?
> >   layout-renderer-name="nowindow">
> 
> 
> -
> 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: [Flow] How to know the called uri in flow?

2004-02-27 Thread Stephan Coboos
Antonio Gallardo wrote:

Hi:

Is this a way to retrieve the called URI in Flowscript? If yes, how? :-D

Best Regards,

Antonio Gallardo

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


  

and

cocoon.parameters["requestURI"]

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


RE: [portal] Configuring coplet buttons

2004-02-27 Thread Laurent Trillaud
Alex
Go into the cocoon.xconf
Assuming, that you want to remove buttons from the window renderer
search the definition of

...

and remove inside it  and

Laurent Trillaud

> -Message d'origine-
> De : Alex Romayev [mailto:[EMAIL PROTECTED]
> Envoyé : jeudi 26 février 2004 18:14
> À : [EMAIL PROTECTED]
> Objet : [portal] Configuring coplet buttons
> 
> Does anyone know how to remove fullscreen and minimize
> buttons for a coplet?
> 
> =
> Alex Romayev
> Software Architect
> http://www.romayev.com
> [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: Cocoon efficiency and .jar files

2004-02-27 Thread carl latimer
Thanks everybody, we thought that stripping out some of the .jar files may 
help but we may also have some problems with the translators etc. Will pass 
you comments on to the rest of the team.

Cheers, Carl


From: "Antonio Gallardo" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Cocoon efficiency and .jar files
Date: Fri, 27 Feb 2004 06:31:31 -0600 (CST)
Carmona Perez, David dijo:
> Remove unnecessary jars in order to increase efficiency.
Yep. This tip improves the performance too: Less jars where to search for
classes.
Best Regards,

Antonio Gallardo

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


WebDAV davmap question (newbie)

2004-02-27 Thread Joe D. Williams
Cocoon 2.1.4 WebDAV davmap sample. How to access as Web folders using IE?

When I try to access the davmap samples as Web folders, I get
the message window: "Internet Explorer could not open
http://localhost:8080/cocoon/samples/webdav/davmap/repo/ as a Web folder.
Would you like to see its default view instead?"

So, how do I access the davmap sample as Web folders?


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



[Flow] How to know the called uri in flow?

2004-02-27 Thread Antonio Gallardo
Hi:

Is this a way to retrieve the called URI in Flowscript? If yes, how? :-D

Best Regards,

Antonio Gallardo

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



RE: Cocoon efficiency and .jar files

2004-02-27 Thread Antonio Gallardo
Carmona Perez, David dijo:
> Remove unnecessary jars in order to increase efficiency.

Yep. This tip improves the performance too: Less jars where to search for
classes.

Best Regards,

Antonio Gallardo


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



Re: Cocoon efficiency and .jar files

2004-02-27 Thread Geoff Howard
carl latimer wrote:

Hi, I am a member of a small group developing a web site using Tomcat 
and Cocoon and we are having some problems with the efficiency of the 
site. We were wondering if all of the lib jar files for Cocoon were 
loaded into memory, by default, on start up or whether they are loaded 
into memeory as and when required? Any thoughts people?


In general, no I think that Classloaders load on demand.

However, if you are using a "kitchen sink" build of cocoon with lots of 
blocks that you don't use and lots of poolable sitemap components 
(generators, transformers, serializers) that you don't use but have 
pool-min above 0 you are going to have lots of them loaded because of 
the avalon lifecycle.  This will translate to memory use you don't need.

Also check your logging level which drags down performance and all the 
other recomendations on the "performance tips" page in the docs.

Finally you need to evaluate whether your own application design is the 
problem.  Possible culprits:
- doing lots of(heavy) xsl transforms in a pipeline
- creating dynamic xsp
- lots of uncacheable pipelines with heavy processing
- big xml files or sources
- reading from remote sources (using http:// protocol in src in your 
pipelines)
- xml files with dtd references if you don't use the entity catalog 
(each dtd will be looked up across the network during processing).

Try using the profiling pipeline for some testing - it could help turn 
up some culprits.

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


Re: Deli errors upon Cocoon 2.1.2 startup

2004-02-27 Thread Femi Anthony
Thanks, I just wanted to know if it was ok for another
webapp to have it's own cocoon.xconf file. I've
disabled lenya, and the errors have disappeared.

--- Jan Hoskens <[EMAIL PROTECTED]> wrote:
> I'm not familiar with Lenya, but if your cocoon
> itself does not contain any
> deli stuff anymore, and your still getting the
> error(with deli exception),
> it has to originate from another app (containing
> cocoon, setting cocoon
> configuration or at least doing something with
> cocoon as cocoon cannot load
> that block if you didn't mention it anywhere, well
> at least that's as far as
> I can guess)
> 
> Regards,
> Jan
> - Original Message - 
> From: "Femi Anthony" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 27, 2004 12:14 PM
> Subject: Re: Deli errors upon Cocoon 2.1.2 startup
> 
> 
> > There isn't one in the cocoon.xconf for the cocoon
> > webapp. However, I also have lenya installed,
> since I
> > am planning to use it later when I get the hang of
> > cocoon, and it has a copy of cocoon.xconf that
> does
> > contain a  block. Should lenya also have a
> > cocoon.xconf, or should I delete it?
> > For the time being I will try and disable lenya.
> >
> > Thanks for your help so far,
> > Femi
> >
> >
> > --- Jan Hoskens <[EMAIL PROTECTED]> wrote:
> > > Check the cocoon.xconf in your WEB-INF and look
> for
> > > 'deli', if there's a
> > > configuration present and not in comments, it
> still
> > > tries to use the deli
> > > block so set the configuration of that block in
> > > comments. If it's already in
> > > comments, the block should not be load and you
> > > should not get an error
> > > related to that block(as far as I know), do
> check as
> > > Hugo said if there is a
> > > deli jar in the lib and remove that file as you
> > > don't need it to be there
> > > anyway.
> > >
> > > Kind Regards,
> > > Jan
> > >
> > > - Original Message - 
> > > From: "Hugo Burm" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Friday, February 27, 2004 8:57 AM
> > > Subject: RE: Deli errors upon Cocoon 2.1.2
> startup
> > >
> > >
> > > > Is there a deli jar deployed in WEB-INF\lib
> from
> > > your previous build?
> > > >
> > > > Hugo
> > > >
> > > > > -Original Message-
> > > > > From: Femi Anthony
> > > [mailto:[EMAIL PROTECTED]
> > > > > Sent: Thursday, February 26, 2004 7:28 PM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: Deli errors upon Cocoon 2.1.2
> startup
> > > > >
> > > > >
> > > > > I'm using Cocoon 2.1.2 and I keep getting
> these
> > > errors
> > > > > upon startup :
> > > > >
> > > > > java.io.FileNotFoundException
> > > > > java.io.FileNotFoundException
> > > > >at
> > > > >
> > >
> >
>
org.apache.naming.resources.DirContextURLConnection.getInputStream(Di
> > > > > rContextURLConnection.java:344)
> > > > >at
> java.net.URL.openStream(URL.java:913)
> > > > >at
> > > > >
> > >
> >
>
com.hp.hpl.deli.Workspace.getResource(Workspace.java:474)
> > > > >at
> > > > >
> > >
> >
>
com.hp.hpl.deli.VocabularyConfig.(VocabularyConfig.java:104)
> > > > >at
> > > > >
> > >
> >
>
com.hp.hpl.deli.Vocabulary.(Vocabulary.java:37)
> > > > >at
> > > > >
> > >
> >
>
com.hp.hpl.deli.Workspace$1$CreateWorkspace.(Workspace.java:191
> > > > > )
> > > > >at
> > > > >
> > >
> >
>
com.hp.hpl.deli.Workspace.configure(Workspace.java:367)
> > > > >
> > > > > ...
> > > > >
> > > > > I dug around and I've found out that I
> should
> > > exclude
> > > > > the deli block in the
> local.blocks.properties
> > > file and
> > > > > rebuild cocoon, but that doesn't seem to
> work.
> > > > >
> > > > > I did a
> > > > >
> > > > > build.sh clean
> > > > > build.sh war
> > > > >
> > > > > but the resulting cocoon.war still seems to
> > > contain
> > > > > the deli module. Here's what I get when I
> check
> > > the
> > > > > archive:
> > > > >
> > > > > -bash-2.05b$ jar tvf cocoon.war | grep deli
> > > > > 0 Tue Feb 24 08:30:18 EST 2004
> > > > > api/java/org/apache/cocoon/components/deli/
> > > > > 0 Tue Feb 24 08:30:08 EST 2004
> > > > >
> > >
> >
>
api/java/org/apache/cocoon/components/deli/class-use/
> > > > > 24276 Tue Feb 24 08:26:00 EST 2004
> > > > > docs/xdocs/userdocs/developer/deli.xml
> > > > > 1388 Tue Feb 24 08:26:02 EST 2004
> > > > > docs/xdocs/userdocs/developer/deliquick.xml
> > > > > 6068 Tue Feb 24 08:29:06 EST 2004
> > > > >
> > >
> >
>
api/java/org/apache/cocoon/components/deli/class-use/DeliImpl.
> > > > > CocoonServletRequest.html
> > > > > 8236 Tue Feb 24 08:29:56 EST 2004
> > > > >
> > >
> >
>
api/java/org/apache/cocoon/components/deli/class-use/DeliImpl.
> > > > > CocoonServletContext.html
> > > > > 5900 Tue Feb 24 08:30:08 EST 2004
> > > > >
> > >
> >
>
api/java/org/apache/cocoon/components/deli/class-use/DeliImpl.html
> > > > >
> > > > > ...
> > > > >
> > > > > So it seems that deli was still included in
> the
> > > build.
> > > > > Can anyone tell me what I may be doing
> wrong?
> > > > >

RE: Cocoon efficiency and .jar files

2004-02-27 Thread Carmona Perez, David
I think when required, because class loader errors are detected when the class is used.

Remove unnecessary jars in order to increase efficiency.


David

-Mensaje original-
De: carl latimer [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 27 de febrero de 2004 11:47
Para: [EMAIL PROTECTED]
Asunto: Cocoon efficiency and .jar files

Hi, I am a member of a small group developing a web site using Tomcat and
Cocoon and we are having some problems with the efficiency of the site. We
were wondering if all of the lib jar files for Cocoon were loaded into
memory, by default, on start up or whether they are loaded into memeory as
and when required? Any thoughts people?

Thanks, Carl.

_
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger


-
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: Cocoon efficiency and .jar files

2004-02-27 Thread carl latimer
Thanks for the info, the search for greater efficiency continues!

Carl.


From: "Antonio Gallardo" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Cocoon efficiency and .jar files
Date: Fri, 27 Feb 2004 05:45:14 -0600 (CST)
carl latimer dijo:
> Hi, I am a member of a small group developing a web site using Tomcat 
and
> Cocoon and we are having some problems with the efficiency of the site. 
We
> were wondering if all of the lib jar files for Cocoon were loaded into
> memory, by default, on start up or whether they are loaded into memeory 
as
> and when required? Any thoughts people?

Hi Carl:
--
WARNING: I am not a Java guru. Beaware of that. :-D
--
AFAIK, when required, 1 or 2 versions before we also introduced a new tag
to enhance a little bit the jars:
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=107191286311968&w=2

Hope this answer your question.

Best Regards,

Antonio Gallardo

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Find a cheaper internet access deal - choose one to suit you. 
http://www.msn.co.uk/internetaccess

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


Re: getting username from session after authentication

2004-02-27 Thread Zamek
Hi All,

On Thursday 26 February 2004 10.34, Laurent Trillaud wrote:
> Zoltan
> I guess that the authenticate action is missing. The authentication
> context isn't loaded
> Try this stuff
> 
>   
> blah blah
> 
> blah blah
>   
> 
>
> {name} or {user/name} that depend what you have done in the handler
> authentication uri.

Thanks for response, but I am a beginner in Cocoon and I don´t understand 
it, or it doesn´t works for me. :-(
My goal is make different menus depending to valid users or anonymous user.
I would like to make it my xsl if it possible.

I made a short test, please check and modify it:
my sitemap.xmap:

http://apache.org/cocoon/sitemap/1.0";>

  

  

  


  

  



  
  

  

  




  
  
  

   
  
 



  



  

  

  
  
  


  

  

 
   <-- 
here is your stuff 
  





  


  

  





  
  

   
  
  


  



  
  


  


  


  


-- 
many thanks,
Zoltan Zidarics programmer
PTE University Pecs, Hungary
icq: 43288694


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



RE: Authentication Framework with Database

2004-02-27 Thread Kieran Kirwan
I'm using XSP to authenticate against my database.

Firstly make sure your DB authentication pipeline returns the same as the XSL sample.
I have 2 pipelines (authenticateXSL and authenticateDB) that return the same XML as 
follows

 

user 


As I have 2 authentication methods I can the decide which to use in the authentication 
manager





























_
Kieran Kirwan
Executive Transportation Planner
Transportation Modelling Department
 
Dublin Transportation Office
Hainault House,
69/71 St. Stephen's Green,
Dublin 2,
Ireland.
Tel: +353 (0)1 4778113
Fax: +353 (0) 1 478 5935
website: www.dto.ie   
 



-Original Message-
From: Tuan Luu [mailto:[EMAIL PROTECTED]
Sent: 27 February 2004 07:20
To: [EMAIL PROTECTED]
Subject: Authentication Framework with Database



Hello
In the example setion  of cocoon I saw an example of an authentication
framework. They did compare the user input against an xml file (userlist.xml). 

How can I do authentication with a database, extend the authentication
framework to a database?

Here is what I tried to do, but it doesn't work: 

I have installed Tomcat 4.1.29, cocoon 2.1.2, database connections  to
oracle and postgresql is working
connection with mod_jk is also fine.

sitemap.xmap (i have extended the example with my crap)






















Here are the used files (userlist.xml, userlist.xsl, userwork.xsl,
authenticate.xsl) 

userlist.xml: 




userwork.xsl: 

http://www.w3.org/1999/XSL/Transform"; 
xmlns:sql="http://apache.org/cocoon/SQL/2.0";>









http://apache.org/cocoon/SQL/2.0";>

select username, password from benutzer
where username=normalize-space($username)
and password=normalize-space($password)





userlist.xsl

http://www.w3.org/1999/XSL/Transform"; 
xmlns:sql="http://apache.org/cocoon/SQL/2.0";>































authenticate.xsl

http://www.w3.org/1999/XSL/Transform";>





 

  

  




















Is there a more simple way to do it? or what is wrong?
thanks for any reply 
Tuan

-- 
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++


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

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
Mail Marshal for the presence of computer viruses.

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



Re: Cocoon efficiency and .jar files

2004-02-27 Thread Antonio Gallardo
carl latimer dijo:
> Hi, I am a member of a small group developing a web site using Tomcat and
> Cocoon and we are having some problems with the efficiency of the site. We
> were wondering if all of the lib jar files for Cocoon were loaded into
> memory, by default, on start up or whether they are loaded into memeory as
> and when required? Any thoughts people?

Hi Carl:
--
WARNING: I am not a Java guru. Beaware of that. :-D
--

AFAIK, when required, 1 or 2 versions before we also introduced a new tag
to enhance a little bit the jars:

http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=107191286311968&w=2

Hope this answer your question.

Best Regards,

Antonio Gallardo

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



Re: Deli errors upon Cocoon 2.1.2 startup

2004-02-27 Thread Jan Hoskens
I'm not familiar with Lenya, but if your cocoon itself does not contain any
deli stuff anymore, and your still getting the error(with deli exception),
it has to originate from another app (containing cocoon, setting cocoon
configuration or at least doing something with cocoon as cocoon cannot load
that block if you didn't mention it anywhere, well at least that's as far as
I can guess)

Regards,
Jan
- Original Message - 
From: "Femi Anthony" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 27, 2004 12:14 PM
Subject: Re: Deli errors upon Cocoon 2.1.2 startup


> There isn't one in the cocoon.xconf for the cocoon
> webapp. However, I also have lenya installed, since I
> am planning to use it later when I get the hang of
> cocoon, and it has a copy of cocoon.xconf that does
> contain a  block. Should lenya also have a
> cocoon.xconf, or should I delete it?
> For the time being I will try and disable lenya.
>
> Thanks for your help so far,
> Femi
>
>
> --- Jan Hoskens <[EMAIL PROTECTED]> wrote:
> > Check the cocoon.xconf in your WEB-INF and look for
> > 'deli', if there's a
> > configuration present and not in comments, it still
> > tries to use the deli
> > block so set the configuration of that block in
> > comments. If it's already in
> > comments, the block should not be load and you
> > should not get an error
> > related to that block(as far as I know), do check as
> > Hugo said if there is a
> > deli jar in the lib and remove that file as you
> > don't need it to be there
> > anyway.
> >
> > Kind Regards,
> > Jan
> >
> > - Original Message - 
> > From: "Hugo Burm" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, February 27, 2004 8:57 AM
> > Subject: RE: Deli errors upon Cocoon 2.1.2 startup
> >
> >
> > > Is there a deli jar deployed in WEB-INF\lib from
> > your previous build?
> > >
> > > Hugo
> > >
> > > > -Original Message-
> > > > From: Femi Anthony
> > [mailto:[EMAIL PROTECTED]
> > > > Sent: Thursday, February 26, 2004 7:28 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Deli errors upon Cocoon 2.1.2 startup
> > > >
> > > >
> > > > I'm using Cocoon 2.1.2 and I keep getting these
> > errors
> > > > upon startup :
> > > >
> > > > java.io.FileNotFoundException
> > > > java.io.FileNotFoundException
> > > >at
> > > >
> >
> org.apache.naming.resources.DirContextURLConnection.getInputStream(Di
> > > > rContextURLConnection.java:344)
> > > >at java.net.URL.openStream(URL.java:913)
> > > >at
> > > >
> >
> com.hp.hpl.deli.Workspace.getResource(Workspace.java:474)
> > > >at
> > > >
> >
> com.hp.hpl.deli.VocabularyConfig.(VocabularyConfig.java:104)
> > > >at
> > > >
> >
> com.hp.hpl.deli.Vocabulary.(Vocabulary.java:37)
> > > >at
> > > >
> >
> com.hp.hpl.deli.Workspace$1$CreateWorkspace.(Workspace.java:191
> > > > )
> > > >at
> > > >
> >
> com.hp.hpl.deli.Workspace.configure(Workspace.java:367)
> > > >
> > > > ...
> > > >
> > > > I dug around and I've found out that I should
> > exclude
> > > > the deli block in the local.blocks.properties
> > file and
> > > > rebuild cocoon, but that doesn't seem to work.
> > > >
> > > > I did a
> > > >
> > > > build.sh clean
> > > > build.sh war
> > > >
> > > > but the resulting cocoon.war still seems to
> > contain
> > > > the deli module. Here's what I get when I check
> > the
> > > > archive:
> > > >
> > > > -bash-2.05b$ jar tvf cocoon.war | grep deli
> > > > 0 Tue Feb 24 08:30:18 EST 2004
> > > > api/java/org/apache/cocoon/components/deli/
> > > > 0 Tue Feb 24 08:30:08 EST 2004
> > > >
> >
> api/java/org/apache/cocoon/components/deli/class-use/
> > > > 24276 Tue Feb 24 08:26:00 EST 2004
> > > > docs/xdocs/userdocs/developer/deli.xml
> > > > 1388 Tue Feb 24 08:26:02 EST 2004
> > > > docs/xdocs/userdocs/developer/deliquick.xml
> > > > 6068 Tue Feb 24 08:29:06 EST 2004
> > > >
> >
> api/java/org/apache/cocoon/components/deli/class-use/DeliImpl.
> > > > CocoonServletRequest.html
> > > > 8236 Tue Feb 24 08:29:56 EST 2004
> > > >
> >
> api/java/org/apache/cocoon/components/deli/class-use/DeliImpl.
> > > > CocoonServletContext.html
> > > > 5900 Tue Feb 24 08:30:08 EST 2004
> > > >
> >
> api/java/org/apache/cocoon/components/deli/class-use/DeliImpl.html
> > > >
> > > > ...
> > > >
> > > > So it seems that deli was still included in the
> > build.
> > > > Can anyone tell me what I may be doing wrong?
> > > >
> > > > This is what's in my local.blocks.properties
> > file:
> > > >
> > > >
> > > > ...
> > > >
> > > > #dependency: scratchpad needs cron
> > > > #exclude.block.cron=true
> > > > exclude.block.deli=true
> > > > #exclude.block.eventcache=true
> > > > #exclude.block.linotype=true
> > > > #exclude.block.mail=true
> > > > #exclude.block.midi=true
> > > >
> > > > ...
> > > >
> > > > Any help is appreciated,
> > > > Femi
> > > >
> > > > __
> > > > Do you Yahoo!?
> > > > Get better spam protection with Yahoo! Mail.
> > > > ht

Re: Deli errors upon Cocoon 2.1.2 startup

2004-02-27 Thread Femi Anthony
There isn't one in the cocoon.xconf for the cocoon
webapp. However, I also have lenya installed, since I
am planning to use it later when I get the hang of
cocoon, and it has a copy of cocoon.xconf that does
contain a  block. Should lenya also have a
cocoon.xconf, or should I delete it?
For the time being I will try and disable lenya.

Thanks for your help so far,
Femi


--- Jan Hoskens <[EMAIL PROTECTED]> wrote:
> Check the cocoon.xconf in your WEB-INF and look for
> 'deli', if there's a
> configuration present and not in comments, it still
> tries to use the deli
> block so set the configuration of that block in
> comments. If it's already in
> comments, the block should not be load and you
> should not get an error
> related to that block(as far as I know), do check as
> Hugo said if there is a
> deli jar in the lib and remove that file as you
> don't need it to be there
> anyway.
> 
> Kind Regards,
> Jan
> 
> - Original Message - 
> From: "Hugo Burm" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 27, 2004 8:57 AM
> Subject: RE: Deli errors upon Cocoon 2.1.2 startup
> 
> 
> > Is there a deli jar deployed in WEB-INF\lib from
> your previous build?
> >
> > Hugo
> >
> > > -Original Message-
> > > From: Femi Anthony
> [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, February 26, 2004 7:28 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Deli errors upon Cocoon 2.1.2 startup
> > >
> > >
> > > I'm using Cocoon 2.1.2 and I keep getting these
> errors
> > > upon startup :
> > >
> > > java.io.FileNotFoundException
> > > java.io.FileNotFoundException
> > >at
> > >
>
org.apache.naming.resources.DirContextURLConnection.getInputStream(Di
> > > rContextURLConnection.java:344)
> > >at java.net.URL.openStream(URL.java:913)
> > >at
> > >
>
com.hp.hpl.deli.Workspace.getResource(Workspace.java:474)
> > >at
> > >
>
com.hp.hpl.deli.VocabularyConfig.(VocabularyConfig.java:104)
> > >at
> > >
>
com.hp.hpl.deli.Vocabulary.(Vocabulary.java:37)
> > >at
> > >
>
com.hp.hpl.deli.Workspace$1$CreateWorkspace.(Workspace.java:191
> > > )
> > >at
> > >
>
com.hp.hpl.deli.Workspace.configure(Workspace.java:367)
> > >
> > > ...
> > >
> > > I dug around and I've found out that I should
> exclude
> > > the deli block in the local.blocks.properties
> file and
> > > rebuild cocoon, but that doesn't seem to work.
> > >
> > > I did a
> > >
> > > build.sh clean
> > > build.sh war
> > >
> > > but the resulting cocoon.war still seems to
> contain
> > > the deli module. Here's what I get when I check
> the
> > > archive:
> > >
> > > -bash-2.05b$ jar tvf cocoon.war | grep deli
> > > 0 Tue Feb 24 08:30:18 EST 2004
> > > api/java/org/apache/cocoon/components/deli/
> > > 0 Tue Feb 24 08:30:08 EST 2004
> > >
>
api/java/org/apache/cocoon/components/deli/class-use/
> > > 24276 Tue Feb 24 08:26:00 EST 2004
> > > docs/xdocs/userdocs/developer/deli.xml
> > > 1388 Tue Feb 24 08:26:02 EST 2004
> > > docs/xdocs/userdocs/developer/deliquick.xml
> > > 6068 Tue Feb 24 08:29:06 EST 2004
> > >
>
api/java/org/apache/cocoon/components/deli/class-use/DeliImpl.
> > > CocoonServletRequest.html
> > > 8236 Tue Feb 24 08:29:56 EST 2004
> > >
>
api/java/org/apache/cocoon/components/deli/class-use/DeliImpl.
> > > CocoonServletContext.html
> > > 5900 Tue Feb 24 08:30:08 EST 2004
> > >
>
api/java/org/apache/cocoon/components/deli/class-use/DeliImpl.html
> > >
> > > ...
> > >
> > > So it seems that deli was still included in the
> build.
> > > Can anyone tell me what I may be doing wrong?
> > >
> > > This is what's in my local.blocks.properties
> file:
> > >
> > >
> > > ...
> > >
> > > #dependency: scratchpad needs cron
> > > #exclude.block.cron=true
> > > exclude.block.deli=true
> > > #exclude.block.eventcache=true
> > > #exclude.block.linotype=true
> > > #exclude.block.mail=true
> > > #exclude.block.midi=true
> > >
> > > ...
> > >
> > > Any help is appreciated,
> > > Femi
> > >
> > > __
> > > Do you Yahoo!?
> > > Get better spam protection with Yahoo! Mail.
> > > http://antispam.yahoo.com/tools
> > >
> > >
>
-
> > > 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]
> 


__
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

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



SVG conversion with Jeuclid

2004-02-27 Thread Tetsu Yamagishi
I'm trying to convert MathML to SVG with Jeuclid.
But I can't find any sample code to use SVG
conversion.

You can find how to implement 'Mathserializer' for GIF
conversion in sitemap.xmap, but not 'MathTransformer'
for SVG conversion.

Could you please show me some sample code?

Cheers
Tetsu






___
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html

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



Cocoon efficiency and .jar files

2004-02-27 Thread carl latimer
Hi, I am a member of a small group developing a web site using Tomcat and 
Cocoon and we are having some problems with the efficiency of the site. We 
were wondering if all of the lib jar files for Cocoon were loaded into 
memory, by default, on start up or whether they are loaded into memeory as 
and when required? Any thoughts people?

Thanks, Carl.

_
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger

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


Cocoon 2.1.4 davmap issue (repost)

2004-02-27 Thread Joe D. Williams
To reiterate: When I try to access the davmap samples as Web folders, I get
the
message window: "Internet Explorer could not open
http://localhost:8080/cocoon/samples/webdav/davmap/repo/ as a Web folder.
Would you like to see its default view instead?"

Anybody spare a clue?


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



Applying SourceWritingTransformer to file used in pipeline

2004-02-27 Thread Remmerie Bart
Title: Applying SourceWritingTransformer to file used in pipeline





It appears to be impossible to use the SourceWriting transformer to a file that is in use by the pipeline.
Does anyone have a workaroud / alternative for this ?


A bit more details:


Below is my code (which is not working).
When I try to write to writeTest.xml, I get the following error:


org.apache.cocoon.ProcessingException: Could not process your document.: java.io.IOException: Could not rename C:\cocoon-2.1\build\webapp\samples\testDir\writeTest.xml.tmp to C:\cocoon-2.1\build\webapp\samples\testDir\writeTest.xml

cause: java.io.IOException: Could not rename C:\cocoon-2.1\build\webapp\samples\testDir\writeTest.xml.tmp to C:\cocoon-2.1\build\webapp\samples\testDir\writeTest.xml

I have the following snippet in my pipeline


   
    
    
    
   


and writeTest.xml contains the following:
 
   http://apache.org/cocoon/source/1.0">
 writeTest.xml  
 
   Hello World
   
 This is my first paragraph.
   
 
   
 



Thanks & Regards,
Bart







This message and its attachments may contain confidential information protected by intellectual property rights or other rights & is strictly for the exclusive use of the intended recipient. It is strictly prohibited to copy, alter or disclose this message or its contents to any other person without Elia's prior consent. If you are not the intended recipient of this message, please inform the person who sent it and delete the message from your system. Elia is not liable for any direct or indirect damage arising from errors, inaccuracies or any loss in the message, from unauthorized use, disclosure, copying or alteration of it or as a result of any virus being passed on. This message does not constitute any commitment from Elia except when expressly otherwise agreed between the intended recipient and Elia.

U vindt de Nederlandse versie van deze disclaimer op onze internetsite  www.elia.be

Vous pouvez découvrir la version française de ce disclaimer sur notre site internet www.elia.be




Re: Woody + Continuation + portal

2004-02-27 Thread Jean-Christophe Kermagoret
It's ok.
I made a few weeks ago some stylesheets that ignores hidden fields and I 
didn't remember it.
So, of course, the hidden solution couldn't work.

Sorry for the inconvenience,

Jean-Christophe Kermagoret wrote:

Hi,
I tried to use continuation in flow script with woody form like 
written in 
http://wiki.cocoondev.org/Wiki.jsp?page=WoodyCopletForPortalEngine but 
I can't make it work.

In the wiki, it's written to use temporary:application-uri but doesn't 
work neither.

Any ideas ?



--

Jean-Christophe Kermagoret
[EMAIL PROTECTED]


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


RE: .

2004-02-27 Thread H . vanderLinden
Title: Message



Hi,
 
although I'm living in the Netherlands I too am using Cocoon for research 
and development of medical software. What exactly are you doing with it? I'm 
working on a webbased, multidisciplinary EHR system for stroke 
patients.
 
Bye, 
Helma

  
  -Original Message-From: jim basilakis 
  [mailto:[EMAIL PROTECTED] Sent: Friday, 27 February 2004 
  00:11To: [EMAIL PROTECTED]Subject: RE: 
  .
  Nice 
  to know there are other Cocooners out there and there is a CocoonUserGroupAustralia mail list set up!
   
  I am 
  based in Sydney at the University of NSW and I am using Cocoon for research 
  and development of medical software.
   
  It 
  would be great to exchange ideas on Cocoon usage.
   
  Jim 
  Basilakis
   
   
   
  
-Original Message-From: Konstantinidis, Greg 
[mailto:[EMAIL PROTECTED]Sent: Friday, 27 
February 2004 9:43 AMTo: 
'[EMAIL PROTECTED]'Subject: RE: .
Yes, we are also using cocoon.
We're based in 
Sydney.

  -Original Message-From: Richard Huegill 
  [mailto:[EMAIL PROTECTED]Sent: Thursday, 
  26 February 2004 16:24To: 
  [EMAIL PROTECTED]Subject: .
  Hi, 
   
  We're using cocoon at the moment, and we're 
  feeling a little isolated.
   
  Is there anyone in Australia who's also using 
  it ?
   
  it might be nice to be able to bounce ideas 
  and discuss issues with omeone who is local.
   
  Thanks.
   
  Richard


RE: .

2004-02-27 Thread H . vanderLinden
Title: Message



sorry 
for the noise, this was meant to be offlist.
 
Bye, 
Helma

  
  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
  Sent: Friday, 27 February 2004 09:24To: 
  [EMAIL PROTECTED]Subject: RE: .
  Hi,
   
  although I'm living in the Netherlands I too am using Cocoon for 
  research and development of medical software. What exactly are you doing with 
  it? I'm working on a webbased, multidisciplinary EHR system for stroke 
  patients.
   
  Bye, 
  Helma
  

-Original Message-From: jim basilakis 
[mailto:[EMAIL PROTECTED] Sent: Friday, 27 February 2004 
00:11To: [EMAIL PROTECTED]Subject: RE: 
.
Nice to know there are other Cocooners out there and there is a CocoonUserGroupAustralia mail list set up!
 
I 
am based in Sydney at the University of NSW and I am using Cocoon for 
research and development of medical software.
 
It 
would be great to exchange ideas on Cocoon usage.
 
Jim Basilakis
 
 
 

  -Original Message-From: Konstantinidis, Greg 
  [mailto:[EMAIL PROTECTED]Sent: Friday, 27 
  February 2004 9:43 AMTo: 
  '[EMAIL PROTECTED]'Subject: RE: .
  Yes, we are also using cocoon.
  We're based in 
  Sydney.
  
-Original Message-From: Richard Huegill 
[mailto:[EMAIL PROTECTED]Sent: 
Thursday, 26 February 2004 16:24To: 
[EMAIL PROTECTED]Subject: .
Hi, 
 
We're using cocoon at the moment, and we're 
feeling a little isolated.
 
Is there anyone in Australia who's also 
using it ?
 
it might be nice to be able to bounce ideas 
and discuss issues with omeone who is local.
 
Thanks.
 
Richard


Re: Deli errors upon Cocoon 2.1.2 startup

2004-02-27 Thread Jan Hoskens
Check the cocoon.xconf in your WEB-INF and look for 'deli', if there's a
configuration present and not in comments, it still tries to use the deli
block so set the configuration of that block in comments. If it's already in
comments, the block should not be load and you should not get an error
related to that block(as far as I know), do check as Hugo said if there is a
deli jar in the lib and remove that file as you don't need it to be there
anyway.

Kind Regards,
Jan

- Original Message - 
From: "Hugo Burm" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 27, 2004 8:57 AM
Subject: RE: Deli errors upon Cocoon 2.1.2 startup


> Is there a deli jar deployed in WEB-INF\lib from your previous build?
>
> Hugo
>
> > -Original Message-
> > From: Femi Anthony [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, February 26, 2004 7:28 PM
> > To: [EMAIL PROTECTED]
> > Subject: Deli errors upon Cocoon 2.1.2 startup
> >
> >
> > I'm using Cocoon 2.1.2 and I keep getting these errors
> > upon startup :
> >
> > java.io.FileNotFoundException
> > java.io.FileNotFoundException
> >at
> > org.apache.naming.resources.DirContextURLConnection.getInputStream(Di
> > rContextURLConnection.java:344)
> >at java.net.URL.openStream(URL.java:913)
> >at
> > com.hp.hpl.deli.Workspace.getResource(Workspace.java:474)
> >at
> > com.hp.hpl.deli.VocabularyConfig.(VocabularyConfig.java:104)
> >at
> > com.hp.hpl.deli.Vocabulary.(Vocabulary.java:37)
> >at
> > com.hp.hpl.deli.Workspace$1$CreateWorkspace.(Workspace.java:191
> > )
> >at
> > com.hp.hpl.deli.Workspace.configure(Workspace.java:367)
> >
> > ...
> >
> > I dug around and I've found out that I should exclude
> > the deli block in the local.blocks.properties file and
> > rebuild cocoon, but that doesn't seem to work.
> >
> > I did a
> >
> > build.sh clean
> > build.sh war
> >
> > but the resulting cocoon.war still seems to contain
> > the deli module. Here's what I get when I check the
> > archive:
> >
> > -bash-2.05b$ jar tvf cocoon.war | grep deli
> > 0 Tue Feb 24 08:30:18 EST 2004
> > api/java/org/apache/cocoon/components/deli/
> > 0 Tue Feb 24 08:30:08 EST 2004
> > api/java/org/apache/cocoon/components/deli/class-use/
> > 24276 Tue Feb 24 08:26:00 EST 2004
> > docs/xdocs/userdocs/developer/deli.xml
> > 1388 Tue Feb 24 08:26:02 EST 2004
> > docs/xdocs/userdocs/developer/deliquick.xml
> > 6068 Tue Feb 24 08:29:06 EST 2004
> > api/java/org/apache/cocoon/components/deli/class-use/DeliImpl.
> > CocoonServletRequest.html
> > 8236 Tue Feb 24 08:29:56 EST 2004
> > api/java/org/apache/cocoon/components/deli/class-use/DeliImpl.
> > CocoonServletContext.html
> > 5900 Tue Feb 24 08:30:08 EST 2004
> > api/java/org/apache/cocoon/components/deli/class-use/DeliImpl.html
> >
> > ...
> >
> > So it seems that deli was still included in the build.
> > Can anyone tell me what I may be doing wrong?
> >
> > This is what's in my local.blocks.properties file:
> >
> >
> > ...
> >
> > #dependency: scratchpad needs cron
> > #exclude.block.cron=true
> > exclude.block.deli=true
> > #exclude.block.eventcache=true
> > #exclude.block.linotype=true
> > #exclude.block.mail=true
> > #exclude.block.midi=true
> >
> > ...
> >
> > Any help is appreciated,
> > Femi
> >
> > __
> > Do you Yahoo!?
> > Get better spam protection with Yahoo! Mail.
> > http://antispam.yahoo.com/tools
> >
> > -
> > 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: Cocoon internal server error

2004-02-27 Thread John L. Webber
Joseph,

It would help if you would also include your sitemap.xmap.

John

bremerj wrote:

Hi!,

I get an internal server error when I want to start cocoon from within
TomcaT. See attached error message.
Thanks for your help,

Joseph Bremer
 

--
-
Jentro Technologies GmbH
John L. Webber, Software Development
-
Rosenheimer Str. 145e	81671 München
Tel. +49 89 189 169 80 mailto:[EMAIL PROTECTED] 
Fax  +49 89 189 169 99 http://www.jentro.com



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


Cocoon internal server error

2004-02-27 Thread bremerj

Hi!,

I get an internal server error when I want to start cocoon from within
TomcaT. See attached error message.

Thanks for your help,

Joseph Bremer

Title: Internal server error




Cocoon 2 - Internal server error


type fatal
message Error in sitemap configuration : UnnamedSelector: 
ComponentSelector could not find the component for hint []
description 
org.apache.avalon.framework.configuration.ConfigurationException: Error in 
sitemap configuration : UnnamedSelector: ComponentSelector could not find the 
component for hint []
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
stack-traceorg.apache.avalon.framework.configuration.ConfigurationException: Error in sitemap configuration : UnnamedSelector: ComponentSelector could not find the component for hint []
	at org.apache.cocoon.www.sitemap_xmap.configure(D:\Program Files\cocoon-latest-src\tomcat\jakarta-tomcat-3.3.1a\work\DEFAULT\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:477)
	at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:264)
	at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:98)
	at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:187)
	at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:357)
	at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:312)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:267)
	at java.lang.Thread.run(Thread.java:534)
Caused by: org.apache.avalon.framework.component.ComponentException: UnnamedSelector: ComponentSelector could not find the component for hint []
	at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:198)
	at org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSitemapComponentSelector.java:101)
	at org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSitemapComponentSelector.java:104)
	at org.apache.cocoon.www.sitemap_xmap.preparePattern(D:\Program Files\cocoon-latest-src\tomcat\jakarta-tomcat-3.3.1a\work\DEFAULT\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:2054)
	at org.apache.cocoon.www.sitemap_xmap.prepareMatchers(D:\Program Files\cocoon-latest-src\tomcat\jakarta-tomcat-3.3.1a\work\DEFAULT\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:2073)
	at org.apache.cocoon.www.sitemap_xmap.configure(D:\Program Files\cocoon-latest-src\tomcat\jakarta-tomcat-3.3.1a\work\DEFAULT\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:470)
	... 7 more


request-uri/cocoon/

path-info




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