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

Re: JNDI-taglib search tag returns null

2007-07-25 Thread Iikku Mattila
I finally figured it out but only with good luck. On Tue, 24 Jul 2007, Kris Schneider wrote: On 7/24/07, Iikku Mattila [EMAIL PROTECTED] wrote: jndi:search id=baz contextRef=test filter=uid=quux searchScope=subtree/ Seems like it might be a filter thing. Try filter=(uid=quux). Tried that,

Re: JNDI-taglib search tag returns null

2007-07-25 Thread Henri Yandell
On 7/24/07, Iikku Mattila [EMAIL PROTECTED] wrote: I finally figured it out but only with good luck. On Tue, 24 Jul 2007, Kris Schneider wrote: On 7/24/07, Iikku Mattila [EMAIL PROTECTED] wrote: jndi:search id=baz contextRef=test filter=uid=quux searchScope=subtree/ Seems like it might be

Re: JNDI-taglib search tag returns null

2007-07-24 Thread Kris Schneider
On 7/24/07, Iikku Mattila [EMAIL PROTECTED] wrote: I have problems with the search tag from the JNDI-taglib. The following bit works: jndi:useDirContext id=test url=java:comp/env/ldap/portal / jndi:lookup id=foo contextRef=test name=uid=quux, ou=Staff / jndi:forEachAttribute ref=foo id=bar