I am working in room 17 today - to get the actions and jsp's in order

kp

-----Original Message-----
From: Michael C. Han [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 18, 2002 8:47 PM
To: Struts Developers List
Subject: RE: Adding ComponentContext to RequestUtils.lookup


Cedric,

The last project I was involved in we did perform <tiles:importAttribute>.
However, it does become a problem when developers forgets to put this line
in and can't figure out what he can't get an attribute out of the Controllre
:-).  I think adding the 3 lines of code into the RequestUtil will eliminate
the need for people who forget to issue the importAttribute directive on the
page.

-m

-----Original Message-----
From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 4:51 PM
To: Struts Developers List
Subject: Re: Adding ComponentContext to RequestUtils.lookup



  Hi,

  Actually, you can import explicitly tiles attributes to any jsp scope
with the <tiles:importAttribute> tag.
  Adding the tiles scope to the lookup method will avoid use of this
tag, and integrate more deeply Tiles to Struts.
  Implementing it is very easy, what others thing of it ?

  Cedric

Michael C. Han wrote:

>Hi,
>
>Since Tiles is now included into base struts, I think ComponentContext
>should be added as a scope option to RequestUtils.lookup.  This'll allow us
>to use the existing tags to directly retrieve attributes or test for
>attributes within the ComponentContext.
>
>If no one has time and it is a good addition, I can do the change and
submit
>to the committers.  Thanks,
>
>-m
>
>
>--
>To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
>
>



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


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

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

Reply via email to