>>FYI, you can use cocoon.log.debug() to print debug
statements in flow
This should be very useful to me, thanks!
--- Jorg Heymans <[EMAIL PROTECTED]> wrote:
> >
> > In my login screen, on submit, I call a login.js
> that
> > authenticates the user in the database, and as a
> > result of the db
In my login screen, on submit, I call a login.js that
authenticates the user in the database, and as a
result of the db call, creates a user bean.
I simply put that user bean into the session using the
following:
cocoon.session.setAttribute('userBean' ,
userBean);
then, on every js, I check to
Jorg,
Thank you for all your help.
It would seem that should be the case, but it is
included in the "if(form.submitID == "save") and so,
(when I use the non-hidden continuations), it does not
loop.
For some reason when the continuation becomes hidden
and the matching is on Type, it loops on the
value="arrayadmin_bind.xml"/>
function arrayAdmin() {
function arrayAdmin() {
// Let Cocoon Forms handle the form
if(form.submitId == "save") {
form.save(bean);
dao.setObject(bean);
form.showForm("arrayAdmin"); //this same function
I login - the template file for the login has the
hidden
this takes me to an admin form.
The template for this form has the
The sitemap is set to match the type.
In my logs I see lines like this (it keeps going in a
loop)
thx
Paul
Processor24/ForwardRedirector: Redirecting to
'cocoon:/login
did you change *all* your forms to have the ?
Paul Joseph wrote:
Hi,
The culprit appears to be the
form.showForm(ArrayAdmin);
line
It seems to loop *continously* on this line when I
match on
However, it does not loop if I use
though in the latter case I loose authentication
Hi,
The culprit appears to be the
form.showForm(ArrayAdmin);
line
It seems to loop *continously* on this line when I
match on
However, it does not loop if I use
though in the latter case I loose authentication
capability.
Is there any way around this? Use authentication,
Getting there, but not quite there yet...am getting
into a "loop" situation with the hidden continuation.
When I use the continuation as a hidden field in my
form template as shown below:
and with my sitemap as below:
it seems to go into a lo
Thanks!
--- Jorg Heymans <[EMAIL PROTECTED]> wrote:
> you would just do
>
>
>
>
> ..
>
>
>
>
>
> Paul Joseph wrote:
> > Jorg,
> >
> > thank you very much.
> >
> > I will try this approach - just wasn't sure how to
> use
> > the tag in my template.
> >
> > Do I simpley do this anyw
you would just do
..
Paul Joseph wrote:
Jorg,
thank you very much.
I will try this approach - just wasn't sure how to use
the tag in my template.
Do I simpley do this anywhere reasonable in the
template:
-hopefully, this will be my last question, sorry for
the bother and thanks for the h
Jorg,
thank you very much.
I will try this approach - just wasn't sure how to use
the tag in my template.
Do I simpley do this anywhere reasonable in the
template:
-hopefully, this will be my last question, sorry for
the bother and thanks for the help so far.
rgds
Paul
--- Jorg Heymans <[EM
Paul Joseph wrote:
1. So for this to work there is no need to use
encodeURL? I was under the impression that encodeURL
was needed as the auth framework created a session
behind the scenes.
If the browser doesn't support cookies then the webapplication should
rewrite or encode all URL's in the pag
I will try this.
Two questions:
1. So for this to work there is no need to use
encodeURL? I was under the impression that encodeURL
was needed as the auth framework created a session
behind the scenes.
2. How are you matching the *.continue i.e.
If I use
instead of
I get the following msg.
Put the tag inside of the auth-protect block.
Your forms are inside a protected area, so your continuations will be
called with a "protected" URL.
My working setup is like
...
HTH
Jorg
Paul Josep
Hi,
Thank you for your respones.
I can take out the encodeURL and the same thing
happens...I thought I needed it to maintain session -
no?
The way I do it is as follows:
--- Jorg Heymans <[EMAIL PROTECTED]> wrote:
There is a continuation id construct you can use to set it as a hidden
variable in your form ( IIRC), try using this. Don't
know if you URL encoding is interfering. How do you encodeURL btw?
Jorg
Paul Joseph wrote:
Hi,
I have implented an authentication handler and all
works well as far as authe
16 matches
Mail list logo