<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>bb242.log &#187; Troubleshooting</title>
	<atom:link href="http://www.bb242.de/tag/troubleshooting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bb242.de</link>
	<description>Fahrtenbuch des Schreckens</description>
	<lastBuildDate>Fri, 02 Dec 2011 09:20:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>DWR-Newbie-Troubleshooting</title>
		<link>http://www.bb242.de/2008/04/25/dwr-newbie-troubleshooting/</link>
		<comments>http://www.bb242.de/2008/04/25/dwr-newbie-troubleshooting/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 10:32:43 +0000</pubDate>
		<dc:creator>protokollfuehrer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[DWR]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Newbie]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.bb242.de/?p=334</guid>
		<description><![CDATA[- org.directwebremoting.extend.MarshallException caused by InstantiationException: It is logical, but I didn&#8217;t find the problem for hours: You&#8217;re dealing with beans here, so don&#8217;t forget a standard no-arg constructor! - org.directwebremoting.extend.MarshallException &#8220;No converter found for class&#8220;: Have a look in your DWR-Config. A def &#60;dwr:convert type=&#8221;bean&#8221; class=&#8221;de.company.project.DWRBean*&#8221; /&#62; will convert a bean with the name DWRBean, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>- org.directwebremoting.extend.MarshallException</strong> caused by <strong>InstantiationException:</strong> It is logical, but I didn&#8217;t find the problem for hours: You&#8217;re dealing with beans here, so don&#8217;t forget a standard no-arg constructor!</p>
<p>- <strong>org.directwebremoting.extend.MarshallException</strong> &#8220;<strong>No converter found for class</strong>&#8220;: Have a look in your DWR-Config. A def &lt;dwr:convert type=&#8221;bean&#8221; class=&#8221;de.company.project.DWRBean*&#8221; /&gt; will convert a bean with the name DWRBean, but not a bean DWRBean2. The * is misleading and does only work &#8216;properly&#8217; in combination with a package: e.g. de.company.project.dwr.*&#8221;.</p>
<p>- <strong>Calls in JS to remote java-methods don&#8217;t return a value</strong>: If you call a remote method, you cannot simply assign the return value to a var. var x = remote.getX();  is wrong. The calls are done async, so you got to define  callback-handler:  remote.getX({callback: this.handleResponse.createDelegate(this, object), errorHandler: this.handleError.createDelegate(this, object)}); The createDelegate-method is ExtJs-specific and allows you to use &#8216;this&#8217; in your callback. If you&#8217;re not working with extjs, just leave it out. (Hint for JS-Newbies: the callback-handler in this case only got one parameter, the returned object).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bb242.de/2008/04/25/dwr-newbie-troubleshooting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

