RE: Accessing scope attributes with dotted names using JSTL

2003-06-06 Thread Steve Raeburn
st > Subject: Re: Accessing scope attributes with dotted names using JSTL > > As shown by all emails on the topic, accessing scoped variables with a > dotted name is not as easy as it should be right out of the box. > > I'll submit the issue to the JSP spec leads to see if may

Re: Accessing scope attributes with dotted names using JSTL

2003-06-06 Thread Pierre Delisle
Serge Knystautas wrote: Steve Raeburn wrote: Thanks, but that's not what I'm trying to accomplish. It's very common to place beans into session or application scopes with names such as "org.apache.struts.action.ACTION_MESSAGE". This is similar to the Java package naming convention and accomplish

Re: Accessing scope attributes with dotted names using JSTL

2003-06-06 Thread Pierre Delisle
Serge Knystautas wrote: Steve Raeburn wrote: Thanks, but that's not what I'm trying to accomplish. It's very common to place beans into session or application scopes with names such as "org.apache.struts.action.ACTION_MESSAGE". This is similar to the Java package naming convention and accomplish

Re: Accessing scope attributes with dotted names using JSTL

2003-06-06 Thread Serge Knystautas
Steve Raeburn wrote: Thanks, but that's not what I'm trying to accomplish. It's very common to place beans into session or application scopes with names such as "org.apache.struts.action.ACTION_MESSAGE". This is similar to the Java package naming convention and accomplishes the same purpose of avo

RE: Accessing scope attributes with dotted names using JSTL

2003-06-06 Thread Karr, David
does not seem to be addressed. As this is a very common requirement, > I'm surprised that it's not covered. > > Steve > > > > -Original Message- > > From: Daniel Montero [mailto:[EMAIL PROTECTED] > > Sent: June 5, 2003 10:24 AM > > To: Tag Libraries

RE: Accessing scope attributes with dotted names using JSTL

2003-06-06 Thread Steve Raeburn
EMAIL PROTECTED] > Sent: June 5, 2003 10:24 AM > To: Tag Libraries Users List; [EMAIL PROTECTED] > Subject: Re: Accessing scope attributes with dotted names using JSTL > > > You could access a variable as ${mydomain.mybean} if you created a bean > "mydomain" (Hashtable, for

Re: Accessing scope attributes with dotted names using JSTL

2003-06-06 Thread Daniel Montero
anVariable); request.setAttribute("mydomain", mydomainVar); %> HTH, danim - Original Message - From: "Steve Raeburn" <[EMAIL PROTECTED]> To: "Tag Libraries Users List" <[EMAIL PROTECTED]> Sent: Wednesday, June 04, 2003 11:12 AM Subject

RE: Accessing scope attributes with dotted names using JSTL

2003-06-05 Thread Steve Raeburn
No. I wanted to use the EL if possible. I guess I could use this as a last resort. Thanks for pointing it out. Steve > -Original Message- > From: N. Chen [mailto:[EMAIL PROTECTED] > Sent: June 4, 2003 1:27 PM > To: Tag Libraries Users List > Subject: Re: Accessing scope

Re: Accessing scope attributes with dotted names using JSTL

2003-06-05 Thread N. Chen
have you try > I asked this on the list awhile back and surprisingly the answer was no > [short of writing one's own taglib to get it done]. > > See http://marc.theaimsgroup.com/?l=taglibs-user&m=104939902508483&w=2 > > Brian > > > > > > >

Re: Accessing scope attributes with dotted names using JSTL

2003-06-05 Thread Brian Buckley
> Is there any way to do it without specifying the scope? > As in http://marc.theaimsgroup.com/?l=taglibs-user&m=104939902508483&w=2 Brian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

RE: Accessing scope attributes with dotted names using JSTL

2003-06-05 Thread Steve Raeburn
: Accessing scope attributes with dotted names using JSTL > > > Try this: > > > > > "requestScope" is an EL implicit object. > > Bruce > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Accessing scope attributes with dotted names using JSTL

2003-06-04 Thread Bruce Perry
Try this: "requestScope" is an EL implicit object. Bruce On Wednesday, June 4, 2003, at 05:10 AM, Steve Raeburn wrote: Is it possible to access a scoped attribute if the attribute name contains a dot? For example, if I set a request attribute: request.setAttribute("mydomain.mybean", bean)

Accessing scope attributes with dotted names using JSTL

2003-06-04 Thread Steve Raeburn
Is it possible to access a scoped attribute if the attribute name contains a dot? For example, if I set a request attribute: request.setAttribute("mydomain.mybean", bean); I'd like to access it like this: