Re: Extract and display Base64 data from WordprocessorML?

2005-08-24 Thread Irv Salisbury
This doesn't get you all the way, but for our Base64 needs (for encoding URL parameters) we used the code from: http://ws.apache.org/soap/docs/apiDocs/org/apache/soap/encoding/soapenc/Base64.html It works pretty well, and you can change the default alphabet if you want. So, there are a number

HTML embedded in XML

2005-08-24 Thread footh
In Javaflow, I call out to a web service (Google's, to be specific) and get a bunch of results returned. Then, I combine these results into my own XML DOM object, stuff the object into a Parameter map and send it off to a JX page. As a result, I can easily inject the XML fragment into my page by m

Problem building cocoon

2005-08-24 Thread Pelssers, Robby, VF-NL
Hi, I downloaded the cocoon-2.1.7-src.tar.gz from http://cocoon.apache.org/mirror.cgi and tried to install cocoon on a sun machine. That didn't work (build failed). Hower strange is that it works when installing it locally on my laptop in cygwin. I noticed also that when untarring, a folder cocoo

RE: [SOLVED] logger -- I'm missing someting

2005-08-24 Thread Boisvert, Éric
done: http://wiki.apache.org/cocoon/UnderstandingCocoonLogging -Message d'origine- De : news [mailto:[EMAIL PROTECTED] la part de Jorg Heymans Envoyé : 23 août, 2005 18:29 À : users@cocoon.apache.org Objet : Re: [SOLVED] logger -- I'm missing someting great tutorial/writeup, thanks for

Extract and display Base64 data from WordprocessorML?

2005-08-24 Thread Jonas Lundberg
WordprocessorML documents save images as Base64 blobs in the XML code. Is there any way of extracting and displaying these images? (I would not want to write a serializer for this, if there is one already) Hans - To unsubscribe,

Re: SOLVED I18NMessage in ValidationError not translated.

2005-08-24 Thread Thomas Lutz
Ok, I got it. You have to call the i18n transformer right after the form generation step, at least it has to be performed before the forms-samples-styling.xsl transforming. It does not matter which catalogue contains the messages, as you can specify a catalogue in the i18n transforming step.

Re: Passing Java Objects from FlowScript to pipeline components?

2005-08-24 Thread Jorg Heymans
Sandor Spruit wrote: > > In other words: I can use the session object to store Java objects of an > *aggregated* data type (Collection type), and I can iterate over it. But > if I want to access the same parameters in JX or XSLT, I need to have an > *individual* parameter available. Right? > F

Re: Passing Java Objects from FlowScript to pipeline components?

2005-08-24 Thread Sandor Spruit
footh wrote: If all you want to do is pass an object from flow to transformer, as David suggested I believe you can just stick it in the request and pick it up using the getRequest().getAttribute() method of the transformer. I've been successful doing this with a session object (by calling getRe

Re: mix AJAX with cocoon

2005-08-24 Thread Nacho Jimenez
Aside of the 'Gmailization' of the CForms templates that's going on, I have developed a small set of javascript functions to move part of the controller to the browser (control of menus, error messaging from the server, etc..). I know some of you will think of that move as anathema (banish him! He'

Re: I18NMessage in ValidationError not translated.

2005-08-24 Thread Thomas Lutz
Well, actually I don't have a Forms and a Other catalogue, I have: src="org.apache.cocoon.transformation.I18nTransformer"> true And I put the message in both. Studying the samples I tried to add a "forms" and a "other" catalogue, too, but