<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-13933</id>
	<title>Nabble - DWR</title>
	<updated>2008-07-05T12:47:23Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/DWR-f13933.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/DWR-f13933.html" />
	<subtitle type="html">DWR (Direct Web Remoting) is an easy Ajax for Java. It makes it simple to call Java code directly from Javascript. It gets rid of almost all the boiler plate code between the web browser and your Java code. Java.net - DWR home is &lt;a href=&quot;https://getahead.ltd.uk/dwr/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-18295630</id>
	<title>Annotations using through-Spring configuration?</title>
	<published>2008-07-05T12:47:23Z</published>
	<updated>2008-07-05T12:47:23Z</updated>
	<author>
		<name>Dzmitry Lazerka-2</name>
	</author>
	<content type="html">Hello,&lt;br&gt;&lt;br&gt;Is it possible to configure DWR to use annotations (like @RemoteProxy) if I use Spring-based configuration &amp;lt;dwr:configuration/&amp;gt;? I do not have any DwrServlet servlets configured in web.xml to use &amp;lt;init-param&amp;gt; &amp;quot;classes&amp;quot;.&lt;br&gt;
&lt;br clear=&quot;all&quot;&gt;-----&lt;br&gt;Best regards,&lt;br&gt;Dzmitry Lazerka&lt;br&gt;Skype: dzmitry.lazerka&lt;br&gt;Phone: +375 (29) 502-9579&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Annotations-using-through-Spring-configuration--tp18295630p18295630.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18292154</id>
	<title>Re: Handling individual Exceptions</title>
	<published>2008-07-05T06:03:19Z</published>
	<updated>2008-07-05T06:03:19Z</updated>
	<author>
		<name>Joe Walker-3</name>
	</author>
	<content type="html">&lt;br&gt;So this debate is nothing to do with security exceptions - I&amp;#39;ve done that.&lt;br&gt;This is about the ability to register different handers for different exceptions - so one of the parameters to the setExceptionHander call would be the type of exception to be handled by this handler.&lt;br&gt;
My argument is that a simple switch would work.&lt;br&gt;&lt;br&gt;Joe.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sat, Jul 5, 2008 at 12:36 PM, Jose Noheda &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18292154&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jose.noheda@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
IMO this is useful enough to make it. Handling security exceptions easily for example to popup a login or things like that. In addition, if you&amp;#39;re not registering custom exceptions it just works as always has been.&lt;div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;
&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sat, Jul 5, 2008 at 11:44 AM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18292154&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;div&gt;On Fri, Jul 4, 2008 at 7:55 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18292154&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;


&lt;div&gt;&lt;div&gt;&lt;blockquote style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot; class=&quot;gmail_quote&quot;&gt;The problem is that for each extra feature like this, the error handling documentation gets harder to understand&lt;br&gt;



&lt;/blockquote&gt;&lt;br&gt;&lt;/div&gt;I&amp;#39;d argue that anyone who has familiarity with todays web frameworks (Struts, Beehive and Stripes come to mind) has experience with registering &amp;quot;global&amp;quot; exception handlers.&lt;div&gt;
&lt;br&gt;&lt;br&gt;&lt;blockquote style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot; class=&quot;gmail_quote&quot;&gt;
I&amp;#39;m not convinced that it buys us a lot, does it?&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&amp;quot;A lot&amp;quot; is relative :)&amp;nbsp; I think it allows for a concise and maintainable approach to error handling.&amp;nbsp; Registering callbacks for specific exceptions seems cleaner to me than having a switch statement.&lt;br&gt;



&lt;/div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;blockquote style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot; class=&quot;gmail_quote&quot;&gt;
Or are you talking about having this at a call/batch level?&lt;br&gt;&lt;/blockquote&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;&lt;/font&gt;&lt;/div&gt;No, the global level&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;My problem is that DWR keeps on getting bigger:&lt;br&gt;$ find . -name \*.java -exec cat {} \; | wc -l&lt;br&gt;


&amp;nbsp; 133270&lt;br&gt;&amp;nbsp;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;That&amp;#39;s a lot of lines of code, to do something fairly simple.&lt;br&gt;Now I try very hard to keep things modular, but if you ask what those lines of code are all for, it&amp;#39;s 2 things: fixing browser bugs (nothing we can do about that - it&amp;#39;s our sole purpose) and many many small features like this.&lt;br&gt;


Back when I was doing 0.4 someone blogged something along the lines &amp;quot;Joe is a code machine churning out new features at an amazing rate&amp;quot;. I don&amp;#39;t think anyone would say that now. And it&amp;#39;s not that I&amp;#39;ve got stupid - just that the weight of 100k lines of code prevents you from being a nimble as you would like.&lt;br&gt;


&lt;br&gt;So the cost of these features is that Gears support isn&amp;#39;t going to be in 3.0, which is still going to be late.&lt;br&gt;&lt;br&gt;Don&amp;#39;t get me wrong - I&amp;#39;m not against new features, just wanting to pick the ones that really make a difference.&lt;br&gt;

&lt;font color=&quot;#888888&quot;&gt;
&lt;br&gt;Joe.&lt;br&gt;&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Handling-individual-Exceptions-tp18279939p18292154.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18291459</id>
	<title>Re: Handling individual Exceptions</title>
	<published>2008-07-05T04:36:08Z</published>
	<updated>2008-07-05T04:36:08Z</updated>
	<author>
		<name>XMaNIaC</name>
	</author>
	<content type="html">IMO this is useful enough to make it. Handling security exceptions easily for example to popup a login or things like that. In addition, if you&amp;#39;re not registering custom exceptions it just works as always has been.&lt;br&gt;
&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sat, Jul 5, 2008 at 11:44 AM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18291459&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;div class=&quot;Ih2E3d&quot;&gt;On Fri, Jul 4, 2008 at 7:55 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18291459&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;div&gt;&lt;div&gt;&lt;blockquote style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot; class=&quot;gmail_quote&quot;&gt;The problem is that for each extra feature like this, the error handling documentation gets harder to understand&lt;br&gt;


&lt;/blockquote&gt;&lt;br&gt;&lt;/div&gt;I&amp;#39;d argue that anyone who has familiarity with todays web frameworks (Struts, Beehive and Stripes come to mind) has experience with registering &amp;quot;global&amp;quot; exception handlers.&lt;div&gt;
&lt;br&gt;&lt;br&gt;&lt;blockquote style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot; class=&quot;gmail_quote&quot;&gt;
I&amp;#39;m not convinced that it buys us a lot, does it?&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&amp;quot;A lot&amp;quot; is relative :)&amp;nbsp; I think it allows for a concise and maintainable approach to error handling.&amp;nbsp; Registering callbacks for specific exceptions seems cleaner to me than having a switch statement.&lt;br&gt;


&lt;/div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;blockquote style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot; class=&quot;gmail_quote&quot;&gt;
Or are you talking about having this at a call/batch level?&lt;br&gt;&lt;/blockquote&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;&lt;/font&gt;&lt;/div&gt;No, the global level&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;My problem is that DWR keeps on getting bigger:&lt;br&gt;$ find . -name \*.java -exec cat {} \; | wc -l&lt;br&gt;

&amp;nbsp; 133270&lt;br&gt;&amp;nbsp;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;That&amp;#39;s a lot of lines of code, to do something fairly simple.&lt;br&gt;Now I try very hard to keep things modular, but if you ask what those lines of code are all for, it&amp;#39;s 2 things: fixing browser bugs (nothing we can do about that - it&amp;#39;s our sole purpose) and many many small features like this.&lt;br&gt;

Back when I was doing 0.4 someone blogged something along the lines &amp;quot;Joe is a code machine churning out new features at an amazing rate&amp;quot;. I don&amp;#39;t think anyone would say that now. And it&amp;#39;s not that I&amp;#39;ve got stupid - just that the weight of 100k lines of code prevents you from being a nimble as you would like.&lt;br&gt;

&lt;br&gt;So the cost of these features is that Gears support isn&amp;#39;t going to be in 3.0, which is still going to be late.&lt;br&gt;&lt;br&gt;Don&amp;#39;t get me wrong - I&amp;#39;m not against new features, just wanting to pick the ones that really make a difference.&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;
&lt;br&gt;Joe.&lt;br&gt;&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Handling-individual-Exceptions-tp18279939p18291459.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18291420</id>
	<title>Re: Global filter configuration using spring</title>
	<published>2008-07-05T04:31:20Z</published>
	<updated>2008-07-05T04:31:20Z</updated>
	<author>
		<name>XMaNIaC</name>
	</author>
	<content type="html">Hi Lance,&lt;br&gt;&lt;br&gt;There was a Jira issue abot this issue and it was solved some time ago. You need the a 3.0 post M1 IIRC&lt;br&gt;&lt;br&gt;Regards&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 5:08 PM, Lance Java &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18291420&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lance.java@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;I&amp;#39;m trying to configure a filter in my spring xml but I get the feeling that it&amp;#39;s not possible.&lt;br&gt;
&lt;br&gt;I&amp;#39;ve tried the following locations in my application context file:&lt;br&gt;&amp;lt;dwr:configuration&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dwr:init&amp;gt;&lt;br&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;lt;dwr:filter class=&amp;quot;foo.bar.MyFilter&amp;quot; /&amp;gt; &amp;lt;!-- doesn&amp;#39;t allow a dwr:filter element here --&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dwr:converter id=&amp;quot;...&amp;quot; class=&amp;quot;..&amp;quot; /&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dwr:init&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dwr:filter class=&amp;quot;foo.bar.MyFilter&amp;quot; /&amp;gt; &amp;lt;!-- doesn&amp;#39;t allow a dwr:filter element here --&amp;gt;&lt;br&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dwr:convert type=&amp;quot;...&amp;quot; class=&amp;quot;...&amp;quot;&amp;nbsp; /&amp;gt;&lt;br&gt;&amp;lt;/dwr:configuration&amp;gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Global-filter-configuration-using-spring-tp18281193p18291420.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18290555</id>
	<title>Re: Handling individual Exceptions</title>
	<published>2008-07-05T02:44:41Z</published>
	<updated>2008-07-05T02:44:41Z</updated>
	<author>
		<name>Joe Walker-3</name>
	</author>
	<content type="html">&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 7:55 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18290555&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;&lt;div class=&quot;Ih2E3d&quot;&gt;&lt;blockquote style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot; class=&quot;gmail_quote&quot;&gt;The problem is that for each extra feature like this, the error handling documentation gets harder to understand&lt;br&gt;

&lt;/blockquote&gt;&lt;br&gt;&lt;/div&gt;I&amp;#39;d argue that anyone who has familiarity with todays web frameworks (Struts, Beehive and Stripes come to mind) has experience with registering &amp;quot;global&amp;quot; exception handlers.&lt;div class=&quot;Ih2E3d&quot;&gt;
&lt;br&gt;&lt;br&gt;&lt;blockquote style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot; class=&quot;gmail_quote&quot;&gt;
I&amp;#39;m not convinced that it buys us a lot, does it?&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&amp;quot;A lot&amp;quot; is relative :)&amp;nbsp; I think it allows for a concise and maintainable approach to error handling.&amp;nbsp; Registering callbacks for specific exceptions seems cleaner to me than having a switch statement.&lt;br&gt;

&lt;/div&gt;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;Ih2E3d&quot;&gt;&lt;blockquote style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot; class=&quot;gmail_quote&quot;&gt;
Or are you talking about having this at a call/batch level?&lt;br&gt;&lt;/blockquote&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;&lt;/font&gt;&lt;/div&gt;No, the global level&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;My problem is that DWR keeps on getting bigger:&lt;br&gt;$ find . -name \*.java -exec cat {} \; | wc -l&lt;br&gt;
&amp;nbsp; 133270&lt;br&gt;&amp;nbsp;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;That&amp;#39;s a lot of lines of code, to do something fairly simple.&lt;br&gt;Now I try very hard to keep things modular, but if you ask what those lines of code are all for, it&amp;#39;s 2 things: fixing browser bugs (nothing we can do about that - it&amp;#39;s our sole purpose) and many many small features like this.&lt;br&gt;
Back when I was doing 0.4 someone blogged something along the lines &amp;quot;Joe is a code machine churning out new features at an amazing rate&amp;quot;. I don&amp;#39;t think anyone would say that now. And it&amp;#39;s not that I&amp;#39;ve got stupid - just that the weight of 100k lines of code prevents you from being a nimble as you would like.&lt;br&gt;
&lt;br&gt;So the cost of these features is that Gears support isn&amp;#39;t going to be in 3.0, which is still going to be late.&lt;br&gt;&lt;br&gt;Don&amp;#39;t get me wrong - I&amp;#39;m not against new features, just wanting to pick the ones that really make a difference.&lt;br&gt;
&lt;br&gt;Joe.&lt;br&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Handling-individual-Exceptions-tp18279939p18290555.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18284511</id>
	<title>Re: Handling individual Exceptions</title>
	<published>2008-07-04T11:55:05Z</published>
	<updated>2008-07-04T11:55:05Z</updated>
	<author>
		<name>Kevin Conaway</name>
	</author>
	<content type="html">&lt;div&gt;&lt;blockquote style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot; class=&quot;gmail_quote&quot;&gt;The problem is that for each extra feature like this, the error handling documentation gets harder to understand&lt;br&gt;
&lt;/blockquote&gt;&lt;br&gt;I&amp;#39;d argue that anyone who has familiarity with todays web frameworks (Struts, Beehive and Stripes come to mind) has experience with registering &amp;quot;global&amp;quot; exception handlers.&lt;br&gt;&lt;br&gt;&lt;blockquote style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot; class=&quot;gmail_quote&quot;&gt;
I&amp;#39;m not convinced that it buys us a lot, does it?&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&amp;quot;A lot&amp;quot; is relative :)&amp;nbsp; I think it allows for a concise and maintainable approach to error handling.&amp;nbsp; Registering callbacks for specific exceptions seems cleaner to me than having a switch statement.&lt;br&gt;
&lt;/div&gt;&amp;nbsp;&lt;/div&gt;&lt;blockquote style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot; class=&quot;gmail_quote&quot;&gt;
Or are you talking about having this at a call/batch level?&lt;br&gt;&lt;/blockquote&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;&lt;/font&gt;No, the global level&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;br&gt;Kevin&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 11:57 AM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18284511&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;br&gt;The problem is that for each extra feature like this, the error handling documentation gets harder to understand, and I&amp;#39;m not convinced that it buys us a lot, does it?&lt;br&gt;
Since this is for global error handlers, you only need one switch statement.&lt;br&gt;
Or are you talking about having this at a call/batch level?&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Joe.&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 4:01 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18284511&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Thanks.&amp;nbsp; I&amp;#39;d like to see the the individual handlers called before the global handler but after the handler registered with the call.&amp;nbsp; I suppose the precedence would be:&lt;br&gt;

&lt;br&gt;1.) If there was a handler registered with the call, use that&lt;br&gt;
2.) If there is global handler registered for the exception type, use that&lt;br&gt;3.) Use the global error handler&lt;br&gt;&lt;br&gt;If I&amp;#39;m able to register handlers for a certain type, it saves me from ugly conditional logic in my error handlers:&lt;br&gt;


&lt;br&gt;if (ex instanceof SomeException) {&lt;br&gt;&amp;nbsp; // do something&lt;br&gt;} else if (ex instanceof ...) {&lt;br&gt;&amp;nbsp; // something else&lt;br&gt;} else {&lt;br&gt;&amp;nbsp; // punt to default handler&lt;br&gt;}&lt;br&gt;&lt;br&gt;I&amp;#39;ve got a patch ready if you&amp;#39;re interested.&lt;div&gt;

&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;
&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 10:50 AM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18284511&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;


&lt;br&gt;I ought to add something that wasn&amp;#39;t clear from my original reply - the global error handler is called errorHandler and not exceptionHandler.&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Joe.&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 3:49 PM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18284511&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;br&gt;For once I&amp;#39;m ahead of you ...&lt;br&gt;&lt;a href=&quot;http://directwebremoting.org/dwr/other/errors&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://directwebremoting.org/dwr/other/errors&lt;/a&gt;&lt;div&gt;



&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 3:14 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18284511&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Joe, can you explain how that works in 3.0m1?&lt;br&gt;&lt;br&gt;Thanks&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 9:57 AM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18284511&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;





&lt;br&gt;You can do exactly that already in 3.0m1, with the exception that the Exception Handler gets passed all exceptions. But you&amp;#39;re only a switch away from having just what you need.&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Joe.&lt;/font&gt;&lt;div&gt;





&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
On Fri, Jul 4, 2008 at 2:52 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18284511&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;






In addition to the global error handler, I&amp;#39;d like to see a way to register handlers for invidiual Exception instances.&amp;nbsp; For example:&lt;br&gt;&lt;br&gt;&amp;lt;convert converter=&amp;quot;exception&amp;quot; javascript=&amp;quot;MyException .../&amp;gt;&lt;br&gt;







&lt;br&gt;dwr.engine.setExceptionHandler(MyException, function() {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Handler code&lt;br&gt;});&lt;br&gt;&lt;br&gt;This allows for much more flexible error handling on the client side with minimal effort.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;






Kevin Conaway&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Handling-individual-Exceptions-tp18279939p18284511.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18283612</id>
	<title>Re: Add &quot;role&quot; attribute to &lt;include/&gt;</title>
	<published>2008-07-04T10:38:17Z</published>
	<updated>2008-07-04T10:38:17Z</updated>
	<author>
		<name>Joe Walker-3</name>
	</author>
	<content type="html">&lt;br&gt;Ahh - Thanks.&lt;br&gt;Joe.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 6:24 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18283612&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
The address that was on the document, &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18283612&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cla@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;I received a confirmation from Alyssa Maire&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
On Fri, Jul 4, 2008 at 12:01 PM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18283612&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Jul 3, 2008 at 2:36 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18283612&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
...&lt;div&gt;&lt;br&gt;The CLA is on its way via email &lt;font color=&quot;#888888&quot;&gt;&lt;/font&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;What address are you sending to?&lt;br&gt;&lt;br&gt;Joe.&lt;br&gt;&amp;nbsp;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Add-%22role%22-attribute-to-%3Cinclude-%3E-tp18248795p18283612.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18283501</id>
	<title>Re: Long time processing in the DwrServlet.service()</title>
	<published>2008-07-04T10:28:28Z</published>
	<updated>2008-07-04T10:28:28Z</updated>
	<author>
		<name>Joe Walker-3</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Jun 11, 2008 at 8:43 PM, Mike Wilson &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18283501&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mikewse@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Great! I think this will help us a lot. I&amp;#39;m guessing that this&lt;br&gt;
exception is thrown from ParseUtil.java:110 while it is reading&lt;br&gt;
the POST body from the request InputStream.&lt;br&gt;
As these requests are delayed by 60 secs my next guess is that it&lt;br&gt;
is waiting for data and times out. Is the SimpleFramework socket&lt;br&gt;
possibly configured with a timeout of 60 secs? Could you configure&lt;br&gt;
the Simple socket to another timeout value and try again?&lt;br&gt;
&lt;br&gt;
Maybe you could also configure your SimpleReq-&amp;gt;ServletReq adapter&lt;br&gt;
to spy on the input stream and log what data is actually fetched&lt;br&gt;
by DWR for the different requests, so we can see how much DWR is&lt;br&gt;
actually fetching before giving up on the slow requests.&lt;br&gt;
&lt;br&gt;
I&amp;#39;m also noting that the&lt;br&gt;
 &amp;nbsp;throw new ServerException&lt;br&gt;
on line 110 isn&amp;#39;t being logged, so we can&amp;#39;t see the nested exception.&lt;br&gt;
&lt;br&gt;
Joe: could we add logging of this exception?&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Yes, but I&amp;#39;m not keen on doing this to 2.0. &lt;br&gt;&lt;/div&gt;&lt;/div&gt;I&amp;#39;m just checking something for this into HEAD, can you try it out there?&lt;br&gt;&lt;br&gt;Joe.&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Long-time-processing-in-the-DwrServlet.service%28%29-tp17185238p18283501.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18283439</id>
	<title>Re: Add &quot;role&quot; attribute to &lt;include/&gt;</title>
	<published>2008-07-04T10:24:27Z</published>
	<updated>2008-07-04T10:24:27Z</updated>
	<author>
		<name>Kevin Conaway</name>
	</author>
	<content type="html">The address that was on the document, &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18283439&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cla@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;I received a confirmation from Alyssa Maire&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 12:01 PM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18283439&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Jul 3, 2008 at 2:36 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18283439&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
...&lt;div class=&quot;Ih2E3d&quot;&gt;&lt;br&gt;The CLA is on its way via email &lt;font color=&quot;#888888&quot;&gt;&lt;/font&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;What address are you sending to?&lt;br&gt;&lt;br&gt;Joe.&lt;br&gt;&amp;nbsp;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Add-%22role%22-attribute-to-%3Cinclude-%3E-tp18248795p18283439.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18283201</id>
	<title>Re: Jawr now supports DWR 3. Plugin offer for DWR codebase.</title>
	<published>2008-07-04T10:04:44Z</published>
	<updated>2008-07-04T10:04:44Z</updated>
	<author>
		<name>Jordi Hernandez</name>
	</author>
	<content type="html">Well, it does not add much compared to a full integration. It is more of an optional library support (like spring or webwork). People do still need to know how to use jawr as well. 
&lt;br&gt;&lt;br&gt;Anyway, I was trying to offer a compromise between getting everything done for 3.0 or doing nothing until 3.1. But if we are going to integrate things this might actually be a waste of time. All things considered, I guess it's best to get started on integration so we at least make it for 3.1. 
&lt;br&gt;&lt;br&gt;I need to release a minor version with a couple of fixes and then I'll dive into the 3.0 code, to see if I can figure out a proposal for how to get things going. 
&lt;br&gt;&lt;br&gt;Cheers, Jordi
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Joe Walker-3 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;I'd be happy to do that, but I'm not sure that it adds much does it?
&lt;br&gt;In order to use DWR with JAWR people are still going to need to get a jawr
&lt;br&gt;jar and understand how to use jawr. On the other hand it does make the DWR
&lt;br&gt;build etc more complex.
&lt;br&gt;&lt;br&gt;Joe.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Jawr-now-supports-DWR-3.-Plugin-offer-for-DWR-codebase.-tp17750178p18283201.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18282493</id>
	<title>Re: Handling Batch Exceptions</title>
	<published>2008-07-04T09:20:31Z</published>
	<updated>2008-07-04T09:20:31Z</updated>
	<author>
		<name>Joe Walker-3</name>
	</author>
	<content type="html">&lt;br&gt;So I&amp;#39;m prepared to give this a go. I&amp;#39;ve just removed the check from BaseCallHandler (in SVN HEAD). I think it will now be handled by DefaultRemoter alone, which should push it out at the call level rather than the batch level.&lt;br&gt;
Please report back on how it works.&lt;br&gt;&lt;br&gt;Joe.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Jul 3, 2008 at 1:20 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18282493&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Unfortunately, doing nothing isn&amp;#39;t an option for me.&amp;nbsp; In my case, I&amp;#39;m using Spring Security in AccessControl to validate the current users role.&amp;nbsp; If the current user isn&amp;#39;t there (which probably means their session timed out), Spring Security will throw some kind of exception about the credentials not being available any more.&amp;nbsp; I&amp;#39;d like to handle those exceptions in a more robust manner.&lt;br&gt;

&lt;br&gt;The other thing I noticed is that DWR calls AccessControl.assertExecutionIsPossible in BaseCallHandler.marshallInbound() and again in DefaultRemoter.execute().&lt;br&gt;&lt;br&gt;Is it necessary to call that method twice?&amp;nbsp; I would prefer it if the method was called only in DefaultRemoter.execute() because any exceptions that are thrown are treated as &amp;quot;user&amp;quot; exceptions, not a &amp;quot;server&amp;quot; exception and are marshalled appropriately&lt;br&gt;

&lt;br&gt;Kvin&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Jul 3, 2008 at 5:20 AM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18282493&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;br&gt;From memory, the theory was that if you send in a batch, and if one of the calls in the batch violates a security constraint then we have a potential hacking incident, and the whole batch should be rejected.&lt;br&gt;The general principle is - if you suspect hacking, just stop processing and say nothing.&lt;br&gt;


&lt;br&gt;It sounds as though your setup defines a security problem to be part of the auth mechanism?&lt;br&gt;What do people think: Are we being too restrictive?&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Joe.&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Jul 2, 2008 at 6:21 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18282493&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;I&amp;#39;m attempting to override AccessControl.assertIsRestrictedByRole to do some custom role checking.&amp;nbsp; I&amp;#39;d like to throw an Exception back to the caller if the user doesn&amp;#39;t have the correct permission.&lt;br&gt;


&lt;br&gt;The problem seems to be that the Exception is being caught by BaseCallHandler.handle() which calls BaseCallHandler.marshallException()&lt;br&gt;
&lt;br&gt;BaseCallHandler.marshallException() marshalls the exception using the EnginePrivate.getRemoteHandleBatchExceptionScript() call which loses destroys all type information and associated instance variables in the thrown Exception.&lt;br&gt;



&lt;br&gt;Why isn&amp;#39;t the Exception marshalled in the same manner of Exceptions thrown when executing a method call?&lt;br&gt;&lt;br&gt;Since its marshalled differently without type information, I can&amp;#39;t do &amp;quot;instanceof&amp;quot; checks or get at the Exception state.&lt;br&gt;



&lt;br&gt;Thanks,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Kevin&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Handling-Batch-Exceptions-tp18242663p18282493.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18282234</id>
	<title>Re: Jawr now supports DWR 3. Plugin offer for DWR codebase.</title>
	<published>2008-07-04T09:04:57Z</published>
	<updated>2008-07-04T09:04:57Z</updated>
	<author>
		<name>Joe Walker-3</name>
	</author>
	<content type="html">&lt;br&gt;I&amp;#39;d be happy to do that, but I&amp;#39;m not sure that it adds much does it?&lt;br&gt;In order to use DWR with JAWR people are still going to need to get a jawr jar and understand how to use jawr. On the other hand it does make the DWR build etc more complex.&lt;br&gt;
&lt;br&gt;Joe.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Jul 3, 2008 at 2:34 PM, Jordi Hernandez &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18282234&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jordihs@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;
I&amp;#39;m flattered to see such interest! :-)&lt;br&gt;
&lt;br&gt;
Maybe a compromise solution would be to add the current 3.0 plugin (just a&lt;br&gt;
matter of throwing it in the source tree, although the jawr and log4j jars&lt;br&gt;
would still be required separately) and tighten integration later for 3.1.&lt;br&gt;
&lt;br&gt;
That said I don&amp;#39;t mind waiting or getting right into it, whatever you guys&lt;br&gt;
decide...&lt;br&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;&lt;br&gt;
Jordi.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Joe Walker-3 wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/div&gt;&lt;div class=&quot;Ih2E3d&quot;&gt;&amp;gt; The argument for holding off a release is always the same though isn&amp;#39;t it?&lt;br&gt;
&amp;gt; Gears support would be very nice too ...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Joe.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;font color=&quot;#888888&quot;&gt;--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://www.nabble.com/Jawr-now-supports-DWR-3.-Plugin-offer-for-DWR-codebase.-tp17750178p18259333.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/Jawr-now-supports-DWR-3.-Plugin-offer-for-DWR-codebase.-tp17750178p18259333.html&lt;/a&gt;&lt;br&gt;

&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;Sent from the DWR - Users mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18282234&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;
For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18282234&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Jawr-now-supports-DWR-3.-Plugin-offer-for-DWR-codebase.-tp17750178p18282234.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18282180</id>
	<title>Re: Add &quot;role&quot; attribute to &lt;include/&gt;</title>
	<published>2008-07-04T09:01:16Z</published>
	<updated>2008-07-04T09:01:16Z</updated>
	<author>
		<name>Joe Walker-3</name>
	</author>
	<content type="html">&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Jul 3, 2008 at 2:36 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18282180&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
...&lt;br&gt;The CLA is on its way via email &lt;font color=&quot;#888888&quot;&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;What address are you sending to?&lt;br&gt;&lt;br&gt;Joe.&lt;br&gt;&amp;nbsp;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Add-%22role%22-attribute-to-%3Cinclude-%3E-tp18248795p18282180.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18282119</id>
	<title>Re: Handling individual Exceptions</title>
	<published>2008-07-04T08:57:48Z</published>
	<updated>2008-07-04T08:57:48Z</updated>
	<author>
		<name>Joe Walker-3</name>
	</author>
	<content type="html">&lt;br&gt;The problem is that for each extra feature like this, the error handling documentation gets harder to understand, and I&amp;#39;m not convinced that it buys us a lot, does it?&lt;br&gt;Since this is for global error handlers, you only need one switch statement.&lt;br&gt;
Or are you talking about having this at a call/batch level?&lt;br&gt;&lt;br&gt;Joe.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 4:01 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18282119&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Thanks.&amp;nbsp; I&amp;#39;d like to see the the individual handlers called before the global handler but after the handler registered with the call.&amp;nbsp; I suppose the precedence would be:&lt;br&gt;
&lt;br&gt;1.) If there was a handler registered with the call, use that&lt;br&gt;
2.) If there is global handler registered for the exception type, use that&lt;br&gt;3.) Use the global error handler&lt;br&gt;&lt;br&gt;If I&amp;#39;m able to register handlers for a certain type, it saves me from ugly conditional logic in my error handlers:&lt;br&gt;

&lt;br&gt;if (ex instanceof SomeException) {&lt;br&gt;&amp;nbsp; // do something&lt;br&gt;} else if (ex instanceof ...) {&lt;br&gt;&amp;nbsp; // something else&lt;br&gt;} else {&lt;br&gt;&amp;nbsp; // punt to default handler&lt;br&gt;}&lt;br&gt;&lt;br&gt;I&amp;#39;ve got a patch ready if you&amp;#39;re interested.&lt;div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;
&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 10:50 AM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18282119&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;br&gt;I ought to add something that wasn&amp;#39;t clear from my original reply - the global error handler is called errorHandler and not exceptionHandler.&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Joe.&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 3:49 PM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18282119&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;br&gt;For once I&amp;#39;m ahead of you ...&lt;br&gt;&lt;a href=&quot;http://directwebremoting.org/dwr/other/errors&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://directwebremoting.org/dwr/other/errors&lt;/a&gt;&lt;div&gt;


&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 3:14 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18282119&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Joe, can you explain how that works in 3.0m1?&lt;br&gt;&lt;br&gt;Thanks&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 9:57 AM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18282119&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;




&lt;br&gt;You can do exactly that already in 3.0m1, with the exception that the Exception Handler gets passed all exceptions. But you&amp;#39;re only a switch away from having just what you need.&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Joe.&lt;/font&gt;&lt;div&gt;




&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
On Fri, Jul 4, 2008 at 2:52 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18282119&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;





In addition to the global error handler, I&amp;#39;d like to see a way to register handlers for invidiual Exception instances.&amp;nbsp; For example:&lt;br&gt;&lt;br&gt;&amp;lt;convert converter=&amp;quot;exception&amp;quot; javascript=&amp;quot;MyException .../&amp;gt;&lt;br&gt;






&lt;br&gt;dwr.engine.setExceptionHandler(MyException, function() {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Handler code&lt;br&gt;});&lt;br&gt;&lt;br&gt;This allows for much more flexible error handling on the client side with minimal effort.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;





Kevin Conaway&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Handling-individual-Exceptions-tp18279939p18282119.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18281193</id>
	<title>Global filter configuration using spring</title>
	<published>2008-07-04T08:08:42Z</published>
	<updated>2008-07-04T08:08:42Z</updated>
	<author>
		<name>Lance Java</name>
	</author>
	<content type="html">I&amp;#39;m trying to configure a filter in my spring xml but I get the feeling that it&amp;#39;s not possible.&lt;br&gt;&lt;br&gt;I&amp;#39;ve tried the following locations in my application context file:&lt;br&gt;&amp;lt;dwr:configuration&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dwr:init&amp;gt;&lt;br&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;lt;dwr:filter class=&amp;quot;foo.bar.MyFilter&amp;quot; /&amp;gt; &amp;lt;!-- doesn&amp;#39;t allow a dwr:filter element here --&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dwr:converter id=&amp;quot;...&amp;quot; class=&amp;quot;..&amp;quot; /&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dwr:init&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dwr:filter class=&amp;quot;foo.bar.MyFilter&amp;quot; /&amp;gt; &amp;lt;!-- doesn&amp;#39;t allow a dwr:filter element here --&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dwr:convert type=&amp;quot;...&amp;quot; class=&amp;quot;...&amp;quot;&amp;nbsp; /&amp;gt;&lt;br&gt;&amp;lt;/dwr:configuration&amp;gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Global-filter-configuration-using-spring-tp18281193p18281193.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18281058</id>
	<title>Re: Handling individual Exceptions</title>
	<published>2008-07-04T08:01:01Z</published>
	<updated>2008-07-04T08:01:01Z</updated>
	<author>
		<name>Kevin Conaway</name>
	</author>
	<content type="html">Thanks.&amp;nbsp; I&amp;#39;d like to see the the individual handlers called before the global handler but after the handler registered with the call.&amp;nbsp; I suppose the precedence would be:&lt;br&gt;&lt;br&gt;1.) If there was a handler registered with the call, use that&lt;br&gt;
2.) If there is global handler registered for the exception type, use that&lt;br&gt;3.) Use the global error handler&lt;br&gt;&lt;br&gt;If I&amp;#39;m able to register handlers for a certain type, it saves me from ugly conditional logic in my error handlers:&lt;br&gt;
&lt;br&gt;if (ex instanceof SomeException) {&lt;br&gt;&amp;nbsp; // do something&lt;br&gt;} else if (ex instanceof ...) {&lt;br&gt;&amp;nbsp; // something else&lt;br&gt;} else {&lt;br&gt;&amp;nbsp; // punt to default handler&lt;br&gt;}&lt;br&gt;&lt;br&gt;I&amp;#39;ve got a patch ready if you&amp;#39;re interested.&lt;br&gt;
&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 10:50 AM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18281058&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;I ought to add something that wasn&amp;#39;t clear from my original reply - the global error handler is called errorHandler and not exceptionHandler.&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Joe.&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 3:49 PM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18281058&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;br&gt;For once I&amp;#39;m ahead of you ...&lt;br&gt;&lt;a href=&quot;http://directwebremoting.org/dwr/other/errors&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://directwebremoting.org/dwr/other/errors&lt;/a&gt;&lt;div&gt;

&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 3:14 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18281058&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Joe, can you explain how that works in 3.0m1?&lt;br&gt;&lt;br&gt;Thanks&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 9:57 AM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18281058&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;



&lt;br&gt;You can do exactly that already in 3.0m1, with the exception that the Exception Handler gets passed all exceptions. But you&amp;#39;re only a switch away from having just what you need.&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Joe.&lt;/font&gt;&lt;div&gt;



&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
On Fri, Jul 4, 2008 at 2:52 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18281058&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;




In addition to the global error handler, I&amp;#39;d like to see a way to register handlers for invidiual Exception instances.&amp;nbsp; For example:&lt;br&gt;&lt;br&gt;&amp;lt;convert converter=&amp;quot;exception&amp;quot; javascript=&amp;quot;MyException .../&amp;gt;&lt;br&gt;





&lt;br&gt;dwr.engine.setExceptionHandler(MyException, function() {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Handler code&lt;br&gt;});&lt;br&gt;&lt;br&gt;This allows for much more flexible error handling on the client side with minimal effort.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;




Kevin Conaway&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Handling-individual-Exceptions-tp18279939p18281058.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18280853</id>
	<title>Re: Handling individual Exceptions</title>
	<published>2008-07-04T07:50:05Z</published>
	<updated>2008-07-04T07:50:05Z</updated>
	<author>
		<name>Joe Walker-3</name>
	</author>
	<content type="html">&lt;br&gt;I ought to add something that wasn&amp;#39;t clear from my original reply - the global error handler is called errorHandler and not exceptionHandler.&lt;br&gt;&lt;br&gt;Joe.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 3:49 PM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18280853&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;br&gt;For once I&amp;#39;m ahead of you ...&lt;br&gt;&lt;a href=&quot;http://directwebremoting.org/dwr/other/errors&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://directwebremoting.org/dwr/other/errors&lt;/a&gt;&lt;div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 3:14 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18280853&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Joe, can you explain how that works in 3.0m1?&lt;br&gt;&lt;br&gt;Thanks&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 9:57 AM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18280853&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;


&lt;br&gt;You can do exactly that already in 3.0m1, with the exception that the Exception Handler gets passed all exceptions. But you&amp;#39;re only a switch away from having just what you need.&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Joe.&lt;/font&gt;&lt;div&gt;


&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
On Fri, Jul 4, 2008 at 2:52 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18280853&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;



In addition to the global error handler, I&amp;#39;d like to see a way to register handlers for invidiual Exception instances.&amp;nbsp; For example:&lt;br&gt;&lt;br&gt;&amp;lt;convert converter=&amp;quot;exception&amp;quot; javascript=&amp;quot;MyException .../&amp;gt;&lt;br&gt;




&lt;br&gt;dwr.engine.setExceptionHandler(MyException, function() {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Handler code&lt;br&gt;});&lt;br&gt;&lt;br&gt;This allows for much more flexible error handling on the client side with minimal effort.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;



Kevin Conaway&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Handling-individual-Exceptions-tp18279939p18280853.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18280839</id>
	<title>Re: Handling individual Exceptions</title>
	<published>2008-07-04T07:49:10Z</published>
	<updated>2008-07-04T07:49:10Z</updated>
	<author>
		<name>Joe Walker-3</name>
	</author>
	<content type="html">&lt;br&gt;For once I&amp;#39;m ahead of you ...&lt;br&gt;&lt;a href=&quot;http://directwebremoting.org/dwr/other/errors&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://directwebremoting.org/dwr/other/errors&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 3:14 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18280839&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Joe, can you explain how that works in 3.0m1?&lt;br&gt;&lt;br&gt;Thanks&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 9:57 AM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18280839&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;br&gt;You can do exactly that already in 3.0m1, with the exception that the Exception Handler gets passed all exceptions. But you&amp;#39;re only a switch away from having just what you need.&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Joe.&lt;/font&gt;&lt;div&gt;

&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
On Fri, Jul 4, 2008 at 2:52 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18280839&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;


In addition to the global error handler, I&amp;#39;d like to see a way to register handlers for invidiual Exception instances.&amp;nbsp; For example:&lt;br&gt;&lt;br&gt;&amp;lt;convert converter=&amp;quot;exception&amp;quot; javascript=&amp;quot;MyException .../&amp;gt;&lt;br&gt;



&lt;br&gt;dwr.engine.setExceptionHandler(MyException, function() {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Handler code&lt;br&gt;});&lt;br&gt;&lt;br&gt;This allows for much more flexible error handling on the client side with minimal effort.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;


Kevin Conaway&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Handling-individual-Exceptions-tp18279939p18280839.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18280279</id>
	<title>Re: Handling individual Exceptions</title>
	<published>2008-07-04T07:14:54Z</published>
	<updated>2008-07-04T07:14:54Z</updated>
	<author>
		<name>Kevin Conaway</name>
	</author>
	<content type="html">Joe, can you explain how that works in 3.0m1?&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 4, 2008 at 9:57 AM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18280279&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;You can do exactly that already in 3.0m1, with the exception that the Exception Handler gets passed all exceptions. But you&amp;#39;re only a switch away from having just what you need.&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Joe.&lt;/font&gt;&lt;div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
On Fri, Jul 4, 2008 at 2:52 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18280279&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

In addition to the global error handler, I&amp;#39;d like to see a way to register handlers for invidiual Exception instances.&amp;nbsp; For example:&lt;br&gt;&lt;br&gt;&amp;lt;convert converter=&amp;quot;exception&amp;quot; javascript=&amp;quot;MyException .../&amp;gt;&lt;br&gt;


&lt;br&gt;dwr.engine.setExceptionHandler(MyException, function() {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Handler code&lt;br&gt;});&lt;br&gt;&lt;br&gt;This allows for much more flexible error handling on the client side with minimal effort.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;

Kevin Conaway&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Handling-individual-Exceptions-tp18279939p18280279.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18280004</id>
	<title>Re: Handling individual Exceptions</title>
	<published>2008-07-04T06:57:35Z</published>
	<updated>2008-07-04T06:57:35Z</updated>
	<author>
		<name>Joe Walker-3</name>
	</author>
	<content type="html">&lt;br&gt;You can do exactly that already in 3.0m1, with the exception that the Exception Handler gets passed all exceptions. But you&amp;#39;re only a switch away from having just what you need.&lt;br&gt;&lt;br&gt;Joe.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
On Fri, Jul 4, 2008 at 2:52 PM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18280004&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
In addition to the global error handler, I&amp;#39;d like to see a way to register handlers for invidiual Exception instances.&amp;nbsp; For example:&lt;br&gt;&lt;br&gt;&amp;lt;convert converter=&amp;quot;exception&amp;quot; javascript=&amp;quot;MyException .../&amp;gt;&lt;br&gt;

&lt;br&gt;dwr.engine.setExceptionHandler(MyException, function() {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Handler code&lt;br&gt;});&lt;br&gt;&lt;br&gt;This allows for much more flexible error handling on the client side with minimal effort.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
Kevin Conaway&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Handling-individual-Exceptions-tp18279939p18280004.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18280007</id>
	<title>Re: Handling individual Exceptions</title>
	<published>2008-07-04T06:57:22Z</published>
	<updated>2008-07-04T06:57:22Z</updated>
	<author>
		<name>David Marginian-2</name>
	</author>
	<content type="html">Looks like a nice feature to add ....
&lt;br&gt;&lt;br&gt;In the meantime you can kind of implement it on your own by setting the 
&lt;br&gt;global error handler and checking the exception type within it .
&lt;br&gt;&lt;br&gt;Kevin Conaway wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; In addition to the global error handler, I'd like to see a way to 
&lt;br&gt;&amp;gt; register handlers for invidiual Exception instances. &amp;nbsp;For example:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;convert converter=&amp;quot;exception&amp;quot; javascript=&amp;quot;MyException .../&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; dwr.engine.setExceptionHandler(MyException, function() {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; // Handler code
&lt;br&gt;&amp;gt; });
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This allows for much more flexible error handling on the client side 
&lt;br&gt;&amp;gt; with minimal effort.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Kevin Conaway
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18280007&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18280007&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Handling-individual-Exceptions-tp18279939p18280007.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18279939</id>
	<title>Handling individual Exceptions</title>
	<published>2008-07-04T06:52:38Z</published>
	<updated>2008-07-04T06:52:38Z</updated>
	<author>
		<name>Kevin Conaway</name>
	</author>
	<content type="html">In addition to the global error handler, I&amp;#39;d like to see a way to register handlers for invidiual Exception instances.&amp;nbsp; For example:&lt;br&gt;&lt;br&gt;&amp;lt;convert converter=&amp;quot;exception&amp;quot; javascript=&amp;quot;MyException .../&amp;gt;&lt;br&gt;
&lt;br&gt;dwr.engine.setExceptionHandler(MyException, function() {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Handler code&lt;br&gt;});&lt;br&gt;&lt;br&gt;This allows for much more flexible error handling on the client side with minimal effort.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;&lt;br&gt;Kevin Conaway&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Handling-individual-Exceptions-tp18279939p18279939.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18260029</id>
	<title>RE: class mapping enhancements</title>
	<published>2008-07-03T06:58:29Z</published>
	<updated>2008-07-03T06:58:29Z</updated>
	<author>
		<name>Randy Jones-2</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;So couldn't we just tweak getObjectClassName to inspect
$dwrclassname and return that, if set?&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;I&amp;#8217;m not
actually sure, but sounds reasonable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;That makes sense to me, there are times when I would have
used that.&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Glad I came up with something useful. &lt;/span&gt;&lt;span style='font-size:11.0pt;font-family:Wingdings;color:#1F497D'&gt;J&lt;/span&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Randy&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt;
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18260029&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joseph.walker@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18260029&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joseph.walker@...&lt;/a&gt;] &lt;b&gt;On Behalf Of &lt;/b&gt;Joe
Walker&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Thursday, July 03, 2008 8:51 AM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18260029&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [dwr-user] class mapping enhancements&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-bottom:12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;On Thu, Jul 3, 2008 at 1:38 PM, Randy Jones &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18260029&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;randy_jones@...&lt;/a&gt;&amp;gt; wrote: &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p&gt;&lt;b&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;Add a simplified
class-mapping scheme that doesn't use JavaScript classes [F5: lighter
class-mapping]&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;And of course I'm going to
argue for this one, as it's my use case. To remind everyone of my use case, as
it has been awhile, I have an api that is built on top of dojo and is fairly
extensive. I'd like to be able to just set the $dwrclassname on those objects
instead of having to create a new object based on my javascript attribute set
in dwr.xml and copy over the attributes every time I send an object. &amp;nbsp;Do I
need to give a more detailed example here?&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;So couldn't we just tweak getObjectClassName to inspect
$dwrclassname and return that, if set?&lt;span style='color:#1F497D'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;Addition:&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style='font-size:11.0pt;color:#1F497D'&gt;I'm still working through this
in my head, but one other suggestion might be and if the javascript attribute
is set on a convert element, in the interface js we put enough information so
that engine.js knows what attributes it need to serialized. This could
drastically increase performance for instances like mine where my api's objects
have a lot of &amp;quot;private&amp;quot; attributes that don't need to be sent to the
server (and would just be dropped on the floor when they got there).&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/blockquote&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='margin-bottom:12.0pt'&gt;That makes sense to me, there
are times when I would have used that.&lt;br&gt;
&lt;br&gt;
Joe.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A-class-mapping-enhancements-tp18256803p18260029.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18259485</id>
	<title>Re: Add &quot;role&quot; attribute to &lt;include/&gt;</title>
	<published>2008-07-03T06:36:12Z</published>
	<updated>2008-07-03T06:36:12Z</updated>
	<author>
		<name>Kevin Conaway</name>
	</author>
	<content type="html">Patch attached.&lt;br&gt;&lt;br&gt;The integration I have with Spring Security is still in its infancy.&amp;nbsp; I&amp;#39;ll follow up with you once I have a more complete solution.&lt;br&gt;&lt;br&gt;The CLA is on its way via email &lt;br&gt;&lt;br&gt;Kevin&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
On Thu, Jul 3, 2008 at 5:00 AM, Joe Walker &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18259485&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;I am interested in the patch Kevin - could you send it to the mailing list rather than JIRA?&lt;br&gt;Is the integration with Spring Security something that is generic enough that other users could benefit from it too?&lt;br&gt;And could I get you to sign a CLA? It&amp;#39;s not ominous - it just allows us to say to our users &amp;quot;Our code is clean, we know where it came from&amp;quot;&lt;br&gt;

&lt;a href=&quot;http://directwebremoting.org/dwr/development/icla&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://directwebremoting.org/dwr/development/icla&lt;/a&gt;&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Joe.&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Jul 3, 2008 at 2:11 AM, Kevin Conaway &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18259485&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kevin.conaway@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Hi Frank,&lt;br&gt;&lt;br&gt;Its interesting that you mention Acegi because I&amp;#39;m using it with DWR instead of J2EE roles.&lt;br&gt;

&lt;br&gt;I&amp;#39;ve overriden AccessControl so that instead of looking up the &amp;quot;role&amp;quot; in J2EE, AccessControl validates that the current Acegi Authentication object has the given role&lt;br&gt;
&lt;br&gt;I&amp;#39;m not suggesting that the auth tag be dropped, I just think that including the &amp;quot;role&amp;quot; attribute on &amp;lt;include/&amp;gt; would be a great simplification for &amp;lt;auth/&amp;gt;&amp;#39;s most common use case.&lt;br&gt;&lt;br&gt;


Cheers,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Kevin&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Jul 2, 2008 at 8:40 PM, Frank W. Zammetti &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18259485&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fzlists@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
I for one would love to see this... we use J2EE security extensively at work and this has been one of the (relatively minor) hassles with using DWR. &amp;nbsp;I&amp;#39;d be willing to bet it was done the way it was so that definition of included methods is separate from specifying security, which I think makes sense conceptually... but in practice I agree with Kevin, this is more concise and probably less error-prone.&lt;br&gt;



&lt;br&gt;
But, thinking against my own opinion for a moment... Kevin, is there maybe an argument to made that having a separate &amp;lt;auth&amp;gt; tag especially for security somehow makes it easier and/or cleaner to implement a different form of security? &amp;nbsp;For instance, what if I wanted to use Acegi instead of container-managed security, and what if (I don&amp;#39;t know if this is the case or not, just making up an example) Acegi calls it userGroup? &amp;nbsp;I could *maybe* see an argument that extending a single &amp;lt;auth&amp;gt; tag to accept a userGroup attribute to account for that is better/cleaner than modifying the &amp;lt;include&amp;gt; tag since then there&amp;#39;s maybe too much mixing of two different concepts (essentially authorization and authentication, in a sense) whereas with two tags they are separated conceptually... just a thought, not even sure what I think of it myself :)&lt;br&gt;



&lt;br&gt;
Frank&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
Frank W. Zammetti&lt;br&gt;
Author of &amp;quot;Practical DWR 2 Projects&amp;quot;&lt;br&gt;
&amp;nbsp;and &amp;quot;Practical JavaScript, DOM Scripting and Ajax Projects&amp;quot;&lt;br&gt;
&amp;nbsp;and &amp;quot;Practical Ajax Projects With Java Technology&amp;quot;&lt;br&gt;
&amp;nbsp;for info: &lt;a href=&quot;http://apress.com/book/search?searchterm=zammetti&amp;amp;act=search&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;apress.com/book/search?searchterm=zammetti&amp;amp;act=search&lt;/a&gt;&lt;br&gt;
Java Web Parts - &lt;a href=&quot;http://javawebparts.sourceforge.net&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;javawebparts.sourceforge.net&lt;/a&gt;&lt;br&gt;
Supplying the wheel, so you don&amp;#39;t have to reinvent it!&lt;br&gt;
My &amp;quot;look ma, I have a blog too!&amp;quot; blog: &lt;a href=&quot;http://zammetti.com/blog&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;zammetti.com/blog&lt;/a&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Kevin Conaway wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
I think it would be very helpful to have a &amp;quot;role&amp;quot; attribute added to &amp;lt;include/&amp;gt;.&lt;br&gt;
&lt;br&gt;
This would vastly simplify the configuration of a creator because it is currently necessary to specify two different tags for a single method:&lt;br&gt;
&lt;br&gt;
&amp;lt;create ...&amp;gt;&lt;br&gt;
 &amp;nbsp;&amp;lt;include method=&amp;quot;getFoo&amp;quot;/&amp;gt;&lt;br&gt;
 &amp;nbsp;&amp;lt;auth method=&amp;quot;getFoo&amp;quot; role=&amp;quot;ROLE_NAME&amp;quot;/&amp;gt;&lt;br&gt;
&amp;lt;/create&amp;gt;&lt;br&gt;
&lt;br&gt;
Writing:&lt;br&gt;
&lt;br&gt;
&amp;lt;create ...&amp;gt;&lt;br&gt;
 &amp;nbsp;&amp;lt;include method=&amp;quot;getFoo&amp;quot; role=&amp;quot;ROLE_NAME&amp;quot;/&amp;gt;&lt;br&gt;
&amp;lt;/create&amp;gt;&lt;br&gt;
&lt;br&gt;
is much more concise and less prone to error.&lt;br&gt;
&lt;br&gt;
I have a patch ready but the Jira link is still 404&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
&lt;br&gt;
Kevin&lt;br&gt;
&lt;/blockquote&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18259485&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;
For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18259485&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt; &lt;br /&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18259485&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18259485&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;dwr-include-role.patch&lt;/strong&gt; (2K) &lt;a href=&quot;http://www.nabble.com/attachment/18259485/0/dwr-include-role.patch&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Add-%22role%22-attribute-to-%3Cinclude-%3E-tp18248795p18259485.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18259333</id>
	<title>Re: Jawr now supports DWR 3. Plugin offer for DWR codebase.</title>
	<published>2008-07-03T06:34:13Z</published>
	<updated>2008-07-03T06:34:13Z</updated>
	<author>
		<name>Jordi Hernandez</name>
	</author>
	<content type="html">I'm flattered to see such interest! :-) 
&lt;br&gt;&lt;br&gt;Maybe a compromise solution would be to add the current 3.0 plugin (just a matter of throwing it in the source tree, although the jawr and log4j jars would still be required separately) and tighten integration later for 3.1. 
&lt;br&gt;&lt;br&gt;That said I don't mind waiting or getting right into it, whatever you guys decide... 
&lt;br&gt;&lt;br&gt;Jordi. 
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Joe Walker-3 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;The argument for holding off a release is always the same though isn't it?
&lt;br&gt;Gears support would be very nice too ...
&lt;br&gt;&lt;br&gt;Joe.
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Jawr-now-supports-DWR-3.-Plugin-offer-for-DWR-codebase.-tp17750178p18259333.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18258548</id>
	<title>Re: class mapping enhancements</title>
	<published>2008-07-03T05:50:32Z</published>
	<updated>2008-07-03T05:50:32Z</updated>
	<author>
		<name>Joe Walker-3</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Jul 3, 2008 at 1:38 PM, Randy Jones &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18258548&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;randy_jones@...&lt;/a&gt;&amp;gt; wrote:











&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div link=&quot;blue&quot; vlink=&quot;purple&quot; lang=&quot;EN-US&quot;&gt;&lt;div&gt;&lt;div class=&quot;Ih2E3d&quot;&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Add a simplified class-mapping scheme that doesn&amp;#39;t use
JavaScript classes [F5: lighter class-mapping]&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;And of course I'm going to argue for this one, as it's
my use case. To remind everyone of my use case, as it has been awhile, I have
an api that is built on top of dojo and is fairly extensive. I'd like to
be able to just set the $dwrclassname on those objects instead of having to
create a new object based on my javascript attribute set in dwr.xml and copy
over the attributes every time I send an object. &amp;nbsp;Do I need to give a more
detailed example here?&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;So couldn&amp;#39;t we just tweak getObjectClassName to inspect $dwrclassname and return that, if set?&lt;br&gt;&amp;nbsp;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div link=&quot;blue&quot; vlink=&quot;purple&quot; lang=&quot;EN-US&quot;&gt;&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Addition:&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;I'm still working through this in my head, but one other
suggestion might be and if the javascript attribute is set on a convert element,
in the interface js we put enough information so that engine.js knows what attributes
it need to serialized. This could drastically increase performance for
instances like mine where my api's objects have a lot of &quot;private&quot;
attributes that don't need to be sent to the server (and would just be
dropped on the floor when they got there).&lt;/span&gt;&lt;br&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;That makes sense to me, there are times when I would have used that.&lt;br&gt;&lt;br&gt;Joe.&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A-class-mapping-enhancements-tp18256803p18258548.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18258428</id>
	<title>Re: Jawr now supports DWR 3. Plugin offer for DWR codebase.</title>
	<published>2008-07-03T05:45:08Z</published>
	<updated>2008-07-03T05:45:08Z</updated>
	<author>
		<name>Joe Walker-3</name>
	</author>
	<content type="html">&lt;br&gt;The argument for holding off a release is always the same though isn&amp;#39;t it?&lt;br&gt;Gears support would be very nice too ...&lt;br&gt;&lt;br&gt;Joe.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Jul 3, 2008 at 1:34 PM, Jose Noheda &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18258428&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jose.noheda@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;I wouldn&amp;#39;t put it on hold till 3.0! I&amp;#39;m confident that the building blocks of 3.0 (involving the topic) won&amp;#39;t change that much so some work can be done in advance. I have to say this because 3.0 is already taking longer than expected and has no release date as of now. Starting the work today (and of course I&amp;#39;m not urging you by any stretch) could even bring us a late surprise ;-)&lt;div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;
&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Jul 3, 2008 at 1:26 PM, Jordi Hernandez &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18258428&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jordihs@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;br&gt;
OK then, so let&amp;#39;s just put this on hold until the 3.0 release. I&amp;#39;ll get back&lt;br&gt;
to you then.&lt;br&gt;
&lt;div&gt;&lt;br&gt;
Jordi&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Joe Walker-3 wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&amp;gt; On Thu, Jul 3, 2008 at 11:08 AM, Jordi Hernandez &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18258428&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jordihs@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; If you want I can write a quick overview of the main components of Jawr&lt;br&gt;
&amp;gt;&amp;gt; and&lt;br&gt;
&amp;gt;&amp;gt; how they work together so you get the big picture.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; That would be good, thanks, although clearly, don&amp;#39;t rush, In fact the best&lt;br&gt;
&amp;gt; time would probably be just as 3.0 is done so I&amp;#39;m thinking about it at the&lt;br&gt;
&amp;gt; right time!.\&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Joe.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;font color=&quot;#888888&quot;&gt;--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://www.nabble.com/Jawr-now-supports-DWR-3.-Plugin-offer-for-DWR-codebase.-tp17750178p18257184.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/Jawr-now-supports-DWR-3.-Plugin-offer-for-DWR-codebase.-tp17750178p18257184.html&lt;/a&gt;&lt;br&gt;


&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Sent from the DWR - Users mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18258428&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;
For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18258428&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/DWR---Users-f13934.html&quot; embed=&quot;fixTarget[13934]&quot; target=&quot;_top&quot; &gt;DWR - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Jawr-now-supports-DWR-3.-Plugin-offer-for-DWR-codebase.-tp17750178p18258428.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18258334</id>
	<title>RE: class mapping enhancements</title>
	<published>2008-07-03T05:38:47Z</published>
	<updated>2008-07-03T05:38:47Z</updated>
	<author>
		<name>Randy Jones-2</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:x=&quot;urn:schemas-microsoft-com:office:excel&quot; xmlns:wf=&quot;http://schemas.microsoft.com/sharepoint/soap/workflow/&quot; xmlns:mver=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns:mrels=&quot;http://schemas.openxmlformats.org/package/2006/relationships&quot; xmlns:ex12t=&quot;http://schemas.microsoft.com/exchange/services/2006/types&quot; xmlns:ex12m=&quot;http://schemas.microsoft.com/exchange/services/2006/messages&quot; xmlns:Z=&quot;urn:schemas-microsoft-com:&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Ok well since I&amp;#8217;m the last to roll into the conversation
(and probably only b/c Joe caught up and I felt some urgency, sorry Mike)&amp;#8230;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Annotate generated JavaScript classes with class names [F1: dot
syntax, E1: multiple frames]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;I think another email chain addressed multiple frames. As far as
dot syntax I&amp;#8217;ve been hoping this would show up for awhile. I think it goes
similarly with what Joe mentioned in another thread about the OpenAjax, what I
mean is now users can help avoid conflicts by putting everything in a &amp;#8220;package&amp;#8221;
if they wish.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Annotate built-in types with class names [related to, but not
compulsary for, E1: multiple frames]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Not sure I need the speed improvement for my case, don&amp;#8217;t
feel strongly either way at the momeny on this one.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Change file location of generated bean classes [F3: avoiding
multiple download]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Haven&amp;#8217;t looked at JAWR besides the email threads, but
looks nice to solve this.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Use pattern replacement in the &amp;quot;javascript&amp;quot; class name
attribute for converters [F2: wildcard for mapped classes]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;I like Joe&amp;#8217;s suggestions here&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Generate class mapping code for superclass [F4: JavaScript
superclass]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;While I&amp;#8217;m not sure it&amp;#8217;s necessary I do see the case
where this could be useful in representing some apis.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Add a simplified class-mapping scheme that doesn't use
JavaScript classes [F5: lighter class-mapping]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;And of course I&amp;#8217;m going to argue for this one, as it&amp;#8217;s
my use case. To remind everyone of my use case, as it has been awhile, I have
an api that is built on top of dojo and is fairly extensive. I&amp;#8217;d like to
be able to just set the $dwrclassname on those objects instead of having to
create a new object based on my javascript attribute set in dwr.xml and copy
over the attributes every time I send an object.  Do I need to give a more
detailed example here?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Addition:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;I&amp;#8217;m still working through this in my head, but one other
suggestion might be and if the javascript attribute is set on a convert element,
in the interface js we put enough information so that engine.js knows what attributes
it need to serialized. This could drastically increase performance for
instances like mine where my api&amp;#8217;s objects have a lot of &amp;#8220;private&amp;#8221;
attributes that don&amp;#8217;t need to be sent to the server (and would just be
dropped on the floor when they got there). &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Randy &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt;
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18258334&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joseph.walker@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18258334&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joseph.walker@...&lt;/a&gt;] &lt;b&gt;On Behalf Of &lt;/b&gt;Joe
Walker&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Thursday, July 03, 2008 7:02 AM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18258334&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [dwr-user] class mapping enhancements&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-bottom:12.0pt'&gt;&lt;br&gt;
Thanks Mike.&lt;br&gt;
So nearly a month late, but better late than never ...&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;On Tue, Jun 10, 2008 at 9:10 AM, Mike Wilson &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18258334&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mikewse@...&lt;/a&gt;&amp;gt; wrote:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;So
Joe, Randy, Jose and other interested, here's my shot at starting up a
discussion on potential improvements to the class mapping feature for DWR 3.
The current class mapping feature in DWR 2 is described at the bottom of &lt;a href=&quot;http://getahead.org/dwr/server/dwrxml/converters/bean&quot; target=&quot;_blank&quot; title=&quot;http://getahead.org/dwr/server/dwrxml/converters/bean&quot; rel=&quot;nofollow&quot;&gt;http://getahead.org/dwr/server/dwrxml/converters/bean&lt;/a&gt;&amp;nbsp;and
disussion on enhancements follow below.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;Best
regards&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;Mike&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;Current
implementation&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;In
short, the current implementation works like this:&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;ul type=disc&gt;
 &lt;li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo1'&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;The
     developer assigns a javascript class name to a dwr.xml &amp;quot;bean&amp;quot; or
     &amp;quot;object&amp;quot;.&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;
 &lt;li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo1'&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;This
     makes the&amp;nbsp;DWR servlet insert a&amp;nbsp;constructor function for each
     bean class in each generated interface file looking something like this:&lt;br&gt;
     &amp;nbsp;&amp;nbsp;&amp;nbsp; if (typeof MyClass != 'function') {&amp;nbsp;&lt;br&gt;
     &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function MyClass() {&lt;br&gt;
     &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
     this.myProp = &amp;lt;initial value&amp;gt;&lt;br&gt;
     &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;br&gt;
     &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
     &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;
 &lt;li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo1'&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;When
     DWR&amp;nbsp;then sends outbound data for a bean/object&amp;nbsp;that has&amp;nbsp;a
     mapped class, it calls the constructor within its extended JSON:&lt;br&gt;
     &amp;nbsp;&amp;nbsp;&amp;nbsp; s101=new MyClass;s101.myProp=...;&lt;br&gt;
     which makes&amp;nbsp;the object returned to the client&amp;nbsp;be an instance of
     the desired mapped class.&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;
 &lt;li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo1'&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;When
     the client sends data to the server there is an internal function&lt;br&gt;
     &amp;nbsp;&amp;nbsp;&amp;nbsp; getObjectClassName(data)&lt;br&gt;
     that discovers the data's type by inspecting its constructor function's
     name. This name is only available if the constructor function&amp;nbsp;has
     been&amp;nbsp;created as a global function, and not as a property of the
     global object or other object (which&amp;nbsp;f ex makes&amp;nbsp;dot-syntax in
     constructor/class names impossible).&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;Issues&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;Following
is the issues and enhancement requests&amp;nbsp;I have used for input (E=Error,
F=(new) Feature):&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;[E1]
Problems with type resolution between multiple HTML frames.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;[F1]
Support &amp;quot;dot&amp;quot; syntax for generated JavaScript class names (f ex
pkg.MyClass).&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;[F2]
Support wildcard syntax for converters using class mapping.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;[F3]
Avoid downloading multiple declarations of generated JavaScript classes.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;[F4]
Generate code for&amp;nbsp;JavaScript superclass.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;[F5]&amp;nbsp;Offer
a&amp;nbsp;&amp;quot;lighter&amp;quot;&amp;nbsp;bi-directional&amp;nbsp;class-mapping&amp;nbsp;scheme. &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;[F6]
Allow alternative&amp;nbsp;class-mapping&amp;nbsp;schemes.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;i&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;Are
there any other issues&amp;nbsp;I have missed&amp;nbsp;that we should consider?&lt;/span&gt;&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='margin-bottom:12.0pt'&gt;&lt;br&gt;
[E7] Add parameter(s) to the generated constructors to allow efficient object
creation&lt;br&gt;
[E8] Allow nested object serialization use the E7 constructors when appropriate&lt;br&gt;
[E9] Allow constructor injection on the server in addition to setter injection
(although this is a slight tangent)&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'&gt;

&lt;div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div class=MsoNormal align=center style='text-align:center'&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;

&lt;hr size=2 width=&quot;100%&quot; align=center&gt;

&lt;/span&gt;&lt;/div&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;i&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;Below
I provide a number of suggestions on how to solve the listed issues, indicated
by issue number from above. Some suggestions solve several issues and some issues
need changes to several parts.&lt;/span&gt;&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;Annotate
generated JavaScript classes with class names [F1: dot syntax, E1: multiple
frames]&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;It
would be beneficial both for performance and for dot syntax support to be able
to look up generated class names in a better way than the current
getObjectClassName() function. Adding the class name to the generated code
would solve this. Considering an example where we&amp;nbsp;map the Java class
&amp;quot;mypkg.dto.Person&amp;quot; to the JavaScript class &amp;quot;db.Person&amp;quot; it would
look like this (see * for new generated code):&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
if (typeof&amp;nbsp;db.Person != 'function') {&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;db.Person = function() {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.myProp
= &amp;lt;initial value&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;*&amp;nbsp;&amp;nbsp;db.Person[&amp;quot;$dwrclassname&amp;quot;]
= &amp;quot;db.Person&amp;quot;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;*&amp;nbsp;&amp;nbsp;db.Person[&amp;quot;$dwrserverclassname&amp;quot;]
= &amp;quot;mypkg.dto.Person&amp;quot;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;then
looking up the mapped class name of any object is as easy as:&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
data.constructor[&amp;quot;$dwrclassname&amp;quot;] -&amp;gt; &amp;quot;db.Person&amp;quot;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;(Putting
the property on the constructor function avoids problems with enumerating the
actual objects' properties and the &amp;quot;$&amp;quot; prefix avoids name collisions
with other properties.)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;The
&amp;quot;$dwrserverclassname&amp;quot; property is not really necessary as we are
currently using the JavaScript classname for the remoting identity, but it
would convey similar information as today's &amp;quot;javaClassName&amp;quot; property
on exception instances.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/blockquote&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;br&gt;
Sounds good.&lt;br&gt;
I concur that $dwrserverclassname isn't really necessary, and my feeling is
that we should leave it out to save exposing information to the server that we
don't need to.&lt;br&gt;
&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'&gt;

&lt;div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;Improve
detection of built-in classes [E1: multiple frames]&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/blockquote&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='margin-bottom:12.0pt'&gt;&lt;br&gt;
My understanding is that you've done this already&lt;br&gt;
&lt;br&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'&gt;

&lt;div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;Annotate
built-in types with class names [related to, but not compulsary for, E1:
multiple frames]&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;In
case the algorithm for detecting built-in classes gets complicated we may want
to run it only once per class to speed things up. 