RE: Accessing form bean from inside a custom tag, take 2

2002-04-23 Thread James Mitchell
* for the next guy (or gal). * */ -Original Message- From: Bryan P. Glennon [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 10:19 AM To: Struts Users Mailing List Subject: RE: Accessing form bean from inside a custom tag, take 2 Christian - Those were the first two things

Re: Accessing form bean from inside a custom tag, take 2

2002-04-22 Thread Christian Bouessay
Form-bean is stored in request/session. And in a custom tag, you can access the property pageContext. Why not using a code like : MyFormBean form = (MyFormBean)pageContext.getAttribute(myFormBeanName, PageContext.SESSION_SCOPE); or MyFormBean form =

RE: Accessing form bean from inside a custom tag, take 2

2002-04-22 Thread Bryan P. Glennon
:53 AM To: Struts Users Mailing List Subject: Re: Accessing form bean from inside a custom tag, take 2 Form-bean is stored in request/session. And in a custom tag, you can access the property pageContext. Why not using a code like : MyFormBean form = (MyFormBean)pageContext.getAttribute