Re: Portal PageLabels and Events

2005-01-20 Thread Frank Taffelt
After thinking about this some more, it sounds like all you want to do is switch to a subnav item on another page? If that is true than you can do that by configuring the support to generate the full subnav items and then using a style sheet to generate your links from them. yes this way i

MSAccess database problem

2005-01-20 Thread yssr
Hi All, How can i retrieve a MSAccess databases. now I am using Atinav Access Component but I it is not working properly 1.I placed the jar in the lib 2.Added entry in load-class(web.xml) 3.database pool (cocoon.xconf) jdbc name=MSdb pool-controller min=2 max=20/

Re: MSAccess database problem

2005-01-20 Thread gounis
in windows platform you can create an ODBC entry for your .mdb file and use the connection string: jdbc:odbc:{your_dsn_entry} that work for me --stavros On Thu, 20 Jan 2005, yssr wrote: Hi All, How can i retrieve a MSAccess databases. now I am using Atinav Access Component but I

use of property files in actions

2005-01-20 Thread Gertjan Assies
Hi, I've written my own action, but it has need of some location specific parameters. specifically a path I would like to put these parameters in a property file so I can easily deploy my app to different locations (dev/staging/live) without having to change those values. I'm familar with the

Re: MSAccess database problem

2005-01-20 Thread yssr
Hi the below also I tried but it is saying that Datasource not found(in log) 1. my web.xml entry in load classes !-- For ODBC -- sun.jdbc.odbc.JdbcOdbcDriver 2.my cocoon.xconf entry jdbc name=JDBCODBCdb pool-controller min=2 max=20/

Re: MSAccess database problem

2005-01-20 Thread gounis
this work for me jdbc name=hotpoints pool-controller min=5 max=10/ dburljdbc:odbc:hotpoints-1.1/dburl /jdbc where just like you hotpoints-1.1 is how i have register my .mdb in odbci dont know .. but have you try

Re: jxtemplate: cocoon.request.locale??

2005-01-20 Thread oceatoon
by looking at the content of ${cocoon} it seems that the request object in that context is null??? where as the docs seem to specify it ?? Can someone confirm this? Thanks Tibor Hi I trying to retreive the value of my locale paramater in the url from within jx but , with a url

[CForms] Dynamically setting 'required' attribute

2005-01-20 Thread Robin Wyles
Hi, I have a form in which I need to dynamically set the required attribute of certain fields. The form itself is created dynamically from a bean using fd:union/ and such in the form definition file and fb:case/ in the binding file. This all works great, but after looking at the api docs I

Re: MSAccess database problem

2005-01-20 Thread Roberto
Stupid reply...but do you have the properly jar file in the properly folder? Cheers Roberto - Original Message - From: yssr [EMAIL PROTECTED] To: users@cocoon.apache.org Sent: Thursday, January 20, 2005 12:43 PM Subject: Re: MSAccess database problem Hi the below also I tried but

Re: jxtemplate: cocoon.request.locale??

2005-01-20 Thread Jan Hoskens
The variables ${cocoon} and ${cocoon.request.locale} should have values. (if I use them in my jx, I do get an object/locale) Are you using jx correctly (generator type=jx, or transformer)? Can you give more information regarding the context? Kind Regards, Jan oceatoon wrote: by looking at the

Re: Portal PageLabels and Events

2005-01-20 Thread Ralph Goers
Frank Taffelt wrote: After thinking about this some more, it sounds like all you want to do is switch to a subnav item on another page? If that is true than you can do that by configuring the support to generate the full subnav items and then using a style sheet to generate your links from them.

Re: Ways to implement Dynamic XSLT in Cocoon

2005-01-20 Thread Andrzej Jan Taramina
Matt: Has anyone come across or written an transformer-based way to dynamically modify an XSLT template at processing time? My challenge is this: To facilitate Web Metric analysis, we need to embed vendor-supplied JAVA script in each page. This JAVA script (and/or vendor) may change

Re: jxtemplate: cocoon.request.locale??

2005-01-20 Thread oceatoon
Hi Jan The variables ${cocoon} and ${cocoon.request.locale} should have values. (if I use them in my jx, I do get an object/locale) Are you using jx correctly (generator type=jx, or transformer)? Can you give more information regarding the context? This is what I thought, here is my use case

Session serialization

2005-01-20 Thread Aurélien DEHAY
Hello. I'm trying to serialize my sessions with the persistance manager of tomcat to not loose them between during a restart. I use session-context to store XML in my session and use a flowscript to handle my login logic (maybe it's not the sexyier way, but that's the way I do it). When I

esql query query

2005-01-20 Thread David Merrilees
Why can't I assign the result of an esql query to a variable? For example, I cannot retrieve the value of myInt after running this statement: myInt = esql:get-int column=id/; Many thanks David Merrilees - To unsubscribe,

Using Cocoon without XSPs

2005-01-20 Thread Oleg Konovalov
Hi, I am Cocoon newbie, trying to reverse-engineer several Cocoon [2.0.4] apps written in 2002-2003 (original developers long gone, nobody around ever worked with Cocoon). Deployed on JBoss 3.0.7. Learning from Cocoon Developer's Handbook by Mocsar/Aston, it looks like all Cocoon apps have to

Re: Using Cocoon without XSPs

2005-01-20 Thread Ralph Goers
Oleg Konovalov wrote: Hi, I am Cocoon newbie, trying to reverse-engineer several Cocoon [2.0.4] apps written in 2002-2003 (original developers long gone, nobody around ever worked with Cocoon). Deployed on JBoss 3.0.7. Learning from Cocoon Developer's Handbook by Mocsar/Aston, it looks like all

Re: Using Cocoon without XSPs

2005-01-20 Thread Antonio Gallardo
On Jue, 20 de Enero de 2005, 15:35, Oleg Konovalov dijo: Hi, I am Cocoon newbie, trying to reverse-engineer several Cocoon [2.0.4] apps written in 2002-2003 (original developers long gone, nobody around ever worked with Cocoon). Deployed on JBoss 3.0.7. Learning from Cocoon Developer's

Re: Using Cocoon without XSPs

2005-01-20 Thread Bertrand Delacretaz
Le 20 janv. 05, à 22:35, Oleg Konovalov a écrit : ...Are there any resources describing Cocoon development without XSPs ?.. I'm going to throw my usual have a look at the supersonic tour line here ;-) To run it you need to install a recent version of Cocoon (which is really easy, just follow

Re: Session serialization

2005-01-20 Thread Ralph Goers
Aurélien DEHAY wrote: Hello. I'm trying to serialize my sessions with the persistance manager of tomcat to not loose them between during a restart. I use session-context to store XML in my session and use a flowscript to handle my login logic (maybe it's not the sexyier way, but that's the way

Load values from database in a selection List [Newbie question]

2005-01-20 Thread Jorge Isaac Davila Lopez
I'm really newbie in Cocoon. I'm using: Tomcat 2.0.5 Java 1.4.2 Cocoon 2.1.6 PostgreSQL ojb/jdo I'm trying to load a Collection into a selectionList. I can insert records in the database. Somebody can give some light to achieve this? Thank for your help.

[Widget] Problem validating the length of a string field

2005-01-20 Thread Hank Heidt
Hi, I am a Cocoon Forms newbie and I am having problems validating the length of a widget in a repeater. When the entered length of the field is zero (i.e., nothing is entered or I enter some characters and then press backspace) it passes validation even though I have specified the length to

Re: Using Cocoon without XSPs

2005-01-20 Thread Gregor J. Rothfuss
Oleg Konovalov wrote: Are there any resources describing Cocoon development without XSPs ? XSP and actions are not recommended for new development. study http://cocoon.apache.org/2.1/userdocs/flow/index.html -- Gregor J. Rothfuss COO, Wyona Content Management Solutionshttp://wyona.com

Re: [Widget] Problem validating the length of a string field

2005-01-20 Thread Carlos Chávez
Hank Heidt Escribio :-) Hi, I am a Cocoon Forms newbie and I am having problems validating the length of a widget in a repeater. When the entered length of the field is zero (i.e., nothing is entered or I enter some characters and then press backspace) it passes validation even though I

Re: Ways to implement Dynamic XSLT in Cocoon

2005-01-20 Thread Matt Robinson
Thanks Marc, Andrzej and Conal. You have solved my problem. Much appreciated! I will implement a separate pipeline and create a generator (rather than a transformer) to extract the relevant JS code from the vendor XML file and aggregate this to the XSL. Fantastic! Kind Regards, Matt

Re: Load values from database in a selection List [Newbie question]

2005-01-20 Thread Christoph Hermann
Jorge Isaac Davila Lopez schrieb: Hello, Tomcat 2.0.5 Java 1.4.2 Cocoon 2.1.6 PostgreSQL ojb/jdo I'm trying to load a Collection into a selectionList. I can insert records in the database. Somebody can give some light to achieve this?

XPath in flowscript ?

2005-01-20 Thread Marc Salvetti
hello, i was just wondering if there is some technique to use xpath from flowscript to retrieve a part of a dom ? something like doc = someObject.xpath(path/to/somewhere, mainDoc); it would be quite handy instead of using the dom api :) thx Marc