Re: fop 0.91 beta

2006-03-01 Thread Antonio Fiol Bonnín
No. The API is really different. I suppose a patch to make it work would be welcome. -- Antonio 2006/2/27, Beat De Martin [EMAIL PROTECTED]: Hi folks Can I use fop 0.91 beta with Cocoon 2.1.8 ? I just got an error. Cheers Beat De Martin Zurich, Switzerland -- 10 GB Mailbox, 100

Re: CForms button clicks verses enter in IE

2006-02-09 Thread Antonio Fiol Bonnín
2006/2/8, Archie Cowan [EMAIL PROTECTED]: We have a set of cocoon forms that are split into multiple pages by changing the widget state on a group of widgets that make up the different pages when buttons are pushed on the page. These are pretty much the same thing as the multipage example

Re: setting a validation error on another field

2006-02-09 Thread Antonio Fiol Bonnín
Apparently, the current code on svn for parent.validate() should return false if any widget contained in parent (if parent is a group) is not valid. I did not check any previous versions, but if it does not return false, could you please tell us what Cocoon version you are using? -- Antonio Fiol

Re: Forms encoding problem

2006-02-08 Thread Antonio Fiol Bonnín
2006/2/8, Derek Hohls [EMAIL PROTECTED]: What I have done; Tried all the settings as suggested so far in this thread... switching everything to UTF-8 - checked ALL my files for any sign of ISO... (to avoid mixing concerns) ... still no luck! Looked in the offending forms and found the #160;

Re: a suprise problem

2006-02-07 Thread Antonio Fiol Bonnín
2006/2/7, wangwenzhou wangwenzhou [EMAIL PROTECTED]: Initialization Problem Message: org.apache.cocoon.faces.samples.components.taglib.AreaTag Description: org.apache.avalon.framework.configuration.ConfigurationException: Could not load class

Re: Cforms binding differences between 2.1.7 and 2.1.8?

2006-02-07 Thread Antonio Fiol Bonnín
I don't think so. I am executing ldap:execute-query only, and the same pipeline (=ldap query) works in other places in our application. It looks more like a binding issue instead, possibly being caused by absolute xpath expressions pointing outside the context. -- Antonio 2006/2/8, Antonio

Re: Forms encoding problem

2006-02-07 Thread Antonio Fiol Bonnín
2006/2/8, Derek Hohls [EMAIL PROTECTED]: PS Is there any good reason to prefer ISO-8859-1 over UTF-8 ... these seem to be used interchangeably, but I guess they are not? They are different. If your app only uses latin characters, you could use one or the other. Otherwise, you should use

Cforms binding differences between 2.1.7 and 2.1.8?

2006-02-06 Thread Antonio Fiol Bonnín
Hello, I am using bindings to edit a certain part of the file. However, I am trying to get some fields mapped to a completely different part of it. I think this binding file used to work perfectly with 2.1.7 and does not work completely on 2.1.8. Any idea why? The portion not working (fields do

XHTMLSerializer: The default encoding of this JVM ISO8859_15 is not supported

2006-02-06 Thread Antonio Fiol Bonnín
Hello, I am getting this exception when configuring a XHTMLSerializer with UTF-8 encoding. org.apache.cocoon.components.serializers.encoding.CharsetFactory$CharsetFactoryException: The default encoding of this JVM ISO8859_15 is not supported at

Re: Questions re: source resolving porting from 2.1.6 = 2.1.8

2006-01-31 Thread Antonio Fiol Bonnín
2006/1/31, Mark Lundquist [EMAIL PROTECTED]: Hi all, I have a bunch of Cocoon apps based on 2.1.6, and I'm actually just rev-ing the first of these up to 2.1.8. So far so good, mostly... but I have two questions: 1) Sources appear to be resolved differently. Some background: my root

Re: Trying to implement two-phase authentication with flow

2005-12-19 Thread Antonio Fiol Bonnín
2005/12/15, Stan Dyck [EMAIL PROTECTED]: On Wed, 2005-12-14 at 15:52 +0100, Antonio Fiol Bonnín wrote: 2005/12/13, Stan Dyck [EMAIL PROTECTED]: The question is how to do a lookup for the content of the second page after the sendPageAndWait call in my flowscript. My script calls

Re: Easier indexing

2005-12-19 Thread Antonio Fiol Bonnín
You can try with xinclude or cinclude on a dynamically generated source plus some transformations. -- Antonio 2005/12/19, Dan Nicolici [EMAIL PROTECTED]: Hi! I am indexing my website with the LuceneIndexTransformer like this: map:match pattern=site/indexAll

Re: Help me please!

2005-12-14 Thread Antonio Fiol Bonnín
Index the content of the site: - alternatives: - crawl the site - LuceneIndexTransformer -- Search the previous formed index: - using

Re: Resource comparison between Cocoon and Struts/JSP??

2005-11-30 Thread Antonio Fiol Bonnín
We have a customer looking to build an architecture around Open Source frameworks. He has asked us about the differences in needed resources (CPU, Memory) when writing an application using Cocoon as compared to a Struts/JSP solution. While I realize the answer is probably that depends, there

Re: Configuring input modules in a sitemap

2005-11-19 Thread Antonio Fiol Bonnín
The only way I found is in cocoon.xconf. However, if you find a way, it would be very nice to know. -- Antonio 2005/11/18, Upayavira [EMAIL PROTECTED]: Is it possible to define an XMLInputModule in a sitemap (2.1.X)? And have the XML file it refers to be relative to that sitemap? Regards,

Re: Cron Triggers

2005-11-19 Thread Antonio Fiol Bonnín
Also, can thecron call URL instead of Java class ? It can call a pipeline. See the examples in cocoon.xconf -- Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: javaflow problem

2005-11-16 Thread Antonio Fiol Bonnín
2005/11/16, Carlos Maté [EMAIL PROTECTED]: I'm using cocoon 2.1.7. In a javaflow class. I have this code: if( getComponent(DataSourceComponent.ROLE + Selector)instanceof ComponentSelector); { ComponentSelector selector = (ComponentSelector) getComponent(DataSourceComponent.ROLE +

Re: Can i do this thing?

2005-11-08 Thread Antonio Fiol Bonnín
2005/11/8, Angelo Immediata [EMAIL PROTECTED]: Hi all. I must do a link rewriteron an HTML file tha i have form tidy generator. I must rewite the link by using some values contained in a java.util.Map; i have this Map populated by the content in the tag a; i.e if the link is a

Re: process file input type=file

2005-11-08 Thread Antonio Fiol Bonnín
2005/11/8, Andres Taborda [EMAIL PROTECTED]: I need make an forms for read and execute file some input type= file. the file are instructions SQL and want import to postgresql. how can make it with cocoon. Use cforms upload widget

Re: Strange caching issue: need to reload twice

2005-11-07 Thread Antonio Fiol Bonnín
2005/11/3, Sylvain Wallez [EMAIL PROTECTED]: Hmm... could this be related to the refresh delay of the directory generator[1]? What happens if you add map:parameter name=refreshDelay value=0/ in the generate type=directory ? Sylvain, we tested value=0, and got the same effect. Going

Re: using XML from the generation in the sitemap

2005-11-07 Thread Antonio Fiol Bonnín
Thanks for the replay ... just to make it clear and before I drop my last hope, I want to use XPATH-expression in the following map:transformer/. Still no ... ? You can read the result of *another* pipeline, using InputModules, as Upayavira already said using other words. -- Antonio

Re: Sharing is caring... selection-list for country codes?

2005-11-05 Thread Antonio Fiol Bonnín
2005/10/11, Sylvain Wallez [EMAIL PROTECTED]: Mark Lundquist wrote: I need an XML file with an fd:selection-list full of country name = ISO country codes... So, who's got one? :-) If you have one, I'll happily include it in the Cocoon forms jar, so that you could write

Re: Strange caching issue: need to reload twice

2005-11-04 Thread Antonio Fiol Bonnín
Sylvain, Joerg, Thank you both for your responses. 2005/11/3, Sylvain Wallez [EMAIL PROTECTED]: Hmm... could this be related to the refresh delay of the directory generator[1]? What happens if you add map:parameter name=refreshDelay value=0/ in the generate type=directory ? Sylvain, we

Strange caching issue: need to reload twice

2005-11-03 Thread Antonio Fiol Bonnín
Hello, With current SVN version, and also with 2.1.7, I am seeing a strange caching issue: For a certain document (relevant sitemap portions attached below), when the source (a directory) changes, I need to reload twice to get the right content in my browser. Any help tracking this problem would

Re: Strange caching issue: need to reload twice

2005-11-03 Thread Antonio Fiol Bonnín
2005/11/3, Antonio Fiol Bonnín [EMAIL PROTECTED]: Hello, With current SVN version, and also with 2.1.7, I am seeing a strange caching issue: For a certain document (relevant sitemap portions attached below), when the source (a directory) changes, I need to reload twice to get the right

Re: Strange caching issue: need to reload twice

2005-11-03 Thread Antonio Fiol Bonnín
2005/11/3, Sylvain Wallez [EMAIL PROTECTED]: Antonio Fiol Bonnín wrote: Hello, With current SVN version, and also with 2.1.7, I am seeing a strange caching issue: For a certain document (relevant sitemap portions attached below), when the source (a directory) changes, I need to reload

session-context:authentication not working... why?

2005-10-07 Thread Antonio Fiol Bonnín
Does anyone see why this tells me that: org.apache.excalibur.source.SourceException: The attribute: authentication/authentication/data is empty map:act type=auth-protect map:parameter name=handler value=auth-handler/ map:generate src="" / map:serialize / /map:act Thank you very much.--

Re: session-context:authentication not working... why?

2005-10-07 Thread Antonio Fiol Bonnín
org.apache.excalibur.source.SourceException: The attribute: authentication/authentication/data is empty map:act type=auth-protect map:parameter name=handler value=auth-handler/ map:generate src=module:session-context:authentication/authentication/data /

Re: flow problem with reload button

2005-10-07 Thread Antonio Fiol Bonnín
I have not found a solution for this problem yet. Could anyone please help me a step further? Thanks in advance. -- Antonio 2005/10/5, Antonio Fiol Bonnín [EMAIL PROTECTED]: Hello, Thank you for replying. I'm using POST. The template for A is: ... ft:form-template action

Re: stress testing a cocoon based application

2005-10-07 Thread Antonio Fiol Bonnín
As a new continuation is generated after each new user request, in pratice diferent users receive and submit diferent urls. The problem with webserver stress testing tools i've found so far is that they rely on static urls and can't simulate a user introducing data on form. JMeter can read

Re: flow problem with reload button

2005-10-05 Thread Antonio Fiol Bonnín
at matters): ... ft:form-template action="" method=POST h2ft:widget-label id=nombre//h2 pft:widget id=nombre//p ... I am not using any parameters on the URL query string. 2005/10/4, Sylvain Wallez [EMAIL PROTECTED]: Antonio Fiol Bonnín wrote: Hello, I am having strange problems (described

Re: flow problem with reload button

2005-10-05 Thread Antonio Fiol Bonnín
2005/10/4, Christoph Hermann [EMAIL PROTECTED]: Christoph Hermann schrieb:Hello, I think your problem is somewhere along formLista = null; // Prepare form B, using the ID for the new or edited record formFicha = createForm(formDefinitionB, bindingURIBPrefix + idRestaurante, datos); Try changing

flow problem with reload button

2005-10-04 Thread Antonio Fiol Bonnín
Hello, I am having strange problems (described below) when hitting the reload button on my browser when displaying form B in scenario described below. Could anyone please help me understand why? I am using a 2-form approach to editing an XML file, one for a first level view and a deeper detail

NullPointerException using cron block

2005-08-31 Thread Antonio Fiol Bonnín
Hello, Using Cocoon 2.1.7 I defined a cron job in cocoon.xconf, created the pipeline, which calls a function. The function does a sendPage, and the called pipeline calls an action. The result: the log is populated with an exception like the following on every execution of the cron job.

Re: map:mount src=some.xmap makes cocoon.sendPage fail

2005-08-31 Thread Antonio Fiol Bonnín
The fact is that the same code leads to different results depending on whether I use ./ or not on the map:mount element src attribute. If I use it, pipeline means cocoon:/pipeline. If I don't, pipeline means nothing, as neither cocoon:/pipeline nor cocoon://pipeline are called, if I did not go

Re: Caching mysteries (was: Re: Caching: do I interpret ...)

2005-08-31 Thread Antonio Fiol Bonnín
I think there might be something strange about the caching on aggregators. I found strange behaviour related to aggregation of ldap-transformer-produced results. But I have not had time to investigate the root cause of the strangeness. -- Antonio 2005/8/31, Sandor Spruit [EMAIL PROTECTED]:

Re: Caching mysteries

2005-08-31 Thread Antonio Fiol Bonnín
[EMAIL PROTECTED]: Antonio Fiol Bonnín wrote: I think there might be something strange about the caching on aggregators. I found strange behaviour related to aggregation of ldap-transformer-produced results. But I have not had time to investigate the root cause of the strangeness.Thanks

map:mount src=some.xmap makes cocoon.sendPage fail

2005-08-25 Thread Antonio Fiol Bonnín
Hello, I have discovered that on Cocoon 2.1.7 (not tested on other versions), if I have: map:mount check-reload=yes src="" uri-prefix=internal/ and internal.xmap contains: map:flow language=_javascript_ map:script src=""> /map:flow and map:match pattern=pipeline ... /map:match and another

Re: Authentication in Cocoon against MS-AD

2005-08-02 Thread Antonio Fiol Bonnín
Yes, you can user the LDAP transformer. However, you may use two different approaches: Approach 1: Do you already know the DN of the user trying to log in? Yes: Use it as binding DN No: You will need to first bind with a known user, get the DN for the user trying to log-in, transform that again

Re: write file

2005-08-02 Thread Antonio Fiol Bonnín
You can use the CopySourceAction. 2005/7/21, Andres Taborda [EMAIL PROTECTED]: some user know how to selectionthe source with pipeline and send the source to anfile.Is say, write the file to the disk.__Correo Yahoo!Espacio para todos tus mensajes,

Re: document(...) broken when using xsltc

2005-07-28 Thread Antonio Fiol Bonnín
2005/7/27, Joerg Heinicke [EMAIL PROTECTED]: On 27.07.2005 15:54, Antonio Fiol Bonnín wrote: I have been changing my transforms to execute with XSLTC instead of interpreted Xalan. However, some of them did not work properly, showing erratic behaviour, or even throwing NullPointerException

Re: Sitemap Performance Optimization

2005-07-11 Thread Antonio Fiol Bonnín
2005/7/8, Vilya Harvey [EMAIL PROTECTED]: I'd expect the single matcher to perform significantly better [...] There is NO serialization and reparsing when reading from a cocoon:/ URL! The serializer stage is ignored and SAX events are passed from one pipeline to the other one.I stand corrected!

LDAP transformer / Content aggregation / Cacheability

2005-07-11 Thread Antonio Fiol Bonnín
Hello, I am using the LDAP transformer, which, AFAIK, is not cacheable. However, I use the result of it, after a XSLT transformation, in a part of an aggregate. See the sitemap fragment below for details. I am observing a strange result: if the aggregate is in a type=caching pipeline, the result

Sitemap Performance Optimization

2005-07-08 Thread Antonio Fiol Bonnín
Hello, I would like to improve performance on my cocoon application. I had an idea, but I'd like to confirm that it would be useful. On my sitemap, I have many small matchers, like: map:match pattern=foo map:generate type=file src=""> map:transform type=xslt src=""> map:serialize type=xml

REPOST: row-actions move-up and move-down not working

2005-06-30 Thread Antonio Fiol Bonnín
Any hints, please? I've been trying different things but I am completely lost. If only someone could direct my research a bit, it would be really helpful. Yours, -- Antonio-- Forwarded message --From: Antonio Fiol Bonnín [EMAIL PROTECTED] Date: 27-jun-2005 10:24Subject: move-up

move-up and move-down not working

2005-06-27 Thread Antonio Fiol Bonnín
Hello, I am using a repeater with move-up and move-down row-action buttons. Adding, deleting, and modifying works perfectly. move-up and move-down do not work. Can anyone help me track the problem down? Note: The componentes empty element is filled with persona elements by another form. The

Re: Graphs in Cocoon based upon database

2005-06-27 Thread Antonio Fiol Bonnín
I had success with fins. My needs were quite simple, and it was not very hard to set-up and get the results. http://www.sidimar.ipzs.it/fins012/docs/index.html Yours, -- Antonio Fiol2005/6/27, Yves Vindevogel [EMAIL PROTECTED]: Hi,Does anybody have a suggestion on how to create graphs based

Re: Altering a query string in a sitemap?

2005-04-25 Thread Antonio Fiol Bonnín
map:match pattern=/aaa/bbb map:redirect-to uri=/aaa/bbb?{request-param:Q} / !-- Untested: uri=?{request-param:Q} -- /map:match 2005/4/22, Jeff Sexton [EMAIL PROTECTED]: I need to turn a request that looks like this: /aaa/bbb?Q=[a string] into this: /aaa/bbb?[a string] In my

Re: CVSSource

2005-04-22 Thread Antonio Fiol Bonnín
2005/4/21, Cédric Damioli [EMAIL PROTECTED]: Antonio Fiol Bonnín a écrit : Hello, I am trying to use the CVSSource on Cocoon 2.1.5. What I tried is adding to cocoon.xconf: (1 line context information) component-instance class

CVSSource

2005-04-21 Thread Antonio Fiol Bonnín
Hello, I am trying to use the CVSSource on Cocoon 2.1.5. What I tried is adding to cocoon.xconf: (1 line context information) component-instance class=org.apache.cocoon.components.source.impl.ModuleSourceFactory name=module/ component-instance name=cocodoco-cvs

Re: use-request-parameters SQL Transformer

2005-04-21 Thread Antonio Fiol Bonnín
A related concern is: Is some kind of SQL injection possible using these parameters? I would also be interested in the use-request-parameters feature for the SQLTransformer. 2005/4/21, Volker Bublitz [EMAIL PROTECTED]: is there a way to use something like map:parameter

Re: [FINS] is this still alive? JFreeChart option?

2005-04-01 Thread Antonio Fiol Bonnín
On Mar 23, 2005 12:58 PM, Luca Morandini [EMAIL PROTECTED] wrote: Yes Jorg, Fins needs manual adjusting to every new feature of JFreeChart, there is no automagic way to wrap an XML layer around it, AFAIK. Hi, What about a set of commons-digester rules? I am in vaporware stage on a project

Re: Parsing certificates

2004-09-15 Thread Antonio Fiol Bonnín
You'll need a generator, not a transformer. A transformer gets XML on its input. Suggestion: Extend FileGenerator. Override setup() and execute(). Antonio Fiol On Wed, 15 Sep 2004 17:19:01 +0400, Timur Izhbulatov [EMAIL PROTECTED] wrote: Hi all! I was thinking about converting X.509

Re: Out of Memory error base64 encoded to SVG to JPG

2004-09-13 Thread Antonio Fiol Bonnín
YMMV, but we've never needed so much. Running more or less nicely on a 512Mb shared machine. Just a comment - 448MB is *very* low for a Java-based servlet such as Cocoon - I think at least 2GB is recommended... - To

Re: java problem in XSP

2004-09-10 Thread Antonio Fiol Bonnín
p.getErrorStream() On Thu, 9 Sep 2004 23:49:06 -0700 (PDT), sreenivas reddy [EMAIL PROTECTED] wrote: Hi Process p=Runtime.getRuntime().exec(arg); //in linux BufferedReader br =new BufferedReader(new InputStreamReader(p.getInputStream())); while ((line = br.readLine()) !=

Re: Session Persistance, Tomcat Cocoon

2004-09-09 Thread Antonio Fiol Bonnín
is there a way to prevent Tomcat (5.0.19) from storing all active sessions when shuting down. Search the tomcat-user mailing list archives. This is a frequently posted question. The answer is something related to changing some parameter of the Manager. But I do not recall the details right