cform,flow with dynamically connect to database

2006-02-12 Thread zulhisham abu nawar
hi... before i issue my problem, let i write some information. i already study cform and it is a powerful framework which comeout with validation, simple and easy to understand..so i'm decided to use cform for my application soon. Then i'm study about database cause my system will use database ser

Re: DatabaseSelectAction

2006-02-12 Thread Derek Hohls
Pasha You description here is a little limited, but, I assume you have sucessfully authenticated a user and have an ID for them. You could then call a flow script, which picks up the ID from the session; the SQL could be run from inside flow and the result then stored in a new session attribu

ResourceExistsSelector and directories

2006-02-12 Thread Jason Johnston
I'm trying to detect in my sitemap if a requested URI matches an existing file on the filesystem, and if so then serve up that file but if not then I process the request via another method. I thought that the ResourceExistsSelector would do the trick: Th

RE: get URI inside flowscript

2006-02-12 Thread Ard Schrijvers
Try cocoon.redirectTo("cocoon://foo") cocoon.redirectTo("cocoon:/foo") or cocoon.sendPage("foo") When you use redirectTo without the cocoon protocol you are redirecting through the clients browser (at least, I think on the top of my head, so not 100% sure) which you don't want most of the t

DatabaseSelectAction

2006-02-12 Thread Pasha Minallah
Hi, Here's all I'm trying to do. 1) Query database using an id session attribute. 2) Store result in a new session attribute. How might I do this? I have looked at the documentation and the api-docs with no success. - Pasha -

Re: CFORM - repeater , add-row on OJB collection

2006-02-12 Thread Joerg Heinicke
On 08.02.2006 15:08, Alessandro Vincelli wrote: The problem occur when i try to insert new row I receive this error on: form.save(Elenco); java.lang.NoSuchMethodException: org.apache.ojb.broker.util.collections.RemovalAwareCollection.add(w4b.com.cassagest.db.Docuassist) in my binding defi