Portal Exception in latest Cocoon 2.1?

2002-09-26 Thread Rob Johnston
Hello, In the most recent Cocoon snapshot (today - 2002-09-26), I noticed a problem with the portal example... when I enter guest/guest or cocoon/cocoon to login, I get a: description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this

Re: Portal Exception in latest Cocoon 2.1?

2002-09-27 Thread Rob Johnston
Is there a known workaround or a PR open? thanks, rob On Thu, 26 Sep 2002, Kenneth J. Hughes wrote: I saw the same thing here today. At 02:37 PM 9/26/2002 -0700, Rob Johnston [EMAIL PROTECTED] wrote: Hello, In the most recent Cocoon snapshot (today - 2002-09-26), I noticed a problem

Adding a violation in xmlforms

2002-10-21 Thread Rob Johnston
Is it possible to do some validation on input (outside the scope of schematron) in the WizardAction class, and if this validation fails, add a new violation so that the xmlform transformer will properly add in xf:violation tags and flow will halt until the violation is cleared up? thanks, rob

Re: 2.1-dev authentication sample doesn't work

2002-10-21 Thread Rob Johnston
I got the same error when using 2.1-dev with Tomcat 4.0.4. The problem disappeared when I upgraded Tomcat to 4.1.12. Some patch applied between Sept 24 and Sept 25th that causes this IllegalStateException. (0924 works with 4.0.4, 0925 doesn't...) Hope this is your problem and it helps, thanks,

Re: Retrieving user data from portal

2002-11-04 Thread Rob Johnston
Yup. It is context authentication. I totally missed this when tracing through the code. thanks! rob On Mon, 04 Nov 2002, [EMAIL PROTECTED] wrote: I personally don't use it, but remember going through the authentication code and seeing it. I'm not certain how well documented this is but

Persistant user authentication data in portal (Take Two)

2002-11-05 Thread Rob Johnston
Hey all, I'm attempting to get at authentication session data using the session transformer in a installed portlet. That is, I want to check something stored in the user's authentication session data from a pipeline called from the portal itself (and not me directly). For instance, I have a

XMLForms: storing and displaying tabular data

2002-11-18 Thread Rob Johnston
Hello, I am trying to do something very specific using XMLForms and have been coming up dry on ideas on how to do it. Basically, I want to have a screen which will have a table where selected items are displayed, as well as a item-specific version number:

Cocoon/Tomcat not handling amp; in URLs?

2003-01-09 Thread Rob Johnston
I am attempting to build a cinclude:include dynamically in a transformation that will have multiple parameters in the src URI. The final version should look like: cinclude:include src=url?p1=foop2=bar/ To do this, I have the following xsl: cinclude:include xsl:parameter name=src

Changing Portal Timeout Period

2003-01-24 Thread Rob Johnston
Where is the default portal session timeout period specified in cocoon? I can't seem to find it anywhere. Is it possible to disable having a login session timeout without having to modify cocoon source? Or at least modify it to be say, a week or so rather than 15 minutes or whatever it seems to

XMLForm Schematron question

2003-03-26 Thread Rob Johnston
Hello -- I have a quick Schematron/XMLForm question. Let's say I have the following XPath: /data/selectedwhich can be either text or number /data/number a valid number I want to write a validation pattern that will assert iff /data/selected is 'number' and /data/number must be a

Re: XMLForm Schematron question

2003-03-26 Thread Rob Johnston
with XSLT. Is the behaviour simply processor dependent or specified anywhere?) If you change the test to number() = number() you are on the safe side, because NaN = NaN returns always false. Regards, Joerg Rob Johnston wrote: Hello -- I have a quick Schematron/XMLForm question. Let's

How to get tomcat work directory from cocoon?

2003-04-04 Thread Rob Johnston
Is there a session context or some other environmental way to get the absolute path to the tomcat work directory in a pipeline? I'd like to put some temporary files there and need to get the absolute path to do this. thanks, rob

org.apache.cocoon.webapps.portal.components.PortalManager not found (2.1m3)?

2003-06-17 Thread Rob Johnston
Hello, I've been in the process of migrating an application I work on from an older cocoon 2.1 snapshot from January to the latest greatest m3 build. I actively use the portal-fw block. The problem comes in when attempting to save a changed user-profile (from the portal-conf generator). I can