RE: XML Selects and bean style properties.

2003-08-14 Thread Siggelkow, Bill
-- but it is somewhat annoying to get used to one way of accessing data and then to not have that available for the XML tags. -Original Message- From: Rick Ross [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 2:22 PM To: Tag Libraries Users List Subject: XML Selects and bean style

XML Selects and bean style properties.

2003-08-14 Thread Rick Ross
I have a scoped variable called 'USER' with a variety of the usual bean style properties. Naturally, it's just a convenient place to hold the user properties and in the EL, it's quite easy to get them ${USER.full_name}. However, if I want to predicate an XPath query (in an x: tag select state

Re: XML Selects and bean style properties.

2003-08-14 Thread Felipe Leme
Hi, Have you tried $USER:full_name? (not sure if it works, as I never tried, but the specification suggests : could be used for that) Felipe On Monday 11 August 2003 03:34 pm, Kris Schneider kris-at-dotech.com |jakarta| wrote: > So, something like this doesn't work? > > > > Find the "bar" e

Re: XML Selects and bean style properties.

2003-08-14 Thread Kris Schneider
So, something like this doesn't work? Find the "bar" element with an attribute "x" equal to the value of USER's "full_name". What if you add a level of indirection: Quoting Rick Ross <[EMAIL PROTECTED]>: > I have a scoped variable called 'USER' with a variety of the usual bean style > prope

Re: XML Selects and bean style properties.

2003-08-14 Thread Rick Ross
IL PROTECTED]> Sent: Monday, August 11, 2003 11:38 AM Subject: Re: XML Selects and bean style properties. > Hi, > > Have you tried $USER:full_name? > > (not sure if it works, as I never tried, but the specification suggests : > could be used for that) > > Felipe > >

Re: XML Selects and bean style properties.

2003-08-14 Thread Kris Schneider
Sorry, sent before seeing Bill's reply and reading that you've got an easy workaround which is probably the same thing... Quoting Kris Schneider <[EMAIL PROTECTED]>: > So, something like this doesn't work? > > > > Find the "bar" element with an attribute "x" equal to the value of USER's > "ful