If I add a HashMap with JavaBeans in it into the JellyContext like so:

                        HashMap myBeanMap = new HashMap();
                        MyBean aBean = new MyBean();
                        aBean.setSuccess(new Boolean(true));
                        myBeanMap.put("aBean", aBean);
                        JellyContext myContext = this.getContext();
                        myContext.setVariable("myBeanMap", myBeanMap);

How would I then test that for that value in HashMap in a Jexl expression?

something like this?
<j:if test="${myBeanMap.get("aBean").success == true}">
        <pass/>
</j:if>

Thanks

David

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

Reply via email to