On Nov 4, 2004, at 6:24 PM, Daniel Rall wrote:

Scott, do not give up hope!  You can implement a generic get(String)
method which can provide this functionality in a dynamic fashion:

public class Ident
{
    public Client get(String name)
    {
        ...
    }
}

$ident.foo will map to Ident.get("foo"), which you can in turn have
return your Client object.

Tried implementing the 'get' method, and as I suspected it is only called if 'name' is a valid VTL identifier name. "0" didn't work, "_0" didn't work, but "A0" worked.


Thanks anyway,

Scott


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



Reply via email to