RE: Serialize with type html removes input tags, why? How to fix?

2009-01-12 Thread Smigge
Jasha Joachimsthal-2 wrote: > > Hi, > >> -Original Message- >> From: Smigge [mailto:jogil...@hotmail.com] >> Sent: maandag 12 januari 2009 16:02 >> To: users@cocoon.apache.org >> Subject: Serialize with type html removes input tags, why

Serialize with type html removes input tags, why? How to fix?

2009-01-12 Thread Smigge
Hi! I'm serializing an html document, but for some reason it drops stuff like this: Why? -- View this message in context: http://www.nabble.com/Serialize-with-type-html-removes-input-tags%2C-why--How-to-fix--tp21416081p21416081.html Sent from the Cocoon - Users mailing list archive at Nabble

Character encoding problem with umlauts (ä ö ü)

2009-01-05 Thread Smigge
Hi! I have a pipeline that takes a couple of parameters, does an sql query with them and returns the result. The problem is that it doesn't work with umlaut characters. They turn into boxes instead (and causes the sql query to break the pipeline). However, if I use eg. %C3%A4 to escape ä, it work

Re: Passing parameters to a soap:call in an xsp:logic?

2008-12-10 Thread Smigge
I apparently forgot to reply to this. Any way, the latter one worked. Thanks! Varga Zsombor wrote: > > Hi! > > Try this way: > > > request.getParameter("SOAP_URL"); > > or you should use the xsp-request taglib: > > > > Zsombor

Passing parameters to a soap:call in an xsp:logic?

2008-12-04 Thread Smigge
Hi! I'm trying to pass a URL to a soap:call. I know how to pass parameters to a xsp that contains of plain java code, but this doesn't seem to work: request.getParameter("SOAP_URL"); How can I get the parameter? Of course I could create the xsp file dynamically, but there

How to make functions within xsp:logic

2008-12-02 Thread Smigge
Hi! I'm trying to put a function inside an xsp:logic element. How is this done? Normally you have main function in a java class, but here you don't need one. So how do you make a function there? It has to be possible, right? -- View this message in context: http://www.nabble.com/How-to-make-fun

RE: How to set the language for a date?

2008-12-02 Thread Smigge
Jasha Joachimsthal-2 wrote: > > >> -Original Message- > If the transformer is not yet defined in your sitemap or its ancestors > you'll have to define it in map:components --> map:transformers. > > src="org.apache.cocoon.transformation.I18nTransformer"> > > locatio

RE: How to set the language for a date?

2008-12-02 Thread Smigge
Jasha Joachimsthal-2 wrote: > > > >> -Original Message- >> From: Smigge [mailto:[EMAIL PROTECTED] >> Sent: dinsdag 2 december 2008 8:18 >> To: users@cocoon.apache.org >> Subject: RE: How to set the language for a date? >&g

RE: How to set the language for a date?

2008-12-01 Thread Smigge
Jasha Joachimsthal-2 wrote: > > > >> -Original Message- >> From: Smigge [mailto:[EMAIL PROTECTED] >> Sent: maandag 1 december 2008 15:53 >> To: users@cocoon.apache.org >> Subject: How to set the language for a date? >> >> >>

How to set the language for a date?

2008-12-01 Thread Smigge
I'm using http://exslt.org/dates-and-times for creating dates, but it's creating the times in my system language. I would like to change this to English. How can this be done? I'm also currently using the troublesome way of putting the formats, by using date:month-abbreviation() and such separate

Using source-writer to write plain text files?

2008-11-26 Thread Smigge
Hi! I've used the transformer to create multiple xml files with one xslt. Is it possible to use this also to create plain text files? I've tried putting plain text to the route of the element but then it won't write anything. -- View this message in context: http://www.nabble.com/Using-sourc

Re: How to exclude non-html-elements from HTML serialization

2008-11-16 Thread Smigge
Andy Stevens-2 wrote: > > 2008/11/14 Smigge <[EMAIL PROTECTED]>: >> >> Hi! >> >> I have an HTML serialization, in which I have a structure just for >> logging >> purposes like this: >> >> >> logging stuff >> >> &

How to exclude non-html-elements from HTML serialization

2008-11-14 Thread Smigge
Hi! I have an HTML serialization, in which I have a structure just for logging purposes like this: logging stuff HTML-stuff However, the logging stuff is visible on the HTML page as well, and I don't want that. I could make an extra transformer to throw the log-structure away, but ther

Re: How to Cinclude nothing when a file doesn't exist or have alternative map:generate files

2008-11-14 Thread Smigge
Hi! No I hadn't. Thanks for pointing that selector out. That was just what I was looking for! It works now! "DAVIGNON Andre - CETE NP/DIODé/PANDOC"-2 wrote: > > Hi, > > Have you tried the resource-exists selector ? > > > > André > > -- View this message in context: http://www.nabble.c

How to Cinclude nothing when a file doesn't exist or have alternative map:generate files

2008-11-14 Thread Smigge
I have a match pattern that makes some tests and also reports about the contents of a file, if the file happens to exist. The problem is that cocoon crashes if the file doesn't exist. I can see two possible solutions, but don't know how to implement them 1) having alternative match patterns: when