Re: XHTML Serializer and JX Generator - possible bug?

2006-01-25 Thread footh
Oops, I figured out the problem. It just so happened that the same pages that used dot notation JX parameters also required a querystring with more than one parameter. Under the HTML serializer, I had to use "&" to separate querystring parameters in XSL. But, that causes "&" (as opposed to

Re: how to post in 2.1.7?

2006-01-25 Thread Lars Huttar
Lars Huttar wrote: Lars Huttar wrote: Hello, An application we're developing has a need to send a POST request to a web server (with XML content), and receive a response as XML. If it were a GET request, I could just use the File generator (or map:aggregate, as there are 3 requests I need to s

Re: how to post in 2.1.7?

2006-01-25 Thread Lars Huttar
Lars Huttar wrote: Lars Huttar wrote: Hello, An application we're developing has a need to send a POST request to a web server (with XML content), and receive a response as XML. If it were a GET request, I could just use the File generator (or map:aggregate, as there are 3 requests I need to s

Re: Session null in jxtg

2006-01-25 Thread Jean-Baptiste Quenot
* Daniele Madama: > Hola, Hola, > I want to get a session attribute from a JXTemplate without success. Indeed the flow object model is different from the JXTemplate object model, sadly. You have to do: ${session} Directly. -- Jean-Baptiste Quenot http://caraldi.com/jbq/ ---

Re: Event-aware caching problem

2006-01-25 Thread Jean-Baptiste Quenot
* Jonas Lundberg: > Without these changes, it *almost* works. This is why I was > confused at first. Without this change, caching can only work if you set a « cache-validity » in the sitemap. But of course you wouldn't have event-aware caching then. I wrote an EventAwa

Re: how to post in 2.1.7?

2006-01-25 Thread Lars Huttar
Lars Huttar wrote: Hello, An application we're developing has a need to send a POST request to a web server (with XML content), and receive a response as XML. If it were a GET request, I could just use the File generator (or map:aggregate, as there are 3 requests I need to send). But these app

Session null in jxtg

2006-01-25 Thread Daniele Madama
Hola, I want to get a session attribute from a JXTemplate without success. My template is this http://apache.org/cocoon/templates/jx/1.0";> ${session} and the output http://apache.org/cocoon/templates/jx/1.0";> {parameters={}, context=null, session=null, [EMAIL PROTECTED], [EMAIL PROTE

Error Compiling Cocoon 2.1.4

2006-01-25 Thread Christian Barth
Hi! I just wanted to compile a WAR-File from the 2.1.4 sources under windows. I followed the instructions in the Docu http://cocoon.apache.org/2.1/installing/index.html#N10114 But I get the following error: C:\cocoon-2.1.4\cocoon-2.1.4>build war Using Java from C:\j2sdk1.4.2_08 Buildfile: build

XHTML Serializer and JX Generator - possible bug?

2006-01-25 Thread footh
I switched from the HTML serializer to the XHTML serializer and a peculiar thing happened. All my JX variable expressions that use "dot notation" suddenly do not output any data. So, for example, if I passed a bean-like object and tried to access one of its "getter" methods like this: ${myobject

how to post in 2.1.7?

2006-01-25 Thread Lars Huttar
Hello, An application we're developing has a need to send a POST request to a web server (with XML content), and receive a response as XML. If it were a GET request, I could just use the File generator (or map:aggregate, as there are 3 requests I need to send). It seems like the intended way t

Unsubscribing?

2006-01-25 Thread Rob Johnston
Sorry for this mail but I sent mail to [EMAIL PROTECTED] with 'unsubscribe' in subject to unsubscribe from this list, but it never responded back. I've sent like 3 mails, but continue to keep getting mail from this list. Am I doing this incorrectly? Again sorry for the mis-post. thanks, rob --

Custom validation in form

2006-01-25 Thread Duncan McLean
Hi I have a partial forms definition which calls a server-side date checking JS function (validateDate), which returns true or false depending on validity of supplied string - this seems to pass validation in the form, no matter what I enter (the function returns true/false correctly as checked th

Re: CInclude POST (again)

2006-01-25 Thread Lars Huttar
Boisvert, Éric wrote: gee thanks for the fix. being a defensive programmer , I changed the code to private String GetXmlRequest(Document doc) { String req = this.DomToString(doc); if (req.indexOf("xmlns") == -1) { // not namespace declaration found Node n = doc.getFirstChi

Build Failed on org/apache/xpath/XPathAPI

2006-01-25 Thread mailinglist
Trying to build 2.1.8 on fresh machine: XP, jdk1.5.0_06, ant 1.6.5. followed the steps as in http://cocoon.apache.org/2.1/installing/index.html. local.build.properties are identical to build.properties. local.block.properties is appended. also appended is the output from the command window. any

AW: Fetch a sitemap parameter in an XSP page

2006-01-25 Thread Urs Iwert
Sitemap.xmap ... XSP Page boolean ShowSql = parameters.getParameter("showsql", "false"); ... You have to pass a default argument !! UI -Ursprüngliche Nachricht- Von: Goetzmann Bertrand [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 25. Januar 200

RE: Fetch a sitemap parameter in an XSP page

2006-01-25 Thread Goetzmann Bertrand
Thank you ! -Message d'origine- De : Askild Aaberg Olsen [mailto:[EMAIL PROTECTED] Envoyé : mercredi 25 janvier 2006 09:20 À : users@cocoon.apache.org Objet : Re: Fetch a sitemap parameter in an XSP page Goetzmann Bertrand wrote: > Hi, > > How a sitemap parameter can be fetched in a XS

Re: Event-aware caching problem

2006-01-25 Thread Jonas Lundberg
Maybe we have a misunderstanding here... I only changed the the methods getKey() and getValidity() in the xQuery generator in the previous eXist distribution. I simply replaced these methods with the corresponding methods from the Event Aware block samples (as described in the block description). I

Re: Fetch a sitemap parameter in an XSP page

2006-01-25 Thread Aurélien DEHAY
Hello. Goetzmann Bertrand wrote: Hi, How a sitemap parameter can be fetched in a XSP document ? You can use xmlns:util="http://apache.org/xsp/util/2.0"; logicsheet: Rgds. -- Aurélien - To unsubscribe, e-mail: [EMAIL PRO

Re: Event-aware caching problem

2006-01-25 Thread Jean-Baptiste Quenot
* Jonas Lundberg: > Yes, but I also had to change the xquery generator code. Apart from event-aware stuff, what are the required changes? Which revision of XQueryGenerator are you using? As you know, this component is not provided by Cocoon, it is part of eXist. -- Jean-Baptiste Queno

Re: Questions about Cocoon and the Portlet API

2006-01-25 Thread Ralph Goers
If you use Cocoon as your portal then you configure "Cocoon portlets" (coplets). Typically, these are configured with the pipeline they are to execute to render the portlet content. If you want to invoke Cocoon pipelines from some other portal then they need to be invoked as JSR-168 portlets

Re: How can I empty the cache?

2006-01-25 Thread Ralph Goers
Yes, I read the other post. Clearing the cache in that manner doesn't sound like a very good idea. I'm just trying to figure out what is going on. I assume your generator is a cacheable processing component? If so, it has a Validity associated with it. It sounds like the Validity is return

Re: Fetch a sitemap parameter in an XSP page

2006-01-25 Thread Askild Aaberg Olsen
Goetzmann Bertrand wrote: Hi, How a sitemap parameter can be fetched in a XSP document ? Use something like parameters.getParameter("yourparametername") in a -section Askild - - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

RE: Questions about Cocoon and the Portlet API

2006-01-25 Thread Goetzmann Bertrand
Thank you Ralph, About your last sentence : "You do not need CocoonPortlet to use Cocoon pipelines within the portal", does this concern Cocoon as a portal or using Cocoon pipelines in an other portal ? Regards. Bertrand. -Message d'origine- De : Ralph Goers [mailto:[EMAIL PROTECTED]

Re: How can I empty the cache?

2006-01-25 Thread Jonas Lundberg
If you just want to get rid of the cache for now, then you could try to delete the contents of the work and temp folders. (For instance Tomcat 5.5/Work, Tomcat 5.5/temp). Regards Hans On 1/25/06, Christian Barth <[EMAIL PROTECTED]> wrote: > Hi! > > I havn't changed the data. I changed the way the