Re: seeking for payed consultancy from the cocoon-comunity ...

2002-12-14 Thread mlangham

Ivelin,

thanks for clarifying that. Carsten insisted to me that the session was in
fact tracked - but I didn't spot the use of the HTTP client library when I
looked quickly through the code.

So, I expect that would be a good start for what Hussayn needs.

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]




Cocoon 2.1 and sunshine

2002-12-14 Thread Jonathan Spaeth
Title: Cocoon 2.1 and sunshine





I have noticed that the sunshine authentication and portal packages are not in cocoon 2.1 in cvs. Has this functionality been moved elsewhere or is it going to be?

I would like to use the authentication andportal frameworks, as well as the xmlform framework; however, as things currently seem, xmlform is contained in 2.1 and not 2.0 and sunshine is contained in 2.0 and not 2.1.

Any thoughts or plans?


Thanks in advance,
Jon





Re: seeking for payed consultancy from the cocoon-comunity ...

2002-12-14 Thread SAXESS - Hussayn Dabbous
Hy, Ivelin;

Thank you for your response. Meanwhile
i browsed through wsproxy-generator.html and found
it comes close to my needs.

My problem with 2.1 from CVS is:
I want to use cocoon in a production
environment. cocoon-2.1 is not yet released. Although
it seems to be quite stable, i am afraid, i can't use
it yet for obvious reasons (maintenance) ...

So the question rises, if the webproxygenerator could
possibly be integrated into cocoon-2.0.4 with reasonable
effort.

regards, Hussayn


Ivelin Ivanov wrote:

Hussayn,

WebServiceProxyGenerator uses the Apache Jakarta HttpClient library which
maintains session with the remote host.

I suggest that you look at this document first:
http://xml.apache.org/cocoon/userdocs/generators/wsproxy-generator.html

If it conceptually seems to offer what you like, then deploy Cocoon 2.1 from
CVS and visit the following url:
http://localhost:8080/cocoon/samples/welcome

See the Web Site Syndication section.

A sample with session support is available under:
http://localhost:8080/cocoon/samples/webserviceproxy/


A live demo is available from my weblog:
http://www.cocoonhive.org/


Hope this helps,


Ivelin




- Original Message -
From: SAXESS - Hussayn Dabbous [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 13, 2002 5:14 AM
Subject: Re: seeking for payed consultancy from the cocoon-comunity ...




Hy, Mathew

Thank you very much for your quick answer.
I will do as you propose and send my request
to Ivelin. Hopefully we will come to a quick
and usable result.

best regards, hussayn

[EMAIL PROTECTED] wrote:


Hussayn,

from a quick look at the code I don't think the WebServiceProxyGenerator
tracks cookies from the remote server. So that would need to be added.



Or


perhaps Ivelin already has this. Adding this capability to the generator



is


a good idea anyway.

I would suggest you send Ivelin a mail. He may not read your post as you
sent it to the -users list.

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]




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




sunspot portal

2002-12-14 Thread Mark Eggers
I have a version from CVS that is several weeks old,
but the link is there:

http://localhost/cocoon/samples/portal-fw/sunspotdemoportal

Am I missing something?

/mde/

just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.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]




Re: Cocoon's cache problems?

2002-12-14 Thread Manish Jain
try removing tomcat\work\localhost folder before you restart tomcat.

Manish
- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 12, 2002 12:48 PM
Subject: Cocoon's cache problems?


 Hello,
 I changed a page a saw that the modification hasn't been done. So I made
 a backup of my documents and delete them. I restarted tomcat and cocoon,
 and all the pages are stil displayed! Even if I press Ctrl-F5 in IE6 or
 F5 in opera! How can it be? The document directory is empty!
 
 Thank you for your help.
 
 -
 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: seeking for payed consultancy from the cocoon-comunity ...

2002-12-14 Thread Niket Anand

- Original Message -
From: Ivelin Ivanov [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, December 14, 2002 10:51 AM
Subject: Re: seeking for payed consultancy from the cocoon-comunity ...



 Hussayn,

 WebServiceProxyGenerator uses the Apache Jakarta HttpClient library which
 maintains session with the remote host.

 I suggest that you look at this document first:
 http://xml.apache.org/cocoon/userdocs/generators/wsproxy-generator.html

 If it conceptually seems to offer what you like, then deploy Cocoon 2.1
from
 CVS and visit the following url:
 http://localhost:8080/cocoon/samples/welcome

 See the Web Site Syndication section.

 A sample with session support is available under:
 http://localhost:8080/cocoon/samples/webserviceproxy/


 A live demo is available from my weblog:
 http://www.cocoonhive.org/


 Hope this helps,


 Ivelin




 - Original Message -
 From: SAXESS - Hussayn Dabbous [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, December 13, 2002 5:14 AM
 Subject: Re: seeking for payed consultancy from the cocoon-comunity ...


  Hy, Mathew
 
  Thank you very much for your quick answer.
  I will do as you propose and send my request
  to Ivelin. Hopefully we will come to a quick
  and usable result.
 
  best regards, hussayn
 
  [EMAIL PROTECTED] wrote:
   Hussayn,
  
   from a quick look at the code I don't think the
WebServiceProxyGenerator
   tracks cookies from the remote server. So that would need to be added.
 Or
   perhaps Ivelin already has this. Adding this capability to the
generator
 is
   a good idea anyway.
  
   I would suggest you send Ivelin a mail. He may not read your post as
you
   sent it to the -users list.
  
   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]
 


 -
 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 and sunshine

2002-12-14 Thread Antonio Gallardo
This functionality is already in 2.1. The names changed:

search for:

portal-fw, session-fw and authentication-fw.

Antonio Gallardo.

Jonathan Spaeth dijo:
 I have noticed that the sunshine authentication and portal packages are
 not in cocoon 2.1 in cvs.  Has this functionality been moved elsewhere
 or is it going to be?

 I would like to use the authentication andportal frameworks, as well as
 the xmlform framework; however, as things currently seem, xmlform is
 contained in 2.1 and not 2.0 and sunshine is contained in 2.0 and not
 2.1.

 Any thoughts or plans?

 Thanks in advance,
 Jon




-
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.0 with JDK1.4

2002-12-14 Thread Andrew Savory

Hi Niket,

On Sat, 14 Dec 2002, Niket Anand wrote:

 I have using Cocoon-2.0 with JDK1.3.1 and it is working fine.
 I am trying to run Cocoon-2.0 with JDK1.4 but it is giving Language
 Exception error as

 Is it possible to run Cocoon-2.0 with JDK-1.4?

Yes, but you need to make sure you're using a version compiled for JDK1.4.
If in doubt, grab the source from the web site and build it again.


Andrew.

-- 
Andrew SavoryEmail: [EMAIL PROTECTED]
Managing Director  Tel:  +44 (0)870 741 6658
Luminas Internet Applications  Fax:  +44 (0)700 598 1135
This is not an official statement or order.Web:www.luminas.co.uk


-
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.0 with JDK1.4

2002-12-14 Thread Niket Anand
Hello Andrew,
Thanks for replying
Can you send me the link from where I can download Cocoon-2.0 compiled for
JDK1.4?
I couldn't find it somehow.
Thanks again
Niket

- Original Message -
From: Andrew Savory [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Niket Anand
[EMAIL PROTECTED]
Sent: Saturday, December 14, 2002 4:09 PM
Subject: Re: Cocoon-2.0 with JDK1.4



 Hi Niket,

 On Sat, 14 Dec 2002, Niket Anand wrote:

  I have using Cocoon-2.0 with JDK1.3.1 and it is working fine.
  I am trying to run Cocoon-2.0 with JDK1.4 but it is giving Language
  Exception error as
 
  Is it possible to run Cocoon-2.0 with JDK-1.4?

 Yes, but you need to make sure you're using a version compiled for JDK1.4.
 If in doubt, grab the source from the web site and build it again.


 Andrew.

 --
 Andrew SavoryEmail: [EMAIL PROTECTED]
 Managing Director  Tel:  +44 (0)870 741 6658
 Luminas Internet Applications  Fax:  +44 (0)700 598 1135
 This is not an official statement or order.Web:www.luminas.co.uk


 -
 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.0 with JDK1.4

2002-12-14 Thread Joerg Heinicke
http://xml.apache.org/cocoon/dist/

There you can find both Cocoon 2.0.3 and 2.0.4 both in sources and 
binary for JDK 1.3 and 1.4

Joerg

Niket Anand wrote:
Hello Andrew,
Thanks for replying
Can you send me the link from where I can download Cocoon-2.0 compiled for
JDK1.4?
I couldn't find it somehow.
Thanks again
Niket

- Original Message -
From: Andrew Savory [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Niket Anand
[EMAIL PROTECTED]
Sent: Saturday, December 14, 2002 4:09 PM
Subject: Re: Cocoon-2.0 with JDK1.4




Hi Niket,

On Sat, 14 Dec 2002, Niket Anand wrote:



I have using Cocoon-2.0 with JDK1.3.1 and it is working fine.
I am trying to run Cocoon-2.0 with JDK1.4 but it is giving Language
Exception error as

Is it possible to run Cocoon-2.0 with JDK-1.4?


Yes, but you need to make sure you're using a version compiled for JDK1.4.
If in doubt, grab the source from the web site and build it again.


Andrew.

--
Andrew SavoryEmail: [EMAIL PROTECTED]
Managing Director  Tel:  +44 (0)870 741 6658
Luminas Internet Applications  Fax:  +44 (0)700 598 1135
This is not an official statement or order.Web:www.luminas.co.uk


-
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: saving a generated pdf file in local directory

2002-12-14 Thread Joerg Heinicke
Remove the plugin from your browser. Or use right click and use 
something like Save link target as 

It's not a Cocoon related problem, only one with browser usage.

And please don't post such questions to developer list. From there you 
won't get no answer relating to the usage of Cocoon. Therefore the users 
list exists.

Regards,

Joerg

Niket Anand wrote:

Hi All,
I have a link in a screen, on click of that it will open new browser and a
pipeline pattern would be called on that browser displaying a pdf report
using XSL:FO.
Instead of having this I want like this
When I click on that link, a dialog box or folder/directory selector popup
window opens and ask for desired directory on which the generated PDF file
can be saved.
How can I do this?
Actually how can I allow the physical pdf file to save in local directory
using cocoon-2.0 WITHOUT OPENING IN new BROWSER?
Pls reply if it needs more clarification.
Thanks,
 Niket



-
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: saving a generated pdf file in local directory

2002-12-14 Thread Niket Anand
Sorry Joerg,
I want to disturb you again.
The actual scenario is like that:-
A screen is divided in two frames:-
Top frame shows PDF generated by pattern using XSL:FO
Bottom frame contains button for sending opened PDF (in top frame) through
Mail. We are using JavaMail API integrated with JBoss.
Actually I want to send the Pdf through Mail, when a user want to see PDF
and submit Mail PDF button.
Does it possible in Cocoon?
Thanks,
Niket
- Original Message -
From: Joerg Heinicke [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, December 14, 2002 7:44 PM
Subject: Re: saving a generated pdf file in local directory


 Remove the plugin from your browser. Or use right click and use
 something like Save link target as 

 It's not a Cocoon related problem, only one with browser usage.

 And please don't post such questions to developer list. From there you
 won't get no answer relating to the usage of Cocoon. Therefore the users
 list exists.

 Regards,

 Joerg

 Niket Anand wrote:
 
  Hi All,
  I have a link in a screen, on click of that it will open new browser and
a
  pipeline pattern would be called on that browser displaying a pdf report
  using XSL:FO.
  Instead of having this I want like this
  When I click on that link, a dialog box or folder/directory selector
popup
  window opens and ask for desired directory on which the generated PDF
file
  can be saved.
  How can I do this?
  Actually how can I allow the physical pdf file to save in local
directory
  using cocoon-2.0 WITHOUT OPENING IN new BROWSER?
  Pls reply if it needs more clarification.
  Thanks,
   Niket


 -
 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: saving a generated pdf file in local directory

2002-12-14 Thread Joerg Heinicke
Hmm, what about a request like 
http://localhost/cocoon/sendmail?pdf=myreport.pdf[EMAIL PROTECTED]. 
On the server you can do your processing. But I can't help you further, 
I did not never used JavaMail.

Joerg

Niket Anand wrote:
Sorry Joerg,
I want to disturb you again.
The actual scenario is like that:-
A screen is divided in two frames:-
Top frame shows PDF generated by pattern using XSL:FO
Bottom frame contains button for sending opened PDF (in top frame) through
Mail. We are using JavaMail API integrated with JBoss.
Actually I want to send the Pdf through Mail, when a user want to see PDF
and submit Mail PDF button.
Does it possible in Cocoon?
Thanks,
Niket
- Original Message -
From: Joerg Heinicke [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, December 14, 2002 7:44 PM
Subject: Re: saving a generated pdf file in local directory




Remove the plugin from your browser. Or use right click and use
something like Save link target as 

It's not a Cocoon related problem, only one with browser usage.

And please don't post such questions to developer list. From there you
won't get no answer relating to the usage of Cocoon. Therefore the users
list exists.

Regards,

Joerg

Niket Anand wrote:


Hi All,
I have a link in a screen, on click of that it will open new browser and


a


pipeline pattern would be called on that browser displaying a pdf report
using XSL:FO.
Instead of having this I want like this
When I click on that link, a dialog box or folder/directory selector


popup


window opens and ask for desired directory on which the generated PDF


file


can be saved.
How can I do this?
Actually how can I allow the physical pdf file to save in local


directory


using cocoon-2.0 WITHOUT OPENING IN new BROWSER?
Pls reply if it needs more clarification.
Thanks,
Niket



-
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 and sunshine

2002-12-14 Thread Alex Vishnev
Title: Cocoon 2.1 and sunshine









HEAD
release from Cocoon CVS contains sunshine authentication and portal packages. I
am running Tomcat 4.1.12 with HEAD version of Cocoon 2.1dev from CVS and can
run sunshine examples from examples page. You just need to build it from
source.



Alex



-Original
Message-
From: Jonathan Spaeth
[mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 14, 2002
3:49 AM
To: '[EMAIL PROTECTED]'
Subject: Cocoon 2.1 and sunshine



I have noticed that the sunshine
authentication and portal packages are not in cocoon 2.1 in cvs. Has this
functionality been moved elsewhere or is it going to be?

I would like to use the authentication
andportal frameworks, as well as the xmlform framework; however, as things
currently seem, xmlform is contained in 2.1 and not 2.0 and sunshine is
contained in 2.0 and not 2.1.

Any thoughts or plans? 

Thanks in advance, 
Jon 








Re: saving a generated pdf file in local directory

2002-12-14 Thread Niket Anand
Hello Joerg,
How come I save the opened PDF(in top frame) at server side at certain
folder such that I can send mail with attached PDF on click of button in
bottom frame?
Thanks for helping me.
Niket
- Original Message -
From: Joerg Heinicke [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, December 14, 2002 8:05 PM
Subject: Re: saving a generated pdf file in local directory


 Hmm, what about a request like
 http://localhost/cocoon/sendmail?pdf=myreport.pdf[EMAIL PROTECTED].
 On the server you can do your processing. But I can't help you further,
 I did not never used JavaMail.

 Joerg

 Niket Anand wrote:
  Sorry Joerg,
  I want to disturb you again.
  The actual scenario is like that:-
  A screen is divided in two frames:-
  Top frame shows PDF generated by pattern using XSL:FO
  Bottom frame contains button for sending opened PDF (in top frame)
through
  Mail. We are using JavaMail API integrated with JBoss.
  Actually I want to send the Pdf through Mail, when a user want to see
PDF
  and submit Mail PDF button.
  Does it possible in Cocoon?
  Thanks,
  Niket
  - Original Message -
  From: Joerg Heinicke [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Saturday, December 14, 2002 7:44 PM
  Subject: Re: saving a generated pdf file in local directory
 
 
 
 Remove the plugin from your browser. Or use right click and use
 something like Save link target as 
 
 It's not a Cocoon related problem, only one with browser usage.
 
 And please don't post such questions to developer list. From there you
 won't get no answer relating to the usage of Cocoon. Therefore the users
 list exists.
 
 Regards,
 
 Joerg
 
 Niket Anand wrote:
 
 Hi All,
 I have a link in a screen, on click of that it will open new browser
and
 
  a
 
 pipeline pattern would be called on that browser displaying a pdf
report
 using XSL:FO.
 Instead of having this I want like this
 When I click on that link, a dialog box or folder/directory selector
 
  popup
 
 window opens and ask for desired directory on which the generated PDF
 
  file
 
 can be saved.
 How can I do this?
 Actually how can I allow the physical pdf file to save in local
 
  directory
 
 using cocoon-2.0 WITHOUT OPENING IN new BROWSER?
 Pls reply if it needs more clarification.
 Thanks,
  Niket


 -
 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: Web Site Syndication [was: seeking for payed consultancy from the cocoon-comunity ...]

2002-12-14 Thread Ivelin Ivanov

My hunch is that it is possible, although I have not tried.


- Original Message - 
From: SAXESS - Hussayn Dabbous [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, December 14, 2002 3:07 AM
Subject: Re: seeking for payed consultancy from the cocoon-comunity ...


 Hy, Ivelin;
 
 Thank you for your response. Meanwhile
 i browsed through wsproxy-generator.html and found
 it comes close to my needs.
 
 My problem with 2.1 from CVS is:
 I want to use cocoon in a production
 environment. cocoon-2.1 is not yet released. Although
 it seems to be quite stable, i am afraid, i can't use
 it yet for obvious reasons (maintenance) ...
 
 So the question rises, if the webproxygenerator could
 possibly be integrated into cocoon-2.0.4 with reasonable
 effort.
 
 regards, Hussayn
 



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




Links view recurse for ever on a SVG linearGradient element

2002-12-14 Thread Ahmed
Nagoya seems down...

---

My cocoon.xconf contains:
xml-parser class=org.apache.avalon.excalibur.xml.JaxpParser/

and my sitemap:
map:views
map:view name=links from-position=last
map:serialize type=links/
/map:view
/map:views
...
map:pipelines
map:pipeline   
map:match pattern=*.png
map:generate src=docs/{1}.svg/
map:serialize type=svg2png/  
/map:match
/map:pipeline
/map:pipelines


The Cocoon live site is OK. 
When I ask my web browser for
http://localhost:8180/simple_cocoon_site/sample.png, I get the PNG.

When I ask for a link content (same_url?cocoon-view=links), Cocoon goes
recursing until no memory is left. 
Why asking for such a view? Well I am not doing it, the command line
interface blindly does.

The problem is with a gradient definition:
linearGradient id=a_gradient  
stop offset=5% stop-color=red /  
stop offset=95% stop-color=yellow /  
/linearGradient
I have no problem with:
marker id=aTriangle
viewBox=0 0 4 4 refX=0 refY=2 
markerUnits=strokeWidth
markerWidth=1 markerHeight=1
orient=auto
path d=M 0 0 L 4 2 L 0 4/
/marker
in the SVG.

---

I dived in the sources with a debugger. 
Forgive a little, I am new to Java (4 months).

XMLTeePipe().startElement() get called for the linearGradient element.
It calls its first consumer (a LinkTranslator) startElement() method.

LinkTranslator inherits this method from ExtendedXLinkPipe.

ExtendedXLinkPipe.startElement() looks after href, src or
background. Finding none it finishes calling super.startElement() i.e.
XLinkPipe.startElement().

The attribute value for type is simple.
For all other SVG elements, type is null. 
Why is it so? I do not know.

So the simpleLink() is called. Which one? LinkTranslator one because
this is a LinkTranslator.

LinkTranslator.simpleLink() does not do much but calling
super.simpleLink(), i.e. ExtendedXLinkPipe.simpleLink().

This one looks after href, src or background. Finding none it
finishes calling super.startElement() i.e. XLinkPipe.startElement().

And here is the never ending recursion.

XMLTeePipe().startElement()
  LinkTranslator.startElement() ie. ExtendedXLinkPipe.startElement()
super.startElement() i.e. XLinkPipe.startElement() ---+
  simpleLink() i.e. LinkTranslator.simpleLink()|
super.simpleLink() ie ExtendedXLinkPipe.simpleLink()   |
  super.startElement() ie XLinkPipe.startElement() ---+

Is it a JaxpParser error? I do not know. 
Anyway. Cocoon relies heavily on external components. It should be
prepared to (unintentional) misbehaviors.

I do not know where to go from here. I am not looking for tricks. I only
want Cocon to be robust. I have got a little time.

I removed gradients from my SVGs.

-- 
Ahmed [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: RE: xsl:copy-of Problem

2002-12-14 Thread Conal Tuohy
Marcel your variable $m holds a Result Tree Fragment, not a NodeSet. A RTF
is not as useful as a nodeset. In particular you can't use for-each with
it.

See http://www.w3.org/TR/xslt#section-Result-Tree-Fragments


Try assigning the variable like this:
xsl:variable name=m select=/all/message/

Cheers!

Con

 -Original Message-
 From: Marcel Jurk [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, 14 December 2002 07:16
 To: [EMAIL PROTECTED]
 Subject: RE: RE: xsl:copy-of Problem


 Sorry I forgott the following lines in the stylesheet.

 xsl:template match=/
   xsl:variable name=m
 xsl:call-template name=sortmsg/
   /xsl:variable
   xsl:for-each select=$m
 xsl:value-of select=name(.)/ !-- No output --
 xsl:value-of select=./ !-- Output: msg1msg2
 --
   /xsl:for-each
 /xsl:template

 xsl:template name=sortmsg
   xsl:for-each select=/all/message
 xsl:copy-of select=./
   /xsl:for-each
 /xsl:template

 In the xsl:for-each loop must be the output two
 times message, but I got no output and the loop is
 pass only once.
 I think that not the tree is copied with the
 xsl:copy-of in the template sortmsg, but only the
 values.

 Before the currently c2.1 (cvs 12.12) version, I used
 c2.1 (cvs 30.10) and with it works fine, but now not.

 Marcel


-
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: RE: xsl:copy-of Problem

2002-12-14 Thread Marcel Jurk
Hi Con,

thanks for the hint with the RTF. But my problem is,
that I want first sort the elements and afterwards I
want output only the first five elements.
With your example
xsl:variable name=m select=/all/message/
is no sorting possible.

Regards,
Marcel

Marcel your variable $m holds a Result Tree
 Fragment, not a NodeSet. A RTF
 is not as useful as a nodeset. In particular you
 can't use for-each with
 it.
 
 See

http://www.w3.org/TR/xslt#section-Result-Tree-Fragments
 
 
 Try assigning the variable like this:
 xsl:variable name=m select=/all/message/
 
 Cheers!
 
 Con
 
  -Original Message-
  From: Marcel Jurk [mailto:[EMAIL PROTECTED]]
  Sent: Saturday, 14 December 2002 07:16
  To: [EMAIL PROTECTED]
  Subject: RE: RE: xsl:copy-of Problem
 
 
  Sorry I forgott the following lines in the
 stylesheet.
 
  xsl:template match=/
xsl:variable name=m
  xsl:call-template name=sortmsg/
/xsl:variable
xsl:for-each select=$m
  xsl:value-of select=name(.)/ !-- No output
 --
  xsl:value-of select=./ !-- Output:
 msg1msg2
  --
/xsl:for-each
  /xsl:template
 
  xsl:template name=sortmsg
xsl:for-each select=/all/message
  xsl:copy-of select=./
/xsl:for-each
  /xsl:template
 
  In the xsl:for-each loop must be the output two
  times message, but I got no output and the loop is
  pass only once.
  I think that not the tree is copied with the
  xsl:copy-of in the template sortmsg, but only
 the
  values.
 
  Before the currently c2.1 (cvs 12.12) version, I
 used
  c2.1 (cvs 30.10) and with it works fine, but now
 not.
 
  Marcel
 
 

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

__

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Weihnachts-Einkäufe ohne Stress! http://shopping.yahoo.de

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