"Get" and "Set" "XSP-Session" Attributes errors

2003-03-03 Thread Maxime.Gheysen
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

Re: xsp session logicsheet

2003-02-05 Thread Cyril Vidal
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

Re: xsp session logicsheet

2003-02-05 Thread Christian Haul
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"> &

Re: xsp session logicsheet

2003-02-05 Thread Cyril Vidal
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("

Re: xsp session logicsheet

2003-02-05 Thread Christian Haul
> 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

Re: xsp session logicsheet

2003-02-05 Thread Cyril Vidal
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";

RE: xsp session logicsheet

2003-02-05 Thread FULEK Roman
"; 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

Re: xsp session logicsheet

2003-02-05 Thread Christian Haul
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

Re: xsp session logicsheet

2003-02-05 Thread Cyril Vidal
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:

RE: xsp session logicsheet

2003-02-05 Thread FULEK Roman
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

Re: xsp session logicsheet

2003-02-05 Thread Cyril Vidal
"); > > } > > > > > > 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

Re: xsp session

2003-02-04 Thread Beat De Martin
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

xsp session

2003-02-04 Thread Cyril Vidal
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

RE: [Auth-Framework] Using xsp-session and session namespaces

2002-09-25 Thread Carsten Ziegeler
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

Re: [Auth-Framework] Using xsp-session and session namespaces

2002-09-24 Thread Antonio Gallardo Rivera
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 > > > &

RE: [Auth-Framework] Using xsp-session and session namespaces

2002-09-24 Thread Carsten Ziegeler
[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

[Auth-Framework] Using xsp-session and session namespaces

2002-09-24 Thread Antonio Gallardo Rivera
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. -

[Auth-Framework] Diference between xsp-session and session

2002-09-23 Thread Antonio Gallardo Rivera
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

RE: difference between xsp-session and session

2002-08-29 Thread Geert Poels
>> 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

RE: difference between xsp-session and session

2002-08-29 Thread Piroumian Konstantin
> 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

difference between xsp-session and session

2002-08-29 Thread Geert Poels
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

RE: xsp-session ns calls element creation funcs?

2002-05-15 Thread Vadim Gritsenko
> 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: > > > >

Re: xsp-session ns calls element creation funcs?

2002-05-15 Thread Bert Van Kets
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

xsp-session ns calls element creation funcs?

2002-05-14 Thread Zack Angelo
> 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