Re: Updating Xindice with Request Data

2006-01-31 Thread Johnson
You're welcome, additional info, if you want delete or do something more than load and save document from Xindice, you must write some java  class like this to achive it.   package org.apache.xindice.examples;   import org.xmldb.api.base.*;import org.xmldb.api.modules.*;import org.xmldb.api.*

Re: CForm Persistence Question

2006-01-31 Thread Jason Johnston
Eric Shannon wrote: > > I have a form that upon submit gets persisted via an EJB call to our > business layer. > > I need to improve my current implementation so that if an error occurs > in the business layer, the error is displayed on the form giving the > user the chance to possibly make chan

CForm Persistence Question

2006-01-31 Thread Eric Shannon
I have a form that upon submit gets persisted via an EJB call to our business layer. I need to improve my current implementation so that if an error occurs in the business layer, the error is displayed on the form giving the user the chance to possibly make changes and re-submit the form.

Re: Questions re: source resolving porting from 2.1.6 => 2.1.8

2006-01-31 Thread Mark Lundquist
On Jan 31, 2006, at 1:50 PM, Antonio Fiol Bonnín wrote: Could you please post the relevant parts of your sitemap, subsitemap and flowscript? In particular, I am interested in seeing any map:mount in your sitemap(s). Well, the mount looks like this: As I mentioned, the "c

Re: bug? dupliate triggers/jobs with cron block

2006-01-31 Thread Quoin Developers
In looking at my full thread dump, I see two distinct "Cocoon_QuartzSchedulerThread" threads. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

bug? dupliate triggers/jobs with cron block

2006-01-31 Thread Quoin Developers
I'm using the cron block to launch a CronJob. I'm seeing two instances of my CronJob created - one with a NullLogger, and one that logs to the standard cocoon log (that was hard to track down!). Enable logging is being called from the same place in each instance: at org.apache.avalon.fra

Re: ParanoidCocoonServlet cannot run in an undeployed WAR file (solved)

2006-01-31 Thread Brian Maddy
Never mind, I figured it out. The war file wasn't being unpacked into the webapps/cocoon directory. In other words, in my hosting company's /etc/tomcat4/server.xml file, the value Server/Service/Engine/Host/@unpackWARs is set to false, whereas it is set to true on my installation. Looks lik

Re: Updating Xindice with Request Data

2006-01-31 Thread Mike Casey
Brilliant, that is exactly what I need... its not quite just a sitemap thing like I was hoping for, but it is good enough to get it all working. Thankyou to all! MikeOn 2/1/06, Johnson <[EMAIL PROTECTED]> wrote: Hi!We use this method var wid = form.lookupWidget(); form.createBinding("forms/shpk_bi

selectionList sort order

2006-01-31 Thread Bruyn Bill
I have a multivaluefield with a selection list, bound with some fb:javascript. The contents of the list are sorted the way I want them when I obtain the list, but are rendered differently. Snippet follows: var list = facade.getListOptions(Language.LIST_NAME); for(var i

Re: Questions re: source resolving porting from 2.1.6 => 2.1.8

2006-01-31 Thread Antonio Fiol Bonnín
2006/1/31, Mark Lundquist <[EMAIL PROTECTED]>: > Hi all, > > I have a bunch of Cocoon apps based on 2.1.6, and I'm actually just > rev-ing the first of these up to 2.1.8. So far so good, mostly... but > I have two questions: > > 1) Sources appear to be resolved differently. Some background: my ro

Re: Apache Coccon developer anywhere in the world

2006-01-31 Thread Quoin Developers
To elaborate further... We offer a highly collaborative environment where we use many agile practices such as pair programming, test-driven development, short iterations. We endeavor to work closely with our clients to understand how their business works so that we can build systems that can help

ParanoidCocoonServlet cannot run in an undeployed WAR file

2006-01-31 Thread Brian Maddy
Anyone know what may be causing this error in the logs? I'm deploying as a war file on Tomcat 4.1.24 with a hosting company. I'm only getting a white screen when I visit /cocoon. It works fine on my local Tomcat 4.1.24 server though... "Servlet /cocoon threw load() exception: javax.servlet.

Questions re: source resolving porting from 2.1.6 => 2.1.8

2006-01-31 Thread Mark Lundquist
Hi all, I have a bunch of Cocoon apps based on 2.1.6, and I'm actually just rev-ing the first of these up to 2.1.8. So far so good, mostly... but I have two questions: 1) Sources appear to be resolved differently. Some background: my root sitemap is not located directly within the webapp c

Update Re: Questions re: source resolving porting from 2.1.6 => 2.1.8

2006-01-31 Thread Mark Lundquist
Some more data... I tried passing an absolute pathname to the source resolver, and exists() on the returned still Source returns false, even though the file _does_ exist. I prepended "file:" to the pathname, and that made no difference. Any ideas? —ml—

Re: Is this thing possible?

2006-01-31 Thread Angelo Immediata
Hi first of all thanks for your answer. What i must do is to put in my portal a simple and or a complex web application developed also in .NET, asp etc... is this possible by cocoon and its portal block? -- Initial Header --- >From : "christian bindeballe" [EMAIL PROTECTED]

Re: Is this thing possible?

2006-01-31 Thread christian bindeballe
Angelo Immediata schrieb: > Hi all. > I'm using cocoon 2.1.7 and its portal block. > I'ld like to know if it's possible this thing. > > I have some web application developed by third part users and by using > different technologies. > My project manager would like to do a similar thing: to displa

Is this thing possible?

2006-01-31 Thread Angelo Immediata
Hi all. I'm using cocoon 2.1.7 and its portal block. I'ld like to know if it's possible this thing. I have some web application developed by third part users and by using different technologies. My project manager would like to do a similar thing: to display this web application in my portal wit

Re: CForm in Coplet / Presentation

2006-01-31 Thread christian bindeballe
Christian schrieb: > hello, > > Does someone have an idea how to make the coplet react to the > continuation, or how to include the form in a different way, other than > inside a coplet, so that the execution of the submit will actually work? > I'd be very happy to hear your suggestions. > > C

Re: Updating Xindice with Request Data

2006-01-31 Thread Johnson
Hi! We use this method var wid = form.lookupWidget(); form.createBinding("forms/shpk_bind.xml"); var documentURI = cocoon.parameters["documentURI"]; if (documentURI == "xmldb:xindice://localhost:8080/db/shpk/") {documentURI = cocoon.parameters["documentURI2"];} var document = loadDocument(docu

Re: CForms, Ajax, Visual Effects and onchange events

2006-01-31 Thread Brian Maddy
Jason Johnston wrote: Brian Maddy wrote: Hello, I am making a form that uses ajax like in the car selector sample. I would like to make another on the page have the fade out visual effect when the form widgets are updated. I am able to add events to the onchange attribute (I have to a

Re: Using SSL for parts of a cocoon web-application?

2006-01-31 Thread Bertrand Delacretaz
Le 31 janv. 06, à 15:08, Thomas Soddemann a écrit : ...Note, that in that case one would have to ensure that the hostname for https is not an alias. Otherwise, the reverse lookup of the ip address for the alias would reveal another hostname than the one in the certificate... You're right - bu

Re: Using SSL for parts of a cocoon web-application?

2006-01-31 Thread Thomas Soddemann
Bertrand Delacretaz wrote: > > http and https use different port numbers, so you will need two > virtual hosts if you want to serve parts of your site without SSL. > > IMHO a clean way of doing this is to use different hostnames, like > https://apps.mydomain.com and http://files.mydomain.com - thi

Re: Using SSL for parts of a cocoon web-application?

2006-01-31 Thread Bertrand Delacretaz
Le 31 janv. 06, à 08:59, Joost Kuif a écrit : ...Why not use mod_jk and AJP to connect from apache to tomcat?.. You can certainly use different ways of connecting apache to your servlet engine. Me, I like reverse proxies because they're well decoupled. Dunno about performance - in the kind

Re: Using SSL for parts of a cocoon web-application?

2006-01-31 Thread Bertrand Delacretaz
Le 30 janv. 06, à 22:32, Tino Breddin a écrit : ...Your workaround seem to be useful for our application.. I don't consider it a workaround - I would *never* put anything else than httpd as the front-end of a production site. ... The only thing i do not know right now, is how to tell apache

RE: collection() error

2006-01-31 Thread Chris Marasti-Georg
This looks like Xquery syntax... for and return are constructs of a FLWOR expression. Along with the other posts regarding the collection funciton itself, you want syntax like "collection('../test/xdocs?select=*.xml;recurse=yes;on-error=warn')//def inition"... Since you have a query string, I am a

Re: How to make sessions survive browser restart

2006-01-31 Thread Bertrand Delacretaz
Le 31 janv. 06, à 13:50, Armaz Mellati a écrit : ...Stop asking stupid questions :) As I always tell my students: the only stupid questions are the ones you don't dare to ask ;-) -Bertrand smime.p7s Description: S/MIME cryptographic signature

RE: How to make sessions survive browser restart

2006-01-31 Thread Armaz Mellati
Dear Armaz All you needed to do was : Cookie [] cookies = request.getCookies(); for (int i=0;i -Original Message- > From: Armaz Mellati [mailto:[EMAIL PROTECTED] > Sent: 30. januar 2006 15:18 > To: users@cocoon.apache.org > Subject: How to make sessions survive browser restart > > Hi >

Re: Updating Xindice with Request Data

2006-01-31 Thread Jonas Lundberg
I see. I was looking at the downloads page... Regards Hans On 1/31/06, Andre Juffer <[EMAIL PROTECTED]> wrote: > Jonas Lundberg wrote: > > It seems that no one works on Xindice anymore. At least, I have found > > no new versions since 2004. > > The last version is 1.1b5-dev (May 25 2005) > > See

Re: Updating Xindice with Request Data

2006-01-31 Thread Andre Juffer
Jonas Lundberg wrote: It seems that no one works on Xindice anymore. At least, I have found no new versions since 2004. The last version is 1.1b5-dev (May 25 2005) See http://xml.apache.org/xindice/changes.html You can download the source code with svn. I would recommend that you use eXist

RE: Updating Xindice with Request Data

2006-01-31 Thread Combinational Logic
Sorry I don’t have time to describe all the details, but a brief overview of what worked for me follows:   Use flow to display and bind the CForm to the results of an xmldb query then save the results back to a document.  Pass the document to a JX pipeline to get it back into the pipeline

Re: Updating Xindice with Request Data

2006-01-31 Thread Jonas Lundberg
It seems that no one works on Xindice anymore. At least, I have found no new versions since 2004. I would recommend that you use eXist instead of Xindice, if you want an XML database. http://exist.sourceforge.net/ Regards Hans On 1/31/06, Mike Casey <[EMAIL PROTECTED]> wrote: > Hi All, > > I am

Updating Xindice with Request Data

2006-01-31 Thread Mike Casey
Hi All, I am currently working on an implementation of a wiki type site that uses XML for Wiki syntax, partly to help learn NXBs/Cocoon and partly because I could not find a suitable product out there to meet my needs. The XMLDB block samples has some good examples on how to update Xindice using