Ron Piterman a écrit :
user @Persist("client:page")

AFAIK, "client" uses cookies.
Argh! I've forgotten those so delicious cookies.
Sorry for the noise and thanks Ron for your fast and efficient answer !

Cheers
cyrille

Cheers,
Ron


Cyrille37 wrote:
Hello,
There is something I do not understand.

I've got a page which remember a property "docId" with the
@Persist("client") annotation.
   @Persist("client")
   public abstract int getDocId();
   public abstract void setDocId(int docId);

When I call the page with an ExternalLink (service=external) I'm setting
that "docId" property.
   http://localhost:8080/Tap03/Docum/DocumentEdit.external?sp=14
   public void activateExternalPage(Object[] parameters, IRequestCycle
cycle)
   {
       int id = Integer.parseInt( parameters[0].toString());
       setDocId( id );
   }

After that call, if I call the page directly (service=page)
   http://localhost:8080/Tap03/Docum/DocumentEdit.html

The page has remembered the "docId" property which I've previously
called with the ExternalLink.
I do not understand how it could be possible, because the
@Persist("client") could not memorize the property on server-side ...

Have you got an idea where I've to look to find my mistake ?

Thanks
cyrille.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to