Hi All,

Hope all is going well.

I'm currently stumped in the following situation. I have a class that has
public fields in it, and I'd like to access them from inside a jelly script,
however when I write:

${event.widget}

it always gives me nothing in return.

>From what I can tell, it's not searching for the public field 'widget' on
the object 'event', it seems to be searching for a 'getWidget' method or a
'get' method that will accept 'widget' as a property name.

This was just by inspecting the source for jexl and looking at the
util/introspection classes.

If my class:

public class Event {
    public Event event;
    
    /* ... */
}

has such a public field, how can I access the value of this field inside of
jelly?

Should I be doing something else to get the value? Perhaps I've misunderstood
the jexl/jelly source, or misunderstood something else?

Any ideas appreciated.

Cheers,

Marcus

-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   ManageSoft GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'
          &&&&.
    &&&&&&&:

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

Reply via email to