request-method action misunderstanding

2004-09-22 Thread Phil Blake
Hi All, The request-method action is appearing to fail in the following example. I don't understand what is going on. I have a matcher: but when the request comes in I get: (from logs with bits removed and a highlighted "+null" - does anyone know what that is?) Date: Thu Sep

Flow->Woody->Event->Woody... possible?

2004-04-13 Thread Phil Blake
Hiya, In flow I create a woody form containing a list and a remove button. It is shown using the form.showForm(...) method. When the remove button is pressed a woody javascript event is triggered. The script runs and builds a new form and again shows it using form.showForm() However, the previo

URGENT: Cocoon+FO Project needs a new owner

2004-02-11 Thread Phil Blake
Hi Everyone, I started a paid project for a friend and have been so snowed under with work that I can't complete it in a reasonable time. Anyone interested in a cocoon 2.1 FoxPro/ESQL/FO PDF publishing project, contact me asap for complete details. The project is 90% complete. It's a great jo

Accessing Forms from Woody Action Flow

2004-02-04 Thread Phil Blake
Hi again, I have a woody action: addHoliday(); that calls addHoliday() in some flow: function addHoliday() { cocoon.log.debug("adding holiday named... hmmm how do I get the form to find out"); var form = ...hmmm...; cocoon.redirectTo("panic-can't find form in flow!"); } I can't see thi

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-04 Thread Phil Blake
Ok, I think the proposal to do this is not going to go anywhere, but there is a solution. You'll probably need to give more info (or remind us of it) of what code you are calling this from (action, flow, generator, transformer, etc.). While you are at it, can you give more info about what part of

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-02 Thread Phil Blake
By the way, it's important that people know the basic reason Cocoon doesn't give you an HTTP session. Cocoon abstracts the environment so that it can be run from many different environments, not just http/servlet. Currently the command line interface is the only other implemented environment

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-02 Thread Phil Blake
How do I access the javax.servlet.http.HttpSession from within XSP? I know I have xsp-session but it is a org.apache.cocoon.environment.Session And request.getSession() also returns a org.apache.cocoon.environment.Session I've seen that the org.apache.cocoon.environment.http.HttpSession is creat

javax.servlet.http.HttpSession access from XSP?

2004-02-01 Thread Phil Blake
Hi all, How do I access the javax.servlet.http.HttpSession from within XSP? I know I have xsp-session but it is a org.apache.cocoon.environment.Session And request.getSession() also returns a org.apache.cocoon.environment.Session I've seen that the org.apache.cocoon.environment.http.HttpSessi

Woody Bean Binding - load() works, save() doesn't

2004-01-15 Thread Phil Blake
Hiya, I have a binding that looks like this: 8989,1313,1515">]/numberValue" /> The form.load() works fine and all the values are loaded into the widgets. However the form.save() generates the following error: (Ignorable) problem binding field kriEntry200 org.apache.commons.jxpath.JXPathExce

Dynamic Woody - loading definitions via cocoon://

2003-12-14 Thread Phil Blake
Hi All, Just a quick question about Woody definition and binding loading. I want the definition and bindings to be dynamically generated so I use something like this: var woodyFormDefinition = "cocoon://private-form/testDefinition" var woodyFormBindings = "cocoon://private-form/testBindings"

ResourceExistsSelector

2003-12-04 Thread Phil Blake
Hi all, I have a resource exists selector like this: The ResourceExistsSelector is asked to match the file "form/someFormDefn.wo" - the "form" directory is at the same level as the sitemap - just to be clear :) The document is it testing for DOES exists - but it never returns

nested selectors

2003-11-30 Thread Phil Blake
Hi Everyone, I am having a problem with nested "resource-exists" selectors. The wacky symptom is: When there is a nested resource-exists selector in a matcher, our sitemap does not appear to be used - ie, the sitemap from the folder above returns a "resource not found". As soon as I remove th

Woody - Clickable List

2003-11-26 Thread Phil Blake
Hi everyone, We're having a lot of fun with woody and flow but have a problem with a common scenario. Scenario: 1. A list of items is displayed. 2. click on an item in the list 3. Go to an editor (form) to edit the clicked item. This is a typical scenario for most applications. Question: How