Yep, it's Serializable. And I even gave it a serialVersionUID. No, there's no
difference between this model Object and all the others that work with DWR,
I think it has something to do with calling GenericManager methods ...

Bob

Rob Hills wrote:
> 
> Hi Bob,
> 
> syg6 wrote:
>> Something funky with the xml I posted, half of it is missing. For some
>> reason
>> I had to put a '_' in front of the two 'param' lines, otherwise they
>> don't
>> appear. Anyway, here is the correct xml, with '_param' instead of
>> 'param'.
>>   
> [..]
>>> in my dwr.xml I did this:
>>>
>>> <allow>
>>>   <create creator="spring" javascript="PlaceManager">
>>>   
>>>   
>>>   <include method="get"/>
>>>   </create>
>>>   <convert converter="bean" match="com.myco.myapp.model.Place" />
>>> </allow>
>>>
>>> This is exactly what I do for other beans and they all work fine, but I
>>> have never tried to call a method implemented in the parent class,
>>> GenericManager. The error I get is this, both from the DWR test page and
>>> my app:
>>>
>>>     
>>>> dwr Error marshalling java.io.Serializable: Error reading bean. 
>>>> Input parameter probably is not an object.
>>>>       
> 
> I know this is stating the obvious, but your com.myco.myapp.model.Place 
> class is Serializable, isn't it?
> 
> HTH,
> 
> Rob Hills
> Waikiki, Western Australia
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Calling-GenericManager-method-via-DWR-tf4850644s2369.html#a13879737
Sent from the AppFuse - User mailing list archive at Nabble.com.

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

Reply via email to