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'.

<allow>
  <create creator="spring" javascript="PlaceManager">
    <_param name="class" value="com.myco.myapp.service.PlaceManager" />
    <_param name="beanName" value="placeManager" />
    <include method="get"/>
  </create>
  <convert converter="bean" match="com.myco.myapp.model.Place" />
</allow>


syg6 wrote:
> 
> Is there anything special you need to do to get this to work?
> 
> I have a manager, PlaceManagerImpl, which extends
> GenericManagerImpl<Place, Long> and implements PlaceManager. I wish,
> however, to call one of the methods from GenericManagerImpl, get().
> 
> 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.
> 
> Anyone? 
> 
> Thanks,
> Bob
> 

-- 
View this message in context: 
http://www.nabble.com/Calling-GenericManager-method-via-DWR-tf4850644s2369.html#a13879146
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