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. Here's a link to the gory details:
But will it call me if 'foo' starts with a digit or is it already too late by that point? I thought it was too late, since if I add a Map to the context that has the string '0' (zero) as a key it does not work. Other keys that don't start with a digit are successfully retrieved from the map.
Scott
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
