Hello,
I have to set and get a user name in my web-application. I use a
xsp-session and followed the sample from "Cocoon Developer's handbook :
using content logic XSP" about authentification. But if I write exaclty
the same pages, I get this error:
"org.apache.cocoon
sion="http://apache.org/xsp/session/2.0";
xmlns:xsp-request="http://apache.org/xsp/request/2.0";
create-session="true">
java.util.Vector
Vector items = (Vector);
if (items == null) items = new Vector(10,5);
items.add();
session.setAttribute
e current session)
>
>
>
>
>
> xmlns:xsp="http://apache.org/xsp";
>
> xmlns:xsp-session="http://apache.org/xsp/session/2.0";
>
> xmlns:xsp-request="http://apache.org/xsp/request/2.0";
>
> create-session="true">
&
sion="http://apache.org/xsp/session/2.0";
xmlns:xsp-request="http://apache.org/xsp/request/2.0";
create-session="true">
java.util.Vector
Object items = ;
if (items == null) items = new Vector(10,5);
((Vector) items).add();
session.setAttribute("
> xmlns:xsp="http://apache.org/xsp";
>
> xmlns:xsp-session="http://apache.org/xsp/session/2.0";
>
> xmlns:xsp-request="http://apache.org/xsp/request/2.0";
>
> create-session="true">
The class Vector is unknown here. Add
java.util.V
Hello Christian,
Thanks again for your help and your availibility.
Of course, I meant Session logicsheet and not ESQL one...Sorry...
I've tried to launch the code you've suggested:
http://apache.org/xsp";
xmlns:xsp-session="http://apache.org/xsp/session/2.0";
";
xmlns:xsp-session="http://apache.org/xsp/session/2.0";
xmlns:xsp-request="http://apache.org/xsp/request/2.0"; create-session="true">
// beginning of the java code
try {
// Cart items are maintained in the session object.
Vector items = (V
On 05.Feb.2003 -- 11:00 AM, Cyril Vidal wrote:
>
> Thanks for you response.
> hum, I guess actions are still a little bit too complex for me, regarding my
> knowledge of Cocoon...
>
> Isn't it really possible to add merely values to the same session's
> attribute with the ESQL logicsheet? It so
Hi Roman,
Indeed I've done this:
http://apache.org/xsp";
xmlns:xsp-session="http://apache.org/xsp/session/2.0";
xmlns:xsp-request="http://apache.org/xsp/request/2.0";
create-session="true">
The list of items is:
Your session was created:
Hi Cyril,
try adding
xmlns:session="http://apache.org/xsp/session/2.0";
namespace to your xsp page. Then have a look at the generated code.
Basically you should see a java variable (object) named "session", with it
you can do what you want. No need to declare it, cocoon do
");
> > }
> >
> >
> > out.println("");
> > }
> > }
> >
> > Below is the xsp i've written for the moment,: this is working fine,
but
> > does not do what I want: because each time the client chooses an item
and
> > pas
out.println("" + items.get(i));
> }
> out.println("");
> }
>
>
> out.println("");
> }
> }
>
> Below is the xsp i've written for the moment,: this is working fine, but
> does not do what I want: because ea
ot;");
}
out.println("");
}
}
Below is the xsp i've written for the moment,: this is working fine, but
does not do what I want: because each time the client chooses an item and
pass it via the parameter 'item', instead of being added in the object
cart.ite
Antonio Gallardo Rivera wrote:
>
> Thanks Carsten after thinking about that all the afternoon and
> half of the
> night fighting with the 2 pipelines (curently 1:00 a.m here). I
> comes to the
> same place .(
> I need a logicsheet since I am working with XSP. I am trying to
> working on
> this log
t; HTH
> Carsten
>
> > -Original Message-
> > From: Antonio Gallardo Rivera [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, September 24, 2002 7:11 PM
> > To: [EMAIL PROTECTED]
> > Subject: [Auth-Framework] Using xsp-session and session namespaces
> >
> &
[EMAIL PROTECTED]
> Subject: [Auth-Framework] Using xsp-session and session namespaces
>
>
> Hi folks!
>
> Please, can someone help me with this. Is possible to use
> auth-framework with
> xsp? I am trying to make the interface to let user changes his
> own password
Hi folks!
Please, can someone help me with this. Is possible to use auth-framework with
xsp? I am trying to make the interface to let user changes his own password.
The problem is that I cannot use xsp to retrieve data using:
or
How I can do?
Thanks, in advance.
Antonio Gallardo.
-
Can someone explain what is the diference between xsp-session and session?
I am trying to do this. But does not work:
http://apache.org/xsp/session/2.0";
xmlns:xsp="http://apache.org/xsp";>
My main development is using XSP and I cannot get the authentication d
>> xmlns:xsp-session="http://apache.org/xsp/session/2.0";
>There is no difference as long as the namespace URI is the same. The
>namespace prefix is just a short name for the namespace URI.
That's what I assumed at first, but as one example showed otherwise.
** How ab
> From: Geert Poels [mailto:[EMAIL PROTECTED]]
>
> Hi,
>
> I was browsing Cocoon documentation and wondered what
> the difference in use and definition was between
> using
> xmlns:session="http://apache.org/xsp/session/2.0";
> and
> xmlns:xsp-se
Hi,
I was browsing Cocoon documentation and wondered what
the difference in use and definition was between
using
xmlns:session="http://apache.org/xsp/session/2.0";
and
xmlns:xsp-session="http://apache.org/xsp/session/2.0";
and also referencing it in code as
or
Exampl
> From: Zack Angelo [mailto:[EMAIL PROTECTED]]
>
> > C2 doesn't seem to be behaving as expected...my code looks just like
> > the
> > examples. Any ideas? I'm sure it's something obvious.
> >
> > Okay, so apparently this:
> >
> >
Hi,
I had the same problem with esql in a Dynamic XSLT using XSP. There was no
solution found or given, so I made a workaround and skipped the logic sheet
and did everything straight in Java.
I too find the behavior very strange and would rather see this solved. It
would open a lot of possibi
> C2 doesn't seem to be behaving as expected...my code looks just like
the
> examples. Any ideas? I'm sure it's something obvious.
>
> Okay, so apparently this:
>
> String userID = ;
>
> Generates into this (and, obviously, generates some errors):
>
> String userID =
> xspAttr.addAttribu
24 matches
Mail list logo