On Fri, May 30, 2008 at 12:26 PM, sudheerp <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
>   I am using appfuse-jsf 2.0.2. I am trying to implement DWR for person
> form.
> The methods inherited from GenericDaoHibernate like get, save, remove etc
> shows
>
>   Methods For: PersonManagerService
>
> #  get(  );
>        (Warning: No Converter for java.io.Serializable. See below)
>        (Warning: No Converter for java.lang.Object. See below)
> # remove( );
>        (Warning: No Converter for java.io.Serializable. See below)
> # save( );
>        (Warning: No Converter for java.lang.Object. See below)
>        (Warning: No Converter for java.lang.Object. See below)
>
> in the DWR debug window and when executed it gives the following warnings.
>
> [service] WARN [btpool0-1] BaseCallMarshaller.warn(59) | Marshalling
> exception:
> Missing method or missing parameter converters: PersonManagerService.save
>
> [service] WARN [btpool0-1] BaseCallMarshaller.warn(59) | --Erroring:
> batchId[1]
> message[java.lang.IllegalArgumentException: Missing method or missing
> parameter
> converters: PersonManagerService.save]
>
> [service] WARN [btpool0-1] BaseCallMarshaller.warn(59) | Marshalling
> exception:
> Missing method or missing parameter converters: PersonManagerService.get
>
> [service] WARN [btpool0-1] BaseCallMarshaller.warn(59) | --Erroring:
> batchId[0]
> message[java.lang.IllegalArgumentException: Missing method or missing
> parameter
> converters: PersonManagerService.get]
>
> [service] WARN [btpool0-1] BaseCallMarshaller.warn(59) | Marshalling
> exception:
> Missing method or missing parameter converters: PersonManagerService.remove
>
> [service] WARN [btpool0-1] BaseCallMarshaller.warn(59) | --Erroring:
> batchId[1]
> message[java.lang.IllegalArgumentException: Missing method or missing
> parameter
> converters: PersonManagerService.remove]
>
>
>  My dwr.xml looks like this.
>
>  <convert converter="bean" match="com.service.model.Person"/>
>  <create creator="spring" javascript="PersonManagerService" >
>
>        <include method="findByLastName"/>
>        <include method="getAll"/>
>        <include method="get"/>
>        <include method="remove"/>
>        <include method="save"/>
>  </create>

I believe you need a couple more parameters - here's what we use in the sample:

  5     <allow>
  6         <create creator="spring" javascript="UserManager">
  7             <param name="class" value="org.appfuse.service.UserManager"/>
  8             <param name="beanName" value="userManager"/>
  9             <include method="getUsers"/>
 10         </create>
 11         <convert converter="bean" match="org.appfuse.model.User"/>
 12     </allow>

Matt
>
>  What could be the problem?
>
>  Thank you.
>
> Sudheer P
> --
> View this message in context: 
> http://www.nabble.com/appfuse-jsf-%2B-DWR-converter-error-tp17565367s2369p17565367.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to