Re: Comment accéder à une variable d' instance d'un object stocké dans la sessi on utilisateur

2005-09-12 Thread Benjamin Francisoud
Sylvain Wallez wrote: Benjamin Francisoud wrote: J'ai le code suivant qui met un objet en session: MyBean bean = new MyBean(); request.getSession().setAttribute(MyKey, bean); Avec dans MyBean: public class MyBean{ private int numResult; public MyBean() { } public int

Re: Question bête sur Reader PDF

2005-09-12 Thread gael
Hmm... se pourrait-il qu'il y ait un souci avec le transfert en byte-range lorsque le reader lit depuis une source http? Qu'est-ce que ça donne avec: map:read src=http://url/du/fichier.pdf; map:parameter name=byte-ranges value=false/ /map:read Bien vu ! Cela fonctionne ! Qu'est-ce que

Re: Question bête sur Reader PDF

2005-09-12 Thread Sylvain Wallez
[EMAIL PROTECTED] wrote: Hmm... se pourrait-il qu'il y ait un souci avec le transfert en byte-range lorsque le reader lit depuis une source http? Qu'est-ce que ça donne avec: map:read src=http://url/du/fichier.pdf; map:parameter name=byte-ranges value=false/ /map:read Bien vu ! Cela

Re: Question de style en XSP!

2005-09-12 Thread Philippe Guillard
Evidemment mon test n'etait pas serieux, sans doute mon gros XSP avait un probleme quelquepart... Je ne savais pas comment formuler ma question autour d'un best practice pour ecrire un XSP, et j'ai ma reponse dans cette ligne essentielle !! dans un xsp:logic, seule les noeuds texte fils directs

i18n dans xsl:attribute ?

2005-09-12 Thread Laurent Perez
Hello J'ai un comportement curieux avec ce bout de code : xsl:element name=e xsl:attribute name=fooi18n:textfooKey/i18n:text/xsl:attribute /xsl:element Normalement, je devrais obtenir e foo=valeur_de_la_clef_foo/. seulement, j'obtiens e foo=/, la transformation i18n a sauté au passage. Dans le

Re: Welcome to our cocoon site

2005-09-12 Thread Jeroen Reijn
Hi Johnson, no you can't. AJAX stands for Asynchronous JavaScript and XML, so don't worry about the javascript part :-) Jeroen 許議中 wrote: tks very much. The javascript is used by cform,can you use cform without javascript? Best Regards Johnson - Original Message -

Re: How to evaluate an xpath expression against a dom tree in flow ?

2005-09-12 Thread Marc Salvetti
Yes! thx a lot Tony, exactly what i needed ! btw is this referenced anywhere in the cocoon docs, because i've been looking for a while for some docs with this kind of practice or tips in flowscript, but never found anything consistant ? Marc Tony Edwards a écrit : Hi Marc, I use the

Re: Using Cocoon as a SOAP Client

2005-09-12 Thread Christoph Hermann
Bertrand Delacretaz schrieb: Hello, ...is there an easy way to use cocoon as a SOAP Client?.. Did you have a look at http://wiki.apache.org/cocoon/FlowAndWebServices ? I don't know how current it is, or even it it works, but it looks promising. Thanks for the hint! It works fine

Re: Using Cocoon as a SOAP Client

2005-09-12 Thread Bertrand Delacretaz
Le 12 sept. 05, à 10:48, Christoph Hermann a écrit : Bertrand Delacretaz schrieb: ...Did you have a look at http://wiki.apache.org/cocoon/FlowAndWebServices ?... ...Thanks for the hint! It works fine (retrieving a version). Now i need to find out what would happen if the Service returns XML

Problem with fd:group and fd:struct

2005-09-12 Thread baskar.ganesh
Hi all, Can anyone help me out in using fd:group instead of fd:struct? While using fd:group I am getting the following exception :- org.apache.avalon.framework.CascadingException: Unknown kind of widget 'group' Does any namespace needs to be declared on fd:form? Basicaly I

[GT2005] Program online: it's time to register!

2005-09-12 Thread Arje Cahn
Cocoon GetTogether 2005 Friday, October 7th in Amsterdam, The Netherlands Hackathon on October 5th 6th http://www.cocoongt.org 09:00-09:15 Welcome 09:15-09:30 Opening talk from the PMC chair: State

RE: Expired continuations

2005-09-12 Thread Stuart Thorne
Hi Garry, In the sitemap.xmap, within your map:selectors, you could add the following exception class=org.apache.cocoon.components.flow.InvalidContinuationException name=invalid-continuation / Then where you're doing error-handling in the sitemap, e.g. map:handle-errors map:select

Re: Welcome to our cocoon site

2005-09-12 Thread Jonas Lundberg
The _javascript_ I was thinking about is used in the menus. I would try to avoid any solution that demands _javascript_ for such a basic function as a navigation widget. Why would you need Asynchronous _javascript_ and XML for a menu? How about a traditional hyperlink, which will always work?

CLOB Insert into Oracle from post

2005-09-12 Thread Andreas Busch
Hi again, almost searching for any hints to insert a XML-Doc coming in via POST into a CLOB - Col in Oracle and process it in the pipeline futher on, SQLTransformer can not insert values larger then (32000) (Oracle Stringsize) The parameter (setBigStringTryClob )for the JDBC-Driver can

Re: Using Cocoon as a SOAP Client

2005-09-12 Thread Christoph Hermann
Bertrand Delacretaz schrieb: Hello, http://wiki.apache.org/cocoon/FlowAndWebServices ?... It works fine (retrieving a version). Ok - if you develop this further it might be nice to integrate in Cocoon, as a block or sample. Please keep us posted, or update the wiki page with your

Rép. : CLOB Insert into Oracle f rom post

2005-09-12 Thread Willy Reinhardt
Hi, We had the same problem using Tiny JDBC driver version 9.2.0.5.0 with Oracle 9.2. The problem with CLOB or BLOB is you need a native OracleConnection instead of Connection after looking for solution I found following possibillities: - Use OCI driver - you need to install the oracle

Re: Welcome to our cocoon site

2005-09-12 Thread 許議中
The AJAX is for CForm, not menu. Because of If we use the cform in portal,All the JS will vanish,So we need to define the JS in portal. Best Regards Johnson - Original Message - From: Jonas Lundberg To: [EMAIL PROTECTED] Cc: users@cocoon.apache.org Sent: Monday,

Problems with fd:union

2005-09-12 Thread baskar.ganesh
Hi all, We are facing a problem with fd:union If we use fd:union then the fd:submit functionality seems to be not working. One more problem is if we mention fd:group then it is giving the following exception org.apache.avalon.framework.CascadingException: Unknown kind of widget

Re: Problems with fd:union

2005-09-12 Thread Jason Johnston
[EMAIL PROTECTED] wrote: We are facing a problem with fd:union If we use fd:union then the fd:submit functionality seems to be not working. What about it is not working? Your example code did not include any fd:submit widgets, so it's not clear what you're trying to do. One more problem

RE: Problems with fd:union

2005-09-12 Thread baskar.ganesh
HI Jason, Is this option available with cocoon 2.1.5*? Because we are getting the following error /mc/Demo/groupTest full exception chain stacktrace Original Exception: java.lang.ClassNotFoundException: No ClassLoaders found for: org.apache.cocoon.forms.formmodel.GroupDefinitionBuilder

Re: Problems with fd:union

2005-09-12 Thread Jeroen Reijn
Hi Baskar, as far as I know the group widget was officially added (of was in favor of the struct ) when cocoon 2.1.7 was released. So I guess you will have to use struct in you case if you want to use 2.1.5.something. Greetz, Jeroen [EMAIL PROTECTED] wrote: HI Jason, Is this option

EJB access

2005-09-12 Thread Carlos Dias
I'm trying to access to a EJB with the following Action Class: public class DBN1ModelAction extends AbstractAction { private static final Logger log = Logger.getLogger(DBN1ModelAction.class); // Instance methods. ** /**

Out of Memory Exception

2005-09-12 Thread Bruce Perryman
Hi, I've searched and seen that others have had this problem, but I haven't found a posted resolution. I'm sure this will ring a bell here. After the application runs for a while, Tomcat reports that Cocoon threw exception java.lang.OutOfMemoryError. The only way to clear the problem is to

Re: How to evaluate an xpath expression against a dom tree in flow ?

2005-09-12 Thread Tony Edwards
Hey Marc, Glad I could help. What I find when I'm developing with flowscript is that it gives you the tremendous ability to 'think outside the square' because flowscript can allow you to instanciate and use nearly every java object that's lying around. I don't know how I stumbled across this

Java stream into pipeline?

2005-09-12 Thread Gaston Martini
Hi all Our problem is this: we need to embed a dynamically generated SVG chart into an XHTML page (also dynamically generated). THIS IS OUR APPROACH: We have an SVG chart in a java stream generated by Batik. We need to insert it into a pipeline and serialize it. In Java code: ... create

Re: Java stream into pipeline?

2005-09-12 Thread Jason Johnston
Gaston Martini wrote: Hi all Our problem is this: we need to embed a dynamically generated SVG chart into an XHTML page (also dynamically generated). THIS IS OUR APPROACH: We have an SVG chart in a java stream generated by Batik. We need to insert it into a pipeline and serialize it.

Re: Out of Memory Exception

2005-09-12 Thread Antonio Gallardo
Bruce Perryman wrote: Hi, I've searched and seen that others have had this problem, but I haven't found a posted resolution. I'm sure this will ring a bell here. After the application runs for a while, Tomcat reports that Cocoon threw exception java.lang.OutOfMemoryError. The only way to

Error-handling issue with complex sitemap

2005-09-12 Thread footh
I have a site map that calls a javaflow, then uses multiple internal pipelines to aggregate content together. The problem is, when a resource that doesn't exist is requested, a 404 error is not generated. The url of the requested resource is used to determine the source of one of the pieces in

Re: Out of Memory Exception

2005-09-12 Thread Bruce Perryman
Does this mean that there was a bug/memory leak in Cocoon? Tomcat? Java? Or all of the above? --- Antonio Gallardo [EMAIL PROTECTED] wrote: Bruce Perryman wrote: Hi, I've searched and seen that others have had this problem, but I haven't found a posted resolution. I'm sure this will

CForms: Upload Widget in 2.1.7

2005-09-12 Thread Scott Yeadon
Hi, I've upgraded my Cocoon from 2.1.5 to 2.1.7 and there seems to be a problem with the Upload widgets. I have a CForm which has an upload widget, I select a file and value appears in the field, I then hit a submit-type button which executes the ActionListener code. Within this code under