jndi-taglib and scripting variables

2007-07-26 Thread Iikku Mattila
Hi all, I have a portal with a jsp channel in which I use the jndi-taglib. I'm trying to do a ldap-search with the portal user's userid. I get the id from elsewhere and both jx:expr value=$userid / and %=userid% print it out just nice. However, when I try jndi:search id=searchResult

Re: jndi-taglib and scripting variables

2007-07-26 Thread Iikku Mattila
On Thu, 26 Jul 2007, Kris Schneider wrote: Try: filter='%= uid= + userid %' In other words, the scriptlet expression must appear by itself. Thank you! It worked and wouldn't ever crossed my mind, though I spent hours on this. Iikku

Re: jndi-taglib and scripting variables

2007-07-26 Thread Kris Schneider
On 7/26/07, Iikku Mattila [EMAIL PROTECTED] wrote: Hi all, I have a portal with a jsp channel in which I use the jndi-taglib. I'm trying to do a ldap-search with the portal user's userid. I get the id from elsewhere and both jx:expr value=$userid / and %=userid% print it out just nice.

Re: JNDI-taglib search tag returns null

2007-07-26 Thread Iikku Mattila
On Wed, 25 Jul 2007, Henri Yandell wrote: On 7/24/07, Iikku Mattila [EMAIL PROTECTED] wrote: jndi:search id=baz contextRef=test filter=uid=pohjus searchScope=subtree /jndi:search This seems a tad silly to me and took quite a few hours to come up with. Well, works now! Which