RE: how to catch and throw exceptions in cocoon2.1.10 (javascript)

2007-01-10 Thread Robby Pelssers, AGP
Hi Jason, I tried out your proposal like below: try { if(name != null) { this.wForm.lookupWidget(name).setValue(name) this.version = CustomizableClassBinding.save(name, this.wForm, this.version); } }

FW: how to catch and throw exceptions in cocoon2.1.10 (javascript)

2007-01-10 Thread Robby Pelssers, AGP
FYI -Oorspronkelijk bericht- Van: Robby Pelssers, AGP [mailto:[EMAIL PROTECTED] Verzonden: woensdag 10 januari 2007 10:39 Aan: 'Bruno Dumon' Onderwerp: RE: how to catch and throw exceptions in cocoon2.1.10 (javascript) Thanx Bruno, Now the code below try {

Re: Authentication puzzle

2007-01-10 Thread Peter Flynn
Steven D. Majewski wrote: My understanding is that the Authentication Framework is just a framework -- it doesn't itself do any authentication or encryption/decryption of passwords. I understand that it doesn't do any authentication: that's what I wrote the little XML and XSLT files for: to

RE: namespace removed from xml

2007-01-10 Thread Ard Schrijvers
what you wrote you got back is not valid xml?? the parser changed also Envelope into SofEnvelope? And driver into MWSDriver? Anyway, what is the webServiceHandler, one of your own? There you define all the handlers, so also start prefix mappings and stuff, if i recall correctly Ard Hello,

RE: namespace removed from xml

2007-01-10 Thread Roel Croonenberghs
oh, sorry, bad copy paste. I receive somethig like ?xml version=1.0 encoding=UTF-8?Envelope xmlns:xsi= http://www.w3.org/1999/XMLSchema-instance;dataDriverid xsi:nil=false805330/id/Driver/data/Envelope but after i send it through the parser, i get Envelope dataDriverid

RE: Authentication puzzle

2007-01-10 Thread Armaz Mellati
Hi May I ask you what version av Cocoon you are using? I ask because the documentation you are refering to is somewhat outdated if you are using 1.2.10 (may be even for 1.2.9). I found out that in version 1.2.10 Cocoon is set up to use the new CoWarp authetication framwork (Which is a better

setMaxInactiveInterval and CForms

2007-01-10 Thread Stewart, Gary
Hi there, When a user authenticates on the system I'm designing I increase the max inactive interval by using cocoon.session.setMaxInactiveInterval which works fine. However I noticed that the continuations for CForms will still expire before this time has run out (leading to an exception). Is

Re: Authentication puzzle

2007-01-10 Thread Peter Flynn
Armaz Mellati wrote: May I ask you what version of Cocoon you are using? 2.1.8 I ask because the documentation you are refering to is somewhat outdated if you are using 1.2.10 (may be even for 1.2.9). I was going to upgrade to the latest stable (2.1.10?) when I move this from the pilot

CForms: Escape Characters in Widget Label Definitions

2007-01-10 Thread tzirke
Hi, it's been quite a few times that i stumbled over this bug (or feature (i'm not quite certain which one it is ;-) )). when defining a widgets label you cannot use any escape characters if the widget is to be rendered as a button in HTML. Quite a few Browsers (incl. Firefox IE) do render

Cocoon 2.2 and portal

2007-01-10 Thread Jean-Christophe Kermagoret
Hello, I'm trying to use portal with the last cocoon 2.2 from svn (yesterday) I have the following error, even if I disable DB authentication in auth-cauth.conf : org.apache.ojb.broker.PBFactoryException: There was no 'default-connection' attribute enabled in the jdbc connection descriptor

Re: Cocoon 2.2 and portal

2007-01-10 Thread 許議中
pls see WEB-INF/classes/repository.xml or repository_database.xml in jdbc-connection-descriptor must had a connection with default-connection=true when you connect to database with assign the database. Best Regards johnson Jean-Christophe Kermagoret 提到: Hello, I'm trying to use portal

100 errors on SVN checkout

2007-01-10 Thread Reinhard Haller
Hi, I tried to check out the BRANCH_2_1_X as described in the Wiki (LoadInEclipse) and got 100 errors, most of them like The declared package does not match the expected package src.blocks.apples.java.org.apache.cocoon.components.flow.apples The import org.apache cannot be resolved Argument

Antwort: 100 errors on SVN checkout

2007-01-10 Thread tzirke
using eclipse? if so set source and target folders for the project (looks like your source folder is set to the root of your project) Freundliche Grüße / With kind regards Thomas Zirke SN AG Klingenderstr. 5 D 33100 Paderborn voice +49 5251/1581-984 fax +49 5251/1581-71 eMail [EMAIL

Same component instance but multiple roles

2007-01-10 Thread Simon Stanlake
Is there a way to have the same component instance implement multiple roles? In short, I have a component that stores name-value pairs. The component persists the list of pairs in a file. Some parts of the system need to check for duplicates using the DupChecker interface like... public