Javaflow and flowscript together

2008-02-01 Thread Carlos Maté
Hi, I'd like to use some flows written in javascript and others written in java. I wanna use javaflow and flowscript together but I Only one is allowed in a sitemap And i need to specify both languages. ¿What can I do? Thangks.

Re: Applet Servlet communication

2007-01-26 Thread Carlos Maté
Hi. I can return a string from cocoon but I have problems with special characters. If I send á or ñ I receive ? I`ve tried to specify ISO-8859-1 in the text serializer but It doesn't run. Thanks. Carlos Maté wrote: Hi, My applet expects a string as an answer. In the sitemap I want to c

JX generator Vs jx transformer

2007-01-23 Thread Carlos Maté
Hi. In cocoon 2.1.10 I've token a look to cocoon\samples\blocks\forms\pagination the example uses In my sitemap, because I needd xinclude before apply jx transformations, I use: Doing this change page${repeater.getDisplayableCurrentPage()}/${ repeater.getDisplayableLastPage()} doesn`t run

Re: cocoon 2.1.9 Sun ONE Web Server 6.1SP3

2006-10-17 Thread Carlos Maté
Hi. Finally I solved the problem. I added cocoon 2.1.9 jars into classpathsuffix option in the config/server.xml  file. I don`t know why it's necessary. With cocoon 2.1.7 and 2.1.8 I didn't have  this problem. Thanks.

cocoon 2.1.9 Sun ONE Web Server 6.1SP3

2006-10-16 Thread Carlos Maté
Hi, I need to install cocoon 2.1.9 into Sun ONE Web Server 6.1. But when I start de server I obtain: failure: CORE4007: Internal error: Unexpected Java exception thrown (java.lang.NoClassDefFoundError: org/xml/sax/ext/Attributes2, org/xml/sax/ext/Attributes2), stack: java.lang.NoClassDefFoundError:

RE: Applet Servlet communication

2006-10-02 Thread Carlos Maté
roen Reijn Carlos Maté wrote: Hi. We hava an applet that needs some data. The applet ask for it using a URLConnection. And wait for the answer using urlConnection.getInputStream(); Cocoon servlet matches this URL in the sitemap but How can I send de answer ? How do I write the sitemap? Thanks.

Re: Applet Servlet communication

2006-10-02 Thread Carlos Maté
roen Reijn Carlos Maté wrote: Hi. We hava an applet that needs some data. The applet ask for it using a URLConnection. And wait for the answer using urlConnection.getInputStream(); Cocoon servlet matches this URL in the sitemap but How can I send de answer ? How do I write the sitemap? Thanks.

Applet Servlet communication

2006-09-29 Thread Carlos Maté
Hi. We hava an applet that needs some data. The applet ask for it using a URLConnection. And wait for the answer using urlConnection.getInputStream(); Cocoon servlet matches this URL in the sitemap but How can I send de answer ? How do I write the sitemap? Thanks.

Applet Servlet communication

2006-09-29 Thread Carlos Maté
Hi. We hava an applet that needs some data. The applet ask for it using a URLConnection. And wait for the answer using urlConnection.getInputStream(); Cocoon servlet matches this URL in the sitemap but How can I send de answer ? How do I write the sitemap? Thanks.  

Re: cocoon-forms-block.jar opened file

2006-07-07 Thread Carlos Maté
file handles in certain situations, but on the environment where we met this error we were unable to determine if that was the case. Since the resource:// basically falls back to the class resource facilities, and it's not easily reproducible, maybe the JVM version has a meaning :) Simone On 7/4/06,

cocoon-forms-block.jar opened file

2006-07-04 Thread Carlos Maté
Hi. We are using cocoon 2.1.7 and Sun ONE Web Server 6.1 in Solaris 8 We have "TO MANY OPENED FILES" Error. Thanks to lsof   we can see that when a user logs into the  application, websrvd opens cocoon-forms-block.jar and never closes them. Finally Web Server fails and we must restart it. Any sugge

javaflow multivaluefield

2006-01-26 Thread Carlos Maté
Hi In my javaflow I want to get values from  a multivaluefield. This is de form definition: id="drinks"> base="string" />                       In my javaflow I write: MultiValueField mvl = (MultiValueField) form.getChild("drinks"); Object[] list = (Object[]) mvl.g

CForms Validation

2006-01-20 Thread Carlos Maté
Hi I use cocoon 2.1.8 How can I validate a widget required if user don't fill other widget ? It's required one of my  2 widgets, no both.  Thanks

Re: javaflow connection

2005-11-16 Thread Carlos Maté
Finally I sow the exact class. And I got the connection:  WrapperServiceSelector selector =(WrapperServiceSelector) getComponent(DataSourceComponent.ROLE + "Selector"); DataSourceComponent dataSource = (DataSourceComponent) selector.select("connection"); Connection conexion = dataSource.getConnect

javaflow connection

2005-11-16 Thread Carlos Maté
Hi. 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 + "Selector"); } But I obtain: ERROR   (2005-11-16) 0

javaflow problem

2005-11-16 Thread Carlos Maté
Hi. 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 + "Selector"); } But I obtain: ERROR   (2005-11-16)