Thank you Rafal!
I tried and now, it's all right!
Furthermore, it's very usefull to use this getUser().setTemp, because I know
now that I can rescue an object for example a vector of data, what avoids me
reinterrogating the data base.


----- Original Message -----
From: "Rafal Krzewski" <[EMAIL PROTECTED]>
To: "Turbine" <[EMAIL PROTECTED]>
Sent: Thursday, August 10, 2000 4:39 PM
Subject: Re: How to transmit parameter (or more) between
anActionEventextended class and a Screen extended class?


> > "Chappuis J.-Vincent" wrote:
> > ActionEvent.doSavesoft(RunData data)
> > {
> > int identifient = 5;
> > [...]
> > data.getParameters().add("identifient", identifient);
> > [...]
> > identifient=data.getParameters().getInt("identifient"); <--here,
identifient has the right value : 5 !
> > }
> >
> > And then...
> >
> > Sceen.doBuild(RunData data)
> > {
> > int identifient;
> > [...]
> > identifient=data.getParameters().getInt("identifient");  <--here,
identifient value is null ! Why? Does data isn't persistant?
> > [...]
> > }
>
> why don't you try this:
>
> data.getUser().setTemp("identifient",new Integer(identifient));
> ...
> identifient = ((Integer)data.getUser().getTemp("identifient")).intValue();
>
> AFAIK getParameters() should be used for retreiving HttpRequest parameters
only.
>
> Rafal
>
>
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
>



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to