Re: Cocoon & Web Services

2005-04-27 Thread Reinhard Poetz
Nima Jafari wrote: Hi, i would like to use Cocoon to consume a Web Service... The Sample Hello World Web Service didn't give me any clues in how to solve my case which is the following: The Web Service expects an String as parameter and Returns a corresponding Response... now my question is: ho

Re: Cocoon - Java + Php = Popoon

2005-04-27 Thread André Thénot
Hmm, at first glance this looks more like AxKit (XML publishing framework in perl). Well, they say imitation is the sincerest form of flattery, so I guess this is just a confirmation of Cocoon's growing influence. A. On Apr 27, 2005, at 20:23, gkrishna wrote: Open source XML publishing framewor

Cocoon - Java + Php = Popoon

2005-04-27 Thread gkrishna
Open source XML publishing framework Cocoon in Php => Popoon http://www.popoon.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Cocoon & Web Services

2005-04-27 Thread Nima Jafari
Hi, i would like to use Cocoon to consume a Web Service... The Sample Hello World Web Service didn't give me any clues in how to solve my case which is the following: The Web Service expects an String as parameter and Returns a corresponding Response... now my question is: how can call the serv

Re: Missing xml declaration and doctype when using XQuery

2005-04-27 Thread Martin Holmes
Answering my own question, in case anyone else has the same problem: My XQuery was returning this: {f:GetDoc()} If I make it return this: {f:GetDoc()} Then it works. Apparently the container tag is required before the doctype headers will be generated. Chee

Missing xml declaration and doctype when using XQuery

2005-04-27 Thread Martin Holmes
Hi there, I have the following two matches in my pipeline: In the case of the first, I get this at the top of my XHTML output document: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml";> In the ca

RE: mount - ish question

2005-04-27 Thread Nathaniel Alfred
>-Original Message- >From: Chris Maloney [mailto:[EMAIL PROTECTED] >Sent: Mittwoch, 27. April 2005 17:36 >To: users@cocoon.apache.org >Subject: Re: mount - ish question > > Perhaps this should be in the documentation? How >could I try to get this added? > Input to the Cocoon Wiki will b

RE: xsp and < symbol problem

2005-04-27 Thread Nathaniel Alfred
>-Original Message- >From: Volker Bublitz [mailto:[EMAIL PROTECTED] >Sent: Mittwoch, 27. April 2005 11:57 >To: users@cocoon.apache.org >Subject: Re: xsp and < symbol problem > > >i decided to attach my current .xsp file since i can't get it >to work. >thanks for all your help. > >

FileGenerator modification? (was: RE: How to read the lastModifiedDate of the original XML file?)

2005-04-27 Thread Linden H van der (MI)
Is it possible to extend/modify the FileGenerator by adding a 'lastmodified' attribute or element to the stream? Looking through the code of FileGenerator it seems as if lastModified date is already read/parsed to decide validity. Only I have no idea how to (optionally) add the information to the

RE: How to read the lastModifiedDate of the original XML file?

2005-04-27 Thread Linden H van der (MI)
I like this idea of using an input module, but after several hours I haven't been able to get this working with the merest string variable. Could you explain this more extensively? Thanks. Bye, Helma > You could try the JXPathMetaModule. Maybe something like > > > > > >

Re: Newbie question

2005-04-27 Thread André Thénot
On Apr 27, 2005, at 13:25, Xoan wrote: It's possible to use javascript in xsp?? I would like to reuse some old code and I wonder if it would be possible. Yes. See the samples in /src/blocks/xsp/samples/javascript/ in your cocoon installation. Andre. --

Re: How do I see who's online?

2005-04-27 Thread André Thénot
On Apr 27, 2005, at 14:32, Andrew MacDonald wrote: Hello, I'd like to add a feature to the portal which lists the users who are currently logged in, similar to that which many message boards have. One way to do this is to store the user's name and last-visit timestamp in some persistent store, eg.

i18n-transformer is not picking up missing keys going up the hierarchy of catalogues

2005-04-27 Thread Anton Andreev
I have a question regarding i18n support in cocoon. We are adding complete internalization support for our website (using cocoon v2.1.5), but it seems like i18n does not work as we expected. We have catalogue_fr.xml (keys with french translations) and catalogue.xml (keys with english translations

How do I see who's online?

2005-04-27 Thread Andrew MacDonald
Hello, I'd like to add a feature to the portal which lists the users who are currently logged in, similar to that which many message boards have. My understanding is that a session context is created for each user that is logged in. So my thinking is that I might somehow get a list of all the sessi

Re: Problem with OS X Safari

2005-04-27 Thread André Thénot
Hi Beya, Haven't noticed such behavior. But then again, not knowing the address of your site, I couldn't test (I tried beyanet.com but that domain is not currently registered). If you find issues with Safari, you might be better off posting on Apple's forums[1] as I'm not sure how this relates

Newbie question

2005-04-27 Thread Xoan
Hi all, It's possible to use javascript in xsp?? I would like to reuse some old code and I wonder if it would be possible. Thanks in advance, Xoan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

Re: mount - ish question

2005-04-27 Thread Chris Maloney
Nathaniel Alfred wrote: But if the large amount of pipelines bothering you is mainly map:read with different mime-types, you should rather look at your servlet containers configuration. In Tomcat, for example, you define standard mappings in web.xml: png image/png Then maybe a lot of t

[CForms] Validate 2 group separately

2005-04-27 Thread Lionel Crine
Hi, I want to validate the tabs separately in order to send only the fields contained in one tabs. Is it possible ? My form look like the form1 example (with several tabs). Thnaks -- Lionel CRINE Ingénieur Systèmes documentaires Société : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN JOSAS Tel

Re: auth-loggedIn

2005-04-27 Thread L. Barth
André Thénot wrote > This surprises me. I have been able to use the samples on Mac OS X 10.3.8 > and 10.3.9 with JDK 1.4.2_05, tomcat 5.0.28, cocoon 2.1.6. When the auth- > fw sample does not work, do you see anything in the logs? I don't remember to see anything except in the handled-errors.log

RE: How to read the lastModifiedDate of the original XML file?

2005-04-27 Thread Linden H van der (MI)
Upayavira and Jorg, thanks for the ideas. I'll see what I can do with this. If it comes to anything, I'll put it on the wiki. Thanks. Bye, Helma > -Original Message- > From: Upayavira [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 27 April, 2005 14:27 > To: users@cocoon.apache.org > Subj

Re: How to read the lastModifiedDate of the original XML file?

2005-04-27 Thread Upayavira
Linden H van der (MI) wrote: Hi Upayavira, Thanks for the ideas. I've rejected flow because it requires me to pass all files through a , which doesn't look very elegant to me. I've also been thinking about the DirectoryGenerator before, but I can't get beyond an aggregation or cinclude of the Direc

Re: How to read the lastModifiedDate of the original XML file?

2005-04-27 Thread Jorg Heymans
Linden H van der (MI) wrote: Hi, my website consists of several XML pages that are transformed into HTML using various XSL files. I'd like to add a "last modified" timestamp, but that means I need the lastModifiedDate of the original XML, because the javascript I used takes the moment of generation

RE: How to read the lastModifiedDate of the original XML file?

2005-04-27 Thread Linden H van der (MI)
Hi Upayavira, Thanks for the ideas. I've rejected flow because it requires me to pass all files through a , which doesn't look very elegant to me. I've also been thinking about the DirectoryGenerator before, but I can't get beyond an aggregation or cinclude of the DirectoryGenerator result and a

Re: How to read the lastModifiedDate of the original XML file?

2005-04-27 Thread Upayavira
Linden H van der (MI) wrote: Hi, my website consists of several XML pages that are transformed into HTML using various XSL files. I'd like to add a "last modified" timestamp, but that means I need the lastModifiedDate of the original XML, because the javascript I used takes the moment of generation

How to read the lastModifiedDate of the original XML file?

2005-04-27 Thread Linden H van der (MI)
Hi, my website consists of several XML pages that are transformed into HTML using various XSL files. I'd like to add a "last modified" timestamp, but that means I need the lastModifiedDate of the original XML, because the javascript I used takes the moment of generation of the HTML page, which is

Re: xsp and < symbol problem

2005-04-27 Thread Volker Bublitz
i decided to attach my current .xsp file since i can't get it to work. thanks for all your help. http://apache.org/xsp";> String initialsql = "INSERT INTO cmdb (bezeichnung,kategorie,standort,admin) VALUES ('','

RE: xsp and < symbol problem

2005-04-27 Thread Nathaniel Alfred
> -Original Message- > From: beyanet.com [mailto:[EMAIL PROTECTED] > Sent: Mittwoch, 27. April 2005 10:29 > To: users@cocoon.apache.org > Subject: Re: xsp and < symbol problem > > > >thanks for that information. i tried several serializers but when i > >create output in the form > > > >

Problem with OS X Safari

2005-04-27 Thread beyanet.com
Hi, I have recently upgraded to OS X 10.3.9 using Safari 1.3 (v312). The problem I have been experiencing is that on initial load of my site you will just see a grey/white background, and it's only until you refresh the page again that you see the actual web page! Are any other OS X users exper

Re: Calling External Perl cgi script from cocoon

2005-04-27 Thread Upayavira
Olufemi Anthony wrote: Hi all, is it possible to call an external Perl cgi script from cocoon? Can someone provide an example of doing this? Well, you can use HTTP, can't you? That's probably the only straightforward way. http://localhost/cgi-bin/my-script.pl"/> Regards, Upayavira ---

Re: Calling External Perl cgi script from cocoon

2005-04-27 Thread beyanet.com
Hi all, is it possible to call an external Perl cgi script from cocoon? Can someone provide an example of doing this? Femi, I came across this interesting article some time ago: http://www.perl.com/pub/a/2002/07/02/axkit.html HTH Uzo

Calling External Perl cgi script from cocoon

2005-04-27 Thread Olufemi Anthony
Hi all, is it possible to call an external Perl cgi script from cocoon? Can someone provide an example of doing this? Thanks, -- Femi "Great spirits have always encountered violent opposition from mediocre minds." - Albert Einstein.

Re: xsp and < symbol problem

2005-04-27 Thread beyanet.com
thanks for that information. i tried several serializers but when i create output in the form String out = ""; out Volker, deal with the issue on your stylesheet end: .. HTH regards beya - To un

Re: xsp and < symbol problem

2005-04-27 Thread Volker Bublitz
thanks for that information. i tried several serializers but when i create output in the form String out = ""; out i still get the < and > and not < and > ... do i need to write my own serializer? this one doesn't work :-( String out = ""; i even tried to write a si

RE: Getting current date in Cocoon

2005-04-27 Thread Niels van Kampenhout
Chris Maloney wrote: > Now, what I'd like to know is, is there any way to use this module > to get different peices of the date (say, month and day, as separate > parameters). That seems to me that that would be easier than trying > to parse the date within XSLT. As an alternative you could use t