Re: xhtml table -> mysqlimport

2006-02-09 Thread Antonio Gallardo
Andrew Stevens wrote: From: Antonio Gallardo <[EMAIL PROTECTED]> Reply-To: users@cocoon.apache.org To: users@cocoon.apache.org Subject: Re: xhtml table -> mysqlimport Date: Wed, 08 Feb 2006 13:48:11 -0600 Derek Hohls wrote: Thufir I would not say that Saxon has any "learning curve"; your lea

Re: setting a validation error on another field

2006-02-09 Thread Simone Gianni
Hi Joost, there is one situation in which .validate() returns true even if there are errors, when the widget (in this case the Group) or one of its ancestors, are in any state different from ACTIVE. Looking your code snippet it seems like you set the group state AFTER calling validate(), but i

Re: How to work with EJB's

2006-02-09 Thread Simone Gianni
Hi Ankur, yeah, Gunter is right, you can use plain java. I worked with cocoon, flow, cforms and EJB and these are a few tips : - If you are going to develop flow based web-aplications, !!use javaflow if you can!!, under BEA weblogic and some other containers the Rhino classloader is not very

Re: [CForms] validation + value-on-changed

2006-02-09 Thread Simone Gianni
Hi Robin, AFAIK widgets are validated in two cases : - When getValue is explictly called - When validate is called This means that in a normal form usage, they are validated : - If another component (say, an event listener) calls the getValue() for some reason. - If a submit button is pressed (

RE: i18n:attr translation

2006-02-09 Thread Andrew Stevens
From: philguillard <[EMAIL PROTECTED]> Date: Fri, 10 Feb 2006 01:39:17 +0800 Hi, What do you think about that ? I get a WARN I18nTransformer: Translation not found for attribute alt in element Is that not the right synthax ? The fact it's the I18nTransformer giving the warning suggests it's

i18n:attr translation

2006-02-09 Thread philguillard
Hi, What do you think about that ? I get a WARN I18nTransformer: Translation not found for attribute alt in element Is that not the right synthax ? Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: Cocoon Matching Problem

2006-02-09 Thread Jason Johnston
> Thanks for the suggestion, but unfortunately making the Main_Text_Area > matcher more generic by using a "**/policy.bltmc.edu/*/Main_Text_Area" did > not solve the problem. Did you check your access logs to see what URLs are actually getting requested? > > On 2/8/06, Jason Johnston <[EMAIL PROT

Re: Problem while making a database connection

2006-02-09 Thread Antonio Gallardo
Ankur Gupta wrote: WARN(2006-02-09) 19:14.20:515 [core.datasources.techblue] (/cocoon/propcoweb/tickets) http-8080-Processor24/ResourceLimitingJdbcDataSource: Could not return Connection java.sql.SQLException: No suitable driver at java.sql.DriverManager.getConnection(DriverManager.

Re: Cocoon Matching Problem

2006-02-09 Thread blt mc
Thanks for the suggestion, but unfortunately making the Main_Text_Area matcher more generic by using a "**/policy.bltmc.edu/*/Main_Text_Area" did not solve the problem. -BL, TM, and CD On 2/8/06, Jason Johnston <[EMAIL PROTECTED]> wrote: > Hi:>> We (my project group) are having a problem at work wi

RE: using resource:// protocol

2006-02-09 Thread Simon Stanlake
That worked - thanks for your quick reply! I had thought earlier that they would be pulled out of a jar file, and was confused since the sample I was using (form.css) was in fact in a jar file under the lib directory. The path however was org/apache/cocoon/forms/resources/css/form.css, which obvio

Re: using resource:// protocol

2006-02-09 Thread Simone Gianni
Hi Simon the resource protocol gives access to the java resource system, that is files which reside inside the classpath, so or packed in a jar or in a "classes" directory. In a web application context, this mean tou can put your files inside the WEB-INF/classes/ directory, so for example :

Re: using resource:// protocol

2006-02-09 Thread Andre Juffer
Simon, could it be that you have to put your css in the directory org/apache/cocoon/{1}/resources/{2} (with {1}, {2} replaced with the appropriate names) I have not used resource protocol myself, but I think you have to put your CSS file in the classpath under org/apache/cocoon/... (e.g. in a

using resource:// protocol

2006-02-09 Thread Simon Stanlake
Hi, I'm having trouble using the 'resource://' protocol from my web-app. I've got the default cocoon web-app installed (2.1.8) on tomcat 5.5.9. I have a sub-directory called myApp containing my application like: tomcat | ->webapps | ->cocoon | ->myApp I have

Diskstore not active

2006-02-09 Thread Boisvert, Éric
I get this exception that filling my Tomcat stout log file. Can anybody point me to a clue. I googled this and I found only questions without any answer.. Cheers Eric 1135803074 [TP-Processor14] ERROR net.sf.ehcache.store.DiskStore - cocoon-ehcache-1Cache: Could not remove disk store entry for

CForms Null Date

2006-02-09 Thread Stewart, Gary
Hi there, Do anyone know how to allow a CForms date type to accept an empty date from an XML bind. At the moment it is throwing: java.lang.RuntimeException: Incorrect value type for "dob" (expected class java.util.Date, got class java.lang.String). Thanks, Gary **

Re: start new browser window

2006-02-09 Thread Lars Geldner
Ah, thank you...it's a littlebit late today :) > Hi Lars, > > > is it possible to start a new browser window in a pipeline? For example > when > > using a map:redirect-to element? > > Opening a new browser-window is a client-side task and has to be done > in the browser with e.g. JavaScript (w

Re: start new browser window

2006-02-09 Thread Jens Maukisch
Hi Lars, > is it possible to start a new browser window in a pipeline? For example when > using a map:redirect-to element? Opening a new browser-window is a client-side task and has to be done in the browser with e.g. JavaScript (window.open('myURL', 'My Title');). -- * best regards * Jens Mau

start new browser window

2006-02-09 Thread Lars Geldner
Hi all, is it possible to start a new browser window in a pipeline? For example when using a map:redirect-to element? My general task is: I have a html form with two input fields, one the user's login name and another for the user's password. The related submit button of the form links to a dummy

eBay Live! Site built with Cocoon

2006-02-09 Thread Matthew Langham
We just noticed that this site for the German eBay Live! Event has been built with Cocoon. Will the creator please stand up? http://ebaylive.ebay.de Matthew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

WSRP Sample Portlets in Cocoon 2.1.8 don't work as supposed

2006-02-09 Thread Carlos Fernandez
Hi. My environment: Downloaded version of cocoon: 2.1.8. (running on port ) System: W2K JDK: 1.5.0_01 JAVA_HOME=c:\programme\java\jdk1.5.0_01 Tomcat Version: 5.5.15 (running on port 8081) WSRP4J project downloaded, build up with maven 1.0.2 (build target: all) Browsers: IE6.0, Firefox 1.5.0.1

Re: How to work with EJB's

2006-02-09 Thread Gunter D'Hondt
just use plain old java code to connect to your ejb's; cfr to documentation or samples from your ejb container (websphere, weblogic, ...); they will give you all the necessary sample code to connect to the ejb container Gunter D'Hondt Ankur Gupta <[EMAIL PROTECTED]> 09/02/2006 15:02 Plea

Re: Problem while making a database connection

2006-02-09 Thread zulhisham abu nawar
On 2/9/06, Ankur Gupta <[EMAIL PROTECTED]> wrote: > I m using cocoon , and i need to connect to the database can you give more detail about cocoon version, database.. > i have made changes to cocoon.xconf and web.xml > > i have copied the jar file in the respective folders. > > i have included

Problem while making a database connection

2006-02-09 Thread Ankur Gupta
I m using cocoon , and i need to connect to the database i have made changes to cocoon.xconf and web.xml i have copied the jar file in the respective folders. i have included the path in the classpath of the jar file. still theres a problem and in the core.log file it gives an exception of no s

How to work with EJB's

2006-02-09 Thread Ankur Gupta
How can i work with the EJB's, i need to call EJB's through cocoon, how can i achieve that, i cannot find a source which can explain me to do this. pllz help me with the problem thanx Ankur Relax. Yahoo! Mail virus scanning helps detect nasty viruses!

RE: setting a validation error on another field

2006-02-09 Thread Joost Kuif
I use version 2.1.8.. -Oorspronkelijk bericht- Van: Antonio Fiol Bonnín [mailto:[EMAIL PROTECTED] Verzonden: Thursday, February 09, 2006 2:00 PM Aan: users@cocoon.apache.org Onderwerp: Re: setting a validation error on another field Apparently, the current code on svn for parent.validate

error to complete blockStatement in xsp form validator

2006-02-09 Thread zulhisham abu nawar
hi.. i got an error when apply some xsp validator example to my code...i think already follow example at http://cocoon.apache.org/2.1/userdocs/logicsheets/logicsheet-forms.html regarding xsp validator and now i dont know which one my errors..can someone show me plz.. another question is, can is us

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: setting a validation error on another field

2006-02-09 Thread Joost Kuif
Andrew, thanks for your help. It's working, ALMOST.. I simplified my first example as I use some groups with widgets (a multipage wizard from users perspective). The funny thing is that when I do the validation on the first group (page) and click 'next' I go to the activation (visability) of the

xsp form validator

2006-02-09 Thread zulhisham abu nawar
i've problem with xsp validator. Briefly i've to xsp file which is first xsp is get the data using form and second xsp is display successful validation data..Below are some info abt my codes... decscriptor.xml sitemap.xmap

[CForms] validation + value-on-changed

2006-02-09 Thread Robin Wyles
Hi All, I have a text field with custom validation and a value-on-changed event listener... return validateVideoKey(widget); updateFiles(event.source);

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 Andrew Timberlake
Joost Kuif wrote: Hi people, I have a formdefinition with multiple fields. For some of these fields uniqueness must be checked against a table in a database. I want to check this towards the database with the use of one stored procedure. I tried to with something like the example below, but thi

setting a validation error on another field

2006-02-09 Thread Joost Kuif
Hi people, I have a formdefinition with multiple fields. For some of these fields uniqueness must be checked against a table in a database. I want to check this towards the database with the use of one stored procedure. I tried to with something like the example below, but this didn't work. The p