If you looked at the PP.add(String, String) method, you would
have seen that implementing a PP.add(String, Object) should
be:
    add (String name, Object value)
    {
        this.put(convert(name), new Object[] {value} );
    }
Note that this would break the DynamicURI.add(int, PP) - it
would get a class cast exception and add a value=null to the
URI, so as stated in a previous email i'm for a -1 for such 
a patch :( 

PP should remain being a package for string parameters.

If the data.getUser().getTemp() or the context are not suitable
for your needs, please send a proposal/patch - e.g. data.getTemp()
for something more applicable.

Regards,
Christoph

Herv� Guidetti wrote:
> 
> I would like to write a patch, but if I write :
> 
> add (String key, Object theObject)
> {
>         this.put(key, theObject);
> }
> 
> It doesn't work. It inserts the key in the hastable but the object is null
> (I looked with my debugger).
> 
> Do you have any idea to make it running ?
> 
> Herv�


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to