I'm using ww2. Yours hint is not very clear. I tryed to figure out how to
get access to sessionComponent from jsp scriplet, without ww jsp tag, but
get lost. I can get ognl valueStack and even managed to get a
ComponentManager from the session. But could not get component by self. Can
you please give one more hint.

Thanks Remis

----- Original Message -----
From: "Dick Zetterberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 17, 2003 6:12 PM
Subject: Re: [OS-webwork] How to access session component from JSP


I'm not sure which version of WW you are using but in WW1 you just use the @
sign to look in the page/request/session scopes, like:
<ww:property value="@sessionName/vendor"/>
or:
<ww:if test="@sessionName/vendor=='abc'>
....

Cheers,

Dick

----- Original Message -----
From: "remigijus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 17, 2003 4:54 PM
Subject: Re: [OS-webwork] How to access session component from JSP


Ok. I do somthing in the way like you said, but if I want to access
component from a jsp page which is wasn't dispatched after action exection.

----- Original Message -----
  From: Jason Carreira
  To: [EMAIL PROTECTED]
  Sent: Wednesday, December 17, 2003 5:45 PM
  Subject: RE: [OS-webwork] How to access session component from JSP


  I would make it available via a getter/setter in your Action, probably in
a base class...
    -----Original Message-----
    From: remigijus [mailto:[EMAIL PROTECTED]
    Sent: Wednesday, December 17, 2003 10:37 AM
    To: [EMAIL PROTECTED]
    Subject: Re: [OS-webwork] How to access session component from JSP


    I have an session component where I keep some status of the user, like
selected vendor, product, current provider end etc. I'm accessing and
updating it from action classes, but I also need some data on JSP, in order
to know how to render data depending on the current session status.

    ----- Original Message -----
      From: Jason Carreira
      To: [EMAIL PROTECTED]
      Sent: Wednesday, December 17, 2003 5:22 PM
      Subject: RE: [OS-webwork] How to access session component from JSP


      What are you trying to do?
        -----Original Message-----
        From: remigijus [mailto:[EMAIL PROTECTED]
        Sent: Wednesday, December 17, 2003 10:19 AM
        To: [EMAIL PROTECTED]
        Subject: [OS-webwork] How to access session component from JSP


        Hi

        What is the best way (proposed) to access session component from
JSP.


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=ick
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to