cocoon CForms schemas

2004-07-28 Thread Scott Yeadon
Hi, Is there a link to the CForms schemas/DTDs? Using the namespace URLs which are in the samples results in a 404 error. Are they hiding somewhere in the install, or are there links somewhere I can see them? Thanks. Scott. -

portal-many subdomains-vhosts

2004-07-28 Thread Philippe Guillard
Hi all, Hope somebody can give me hints/suggestions on this : I plan to have many categories as subdomains, i need: (abstracting all the virtual hosting or apache http mod_rewrite stuff) http://myhost.mydomain.com/category1/portal http://myhost.mydomain.com/category2/portal ...

Re: map:redirect-to...

2004-07-28 Thread John L. Webber
Hi Sonny, I don't know that the action isn't relevant, since the redirect to showTestFailedPage should only happen if the action failed. Why the action fails using internal redirects and succeeds using HTTP redirects is mysterious. The action could fail by throwing an unexpected exception, or

Use of SVG?

2004-07-28 Thread Colin Paul Adams
I have been thinking about using SVG for all my site's graphics. There appear to be a number of practical difficulties: 1) Replacing animated GIFs. There does not appear to be a serializer that will convert SVGs to GIFs. 2) Detecting whether or not the user-agent can render SVGs natively. I

Re: Use of SVG?

2004-07-28 Thread Jorg Heymans
1) Replacing animated GIFs. There does not appear to be a serializer that will convert SVGs to GIFs. correct. but why not let the adobe svg plugin handle this for you? 2) Detecting whether or not the user-agent can render SVGs natively. I have installed the adobe SVG plug-in in Mozilla. This

Woody binding: save/load-form not triggered

2004-07-28 Thread Gunter D'Hondt
I've got the following binding definition but the save-form and load-form is never triggered (or is doesn't have any effect anyway): bnd:value id=field1 path=field1/value bnd:on-update bnd:_javascript_ id=field1 path=field1/value bnd:load-form var appValue =

Re: Use of SVG?

2004-07-28 Thread Jorg Heymans
no easy solution then... like you said, ask the client if he has it installed and act accordingly Colin Paul Adams wrote: Jorg == Jorg Heymans [EMAIL PROTECTED] writes: 1) Replacing animated GIFs. There does not appear to be a serializer that will convert SVGs to GIFs. Jorg

woody: 1 form, multipe pages

2004-07-28 Thread Matthias Pekny
I could need some insights on the following problem: I've got one xml file to store user data (one for each user). The user should be able to edit the data with forms (woody aka cforms). As the information is too complex for a single page I want to split the input process to several pages. The

Re: woody: 1 form, multipe pages

2004-07-28 Thread Olivier Billard
Gunter D'Hondt wrote: Have you tried using multiple binding definitions (and multiple Binding instances)? You might also use 1 form and 1 binding but multiple form templates (this might make it easier) The disadvantage of using 1 binding is that you'll have to add and hide all fd:fields in

Re: woody: 1 form, multipe pages

2004-07-28 Thread Matthias Pekny
Gunter D'Hondt wrote: Have you tried using multiple binding definitions (and multiple Binding instances)? You might also use 1 form and 1 binding but multiple form templates (this might make it easier) The disadvantage of using 1 binding is that you'll have to add and hide all

encoding problem

2004-07-28 Thread Jan Hoskens
Hi, I'm currently facing the following problem: I've set the encoding in my serializers to ISO-8859-1 and checked the web.xml file (utf-8 is in comment, defaults to the ISO-8859-1) Everything is ok (special chars in cforms offer no problem, saving the document with correct encoding) until I get

Re: Problem using an External Javascript file (My FIRST question ... so I hope someone can help !)

2004-07-28 Thread [EMAIL PROTECTED]
George Singer wrote: Problem using an External Javascript file in an XSL stylesheet (My FIRST question ... hope someone can help !)

Re: woody: 1 form, multipe pages

2004-07-28 Thread Olivier Billard
Here is how I did : - 1 physical persistence file (ie where to bind data), but this could be a bean - as many definition, binding and template files as the number of pages of the form. Each definition/binding/template batch maps only a portion of the persistence file. - a flow script that

RE: Problem using an External Javascript file (My FIRST question ... so I hope someone can help !)

2004-07-28 Thread George Singer
Volkmar Thanks for the reply. The problem is simple. I have a Javascript file which works if included in my XSL in full. However, when I replace it with an external file, containing EXACTLY the same details, Cocoon cannot find it (despite the inclusion of the reader below). My question

Re: woody: 1 form, multipe pages

2004-07-28 Thread Matthias Pekny
Here is how I did : - 1 physical persistence file (ie where to bind data), but this could be a bean - as many definition, binding and template files as the number of pages of the form. Each definition/binding/template batch maps only a portion of the persistence file. - a flow script

cocoon-pgsql : no suitable driver exception

2004-07-28 Thread Piotr Jabczyski
Hello, I've problem with connecting cocoon do postgreSQL. I did following changes in cocoon.xconf, web.xml init-param param-nameload-class/param-name param-value org.postgresql.Driver /param-value /init-param ... jdbc logger=3Dcore.datasources.personnel name=3Dpersonnel

Subject:strange date

2004-07-28 Thread magic
Hi, all In my form, I use two tables(master--detail).When I save it, I find the date decrease if I input July or August or September. But I input other months and save, it's correct.Following is my form, ?xml version=1.0? fd:form xmlns:fd=http://apache.org/cocoon/forms/1.0#definition;

Re: Any convenient way to embed external pages?

2004-07-28 Thread Jan Hoskens
To solve the first problem use the Web Service proxy generator in the Proxy block: map:generate type=wsproxy src= map:parameter name=wsproxy-method value=POST/ /map:generate taabpr wrote: Hi all, It is a little bit connected with my previous mail (html generator with 'post'), but much

Re: Problem using an External Javascript file (My FIRST question ... so I hope someone can help !)

2004-07-28 Thread [EMAIL PROTECTED]
George Singer wrote: Volkmar Thanks for the reply. The problem is simple. I have a Javascript file which works if included in my XSL in full. However, when I replace it with an external file, containing EXACTLY the same details, Cocoon cannot find it (despite the inclusion of the reader below).

Re: Problem using an External Javascript file (My FIRST question ... so I hope someone can help !)

2004-07-28 Thread Jan Hoskens
However, when I replace it with an external file, containing EXACTLY the same details, Cocoon cannot find it (despite the inclusion of the reader below). A small remark: (hope u don't mind if I drop in) If cocoon does not find the file, there should be a logging (sitemap.log or so) where you

NullPointerException running Cocoon 2.1.4 w/ Tomcat

2004-07-28 Thread Brent Johnson
I'm running a production site using Tomcat 5.0.18 with Cocoon 2.1.4. In the past, after some period of time (around a month or more) the site would start returning a blank page. I then upped all the pool sizes in cocoon.xconf, upped the heapsize, and included the XML parsers in the shared tomcat

Processing a particular pipeline before every other pipeline?

2004-07-28 Thread David Swearingen
I need to run some cookie generation code (ina pipeline) before any of my web pages are processed. That is, I've got several pipelines, but I want this particular pipeline to run before any of the others are executed. Obviously, I don't want to have to modify every existing pipeline, and all

Re: Processing a particular pipeline before every other pipeline?

2004-07-28 Thread Jan Hoskens
Use the internal-only attribute: map:pipelines map:pipeline internal-only=true put every pipeline you don't want the user to access directly here /map:pipeline map:pipeline map:match pattern=** do whatever you need as actions that's needed for each internal

Re: Processing a particular pipeline before every other pipeline?

2004-07-28 Thread Gunter D'Hondt
Start your map:pipeline with a map:act ... then the action will be executed before all matchers below (listed in that map:pipeline) Regards, Gunter D'Hondt SOFICO NV Belgium. David Swearingen [EMAIL PROTECTED] 28/07/2004 16:05 Please respond to [EMAIL PROTECTED] To [EMAIL

Re: Subject:strange date

2004-07-28 Thread Johnson
that is a daylight time problem because you don't input time,the system assume your time are 0:00,and now is sumber , the system assume you plus one hour to your system so the system minus one hour automatically,so the time became 23:00 yesturday. But you don't add one hour indeed,so the date auto

store janitor

2004-07-28 Thread Frank Daly
Hi I'm trying to tune our system and want to get the right settings for store-janitor. We have 2 Gigabytes of memory on our server which will be used only for web applications that use cocoon. Some of the pdf pages returned take an awful long time to appear! I've checked the web page

Re: map:redirect-to...

2004-07-28 Thread Sonny Sukumar
Hey John, I took your advice and spent some time culling through sitemap.log and discovered that BOTH redirects are taking place when I use internal redirects...it's just that the test failed redirect happens second, so I always see that result page (even though the action's operations in

How to create an Http event from cocoon?

2004-07-28 Thread Christina
For example, send out an http get request to an url? Totally have no idea how. Would any onethrow me a light on it? Thanks!

Re: Processing a particular pipeline before every other pipeline?

2004-07-28 Thread Upayavira
David Swearingen wrote: I need to run some cookie generation code (in a pipeline) before any of my web pages are processed. That is, I've got several pipelines, but I want this particular pipeline to run before any of the others are executed. Obviously, I don't want to have to modify every

Re: How to create an Http event from cocoon?

2004-07-28 Thread Upayavira
Christina wrote: For example, send out an http get request to an url? Totally have no idea how. Would any one throw me a light on it? map:generate src=http://foo.com/foo/ Upayavira - To unsubscribe, e-mail: [EMAIL

Re: Cforms, Binding Cross-Referenced data

2004-07-28 Thread Ben Pope
Hi, I spent a little while looking into this and it certainly looks like a useful way of looking at it. I'll have a further play tomorrow evening. One thing I'm a little unsure of though: I was under the impression that using XInclude would create a result with the referenced data included,

Re: [CForm] how to setValue for a field of selection list?

2004-07-28 Thread Christina
No, I mean the selection list is already there. What I want to do is to select a value from the list and show it on the page, instead of the default value every time. for example, at first use select a value and save it. when he access this page again, I fetch the value from db and set the value

Re: [CForm] how to setValue for a field of selection list?

2004-07-28 Thread Scott Yeadon
Christina, If you're saving the last selected value to a database and want to set the value to what the user selected last save, you need to be able to indicate which value was last selected, either via database field, XML attribute (if an XML database), or preferences file, or some other

Listeners: passing and obtaining parameters

2004-07-28 Thread Scott Yeadon
Hi, I have written a Listener in java, but I want to make it more generic and pass parameters to it. Am I able to pass parameters to the Listener class from the java element - the examples indicate java is an empty element with a single class attribute? Assuming I can pass them, what is

Need help w/ noClassDefFoundError

2004-07-28 Thread Mark Lundquist
Hi, When I try to use the ImageReader, I get java.lang.NoClassDefFoundError at sun.awt.image.codec.JPEGImageDecoderImpl.getDecodedColorModel(JPEGImageD ecoderImpl.java:293) I'm running under OS X... the application runs fine on my PowerBook, but when I try to run it on the server I get

Re: cocoon-pgsql : no suitable driver exception

2004-07-28 Thread Antonio Gallardo
hi Poitr: Can you post the full stack trace? ... jdbc logger=3Dcore.datasources.personnel name=3Dpersonnel ^^ ^^ || || What is this?What is this? Best Regards,

Re: forms documentation

2004-07-28 Thread Scott Yeadon
Hi Phil, Java API at: http://cocoon.apache.org/2.1/apidocs/ Other than that only the cocoon site and wiki (which varies in usefulness from in-depth reference to coming soon), which I find pretty scattered and of narrow scope. There was a Cocoon Developer's Handbook (Moczar Aston, published by

Selection-list: Java: number of items

2004-07-28 Thread Scott Yeadon
Hi, Is there a way of determining how many items are in a selection-list widget via Java? I have list that is sourced from a cocoon pipeline, the number of items then governs the initial size of a repeater so I need to be able to get the number of items. GetValue returns only the selected

Subject:strange date

2004-07-28 Thread Tim O'Leary
Original message from magic Hi, all In my form, I use two tables(master--detail).When I save it, I find the date decrease if I input July or August or September. But I input other months and save, it's correct.Following is my form, ?xml version=1.0? fd:form

Any convenient way to embed external pages?

2004-07-28 Thread Tim O'Leary
Original message from taabpr Hi all, It is a little bit connected with my previous mail (html generator with 'post'), but much general question. I have to embed some external content into existing page (a portlet) - to be more complex: they are forms with images. So what I imaging is: in sitemap: