<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-13934</id>
	<title>Nabble - DWR - Users</title>
	<updated>2008-05-13T06:51:35Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/DWR---Users-f13934.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/DWR---Users-f13934.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-17209035</id>
	<title>RE: Long time processing in the DwrServlet.service()</title>
	<published>2008-05-13T06:51:35Z</published>
	<updated>2008-05-13T06:51:35Z</updated>
	<author>
		<name>mikewse</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt; MW&amp;gt; I would suggest you try your application in a regular 
&lt;br&gt;&amp;gt; servlet engine,
&lt;br&gt;&amp;gt; MW&amp;gt; like f ex Tomcat or Jetty, and report back if you still have any 
&lt;br&gt;&amp;gt; MW&amp;gt; problems. Reproducing your error in a &amp;quot;standard&amp;quot; 
&lt;br&gt;&amp;gt; environment will make
&lt;br&gt;&amp;gt; MW&amp;gt; it much easier for other developers on the list to help you.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Certainly it will be good, but unfortunately, I have not chance to do
&lt;br&gt;&amp;gt; it easily. And it is why I ask you for ideas (potential solutions)
&lt;br&gt;&amp;gt; about reason why/where DwrServlet keeps (can keep) request for a long
&lt;br&gt;&amp;gt; time. And have not chance to debug it because of it is hard to
&lt;br&gt;&amp;gt; reproduce this issue locally (with good network connection).
&lt;/div&gt;&lt;br&gt;Ok, but be aware that you will get less help with an unknown 
&lt;br&gt;environment. It could be helpful if you deployed some of the DWR demo 
&lt;br&gt;apps on your custom environment, to see if you get the same problem 
&lt;br&gt;there (that would rule out one unknown variable = your application).
&lt;br&gt;&lt;br&gt;&amp;gt; I have no ideas how to localize the problem in a short term and why
&lt;br&gt;&amp;gt; processing time the same with Comet request maximum connection time.
&lt;br&gt;&lt;br&gt;You need to provide a lot more information about your scenario:
&lt;br&gt;- DWR version?
&lt;br&gt;- Which request are you talking about? (Originating from a call on
&lt;br&gt;&amp;nbsp; a JavaScript proxy object or from a DWR Reverse Ajax poll?)
&lt;br&gt;- Describe more about the call that you are timing, sequence of
&lt;br&gt;&amp;nbsp; operations, normal behaviour and expected times.
&lt;br&gt;- Can you snoop and provide a HTTP log from when the problem appears?
&lt;br&gt;&lt;br&gt;Also think about this:
&lt;br&gt;- DWR's Reverse Ajax request is designed to &amp;quot;hang&amp;quot; in the server
&lt;br&gt;&amp;nbsp; for one minute when in Full Streaming Mode. Is this what you are
&lt;br&gt;&amp;nbsp; seeing?
&lt;br&gt;- Can you try the app with Reverse Ajax disabled, or try other 
&lt;br&gt;&amp;nbsp; Reverse Ajax modes (Early Closing, Polling) ?
&lt;br&gt;- Could you be hitting the Two Connections Limit?
&lt;br&gt;&lt;br&gt;&amp;gt; Maybe it is question to the developer mailing list, not sure...
&lt;br&gt;&lt;br&gt;No, the user list is appropriate for this.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; MW&amp;gt; BTW: What is your impression of Simple framework? (There 
&lt;br&gt;&amp;gt; doesn't seem
&lt;br&gt;&amp;gt; MW&amp;gt; to have been much activity the last years.)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Simple framework was an engine of the original application I started
&lt;br&gt;&amp;gt; to support/rebuild several months ago. So, Simple framework was
&lt;br&gt;&amp;gt; inherited from previous developers. But, as for me, it is a good
&lt;br&gt;&amp;gt; solutions for project where you have a lot of _small_ requests to
&lt;br&gt;&amp;gt; server. For example, JBoss creates separate thread for every
&lt;br&gt;&amp;gt; connection and it is rather expensive operation if you have a lot of
&lt;br&gt;&amp;gt; small AJAX requests from 1000 and more clients.
&lt;/div&gt;&lt;br&gt;Yes, that makes sense. Although, JBOSS bundles Tomcat and Tomcat 6
&lt;br&gt;supports non-blocking I/O which gets rid of the thread-per-connection
&lt;br&gt;problem.
&lt;br&gt;&lt;br&gt;&amp;gt; Simple framework provides the article with comparisons of Simple's
&lt;br&gt;&amp;gt; vs Apache and Resin. 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.simpleframework.org/performance/comparison.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.simpleframework.org/performance/comparison.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;Yes, I saw this article but all the software versions are quite
&lt;br&gt;outdated so it would be interesting to see a comparison with modern
&lt;br&gt;versions like Apache 2.2 Event MPM, Tomcat 6 NIO, etc.
&lt;br&gt;&lt;br&gt;Best regards
&lt;br&gt;Mike
&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=17209035&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=17209035&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Long-time-processing-in-the-DwrServlet.service%28%29-tp17185238p17209035.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17208144</id>
	<title>Re: Nest List DWR Client Side Problem</title>
	<published>2008-05-13T06:14:36Z</published>
	<updated>2008-05-13T06:14:36Z</updated>
	<author>
		<name>David Marginian-2</name>
	</author>
	<content type="html">Nothing special. Why don't you send us some more specific information 
&lt;br&gt;(your dwr.xml and java class). Also you should check your server logs.
&lt;br&gt;&lt;br&gt;Nguyen, Thien 1 (N-Albin Engineering) wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have a java POJO/Object that consists of nested LIST (2 levels). On 
&lt;br&gt;&amp;gt; the client side, using javascript, I always get an error when trying 
&lt;br&gt;&amp;gt; to get the innermost List. That is, I can retrieve the outermost List 
&lt;br&gt;&amp;gt; easily, but when I go deeper and get the innermost List, I get an 
&lt;br&gt;&amp;gt; “ERROR” on the DWR test page. Can someone give me an example on how to 
&lt;br&gt;&amp;gt; use nested LIST?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Tim
&lt;br&gt;&amp;gt;
&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=17208144&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=17208144&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Nest-List-DWR-Client-Side-Problem-tp17202147p17208144.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17207476</id>
	<title>Re[2]: Long time processing in the DwrServlet.service()</title>
	<published>2008-05-13T05:42:47Z</published>
	<updated>2008-05-13T05:42:47Z</updated>
	<author>
		<name>Dmitry Kudrenko</name>
	</author>
	<content type="html">Greetings, Mike
&lt;br&gt;&lt;br&gt;MW&amp;gt; I would suggest you try your application in a regular servlet engine,
&lt;br&gt;MW&amp;gt; like f ex Tomcat or Jetty, and report back if you still have any 
&lt;br&gt;MW&amp;gt; problems. Reproducing your error in a &amp;quot;standard&amp;quot; environment will make
&lt;br&gt;MW&amp;gt; it much easier for other developers on the list to help you.
&lt;br&gt;&lt;br&gt;Certainly it will be good, but unfortunately, I have not chance to do
&lt;br&gt;it easily. And it is why I ask you for ideas (potential solutions)
&lt;br&gt;about reason why/where DwrServlet keeps (can keep) request for a long
&lt;br&gt;time. And have not chance to debug it because of it is hard to
&lt;br&gt;reproduce this issue locally (with good network connection).
&lt;br&gt;&lt;br&gt;I have no ideas how to localize the problem in a short term and why
&lt;br&gt;processing time the same with Comet request maximum connection time.
&lt;br&gt;&lt;br&gt;Maybe it is question to the developer mailing list, not sure...
&lt;br&gt;&lt;br&gt;MW&amp;gt; BTW: What is your impression of Simple framework? (There doesn't seem
&lt;br&gt;MW&amp;gt; to have been much activity the last years.)
&lt;br&gt;&lt;br&gt;Simple framework was an engine of the original application I started
&lt;br&gt;to support/rebuild several months ago. So, Simple framework was
&lt;br&gt;inherited from previous developers. But, as for me, it is a good
&lt;br&gt;solutions for project where you have a lot of _small_ requests to
&lt;br&gt;server. For example, JBoss creates separate thread for every
&lt;br&gt;connection and it is rather expensive operation if you have a lot of
&lt;br&gt;small AJAX requests from 1000 and more clients.
&lt;br&gt;&lt;br&gt;Simple framework provides the article with comparisons of Simple's
&lt;br&gt;vs Apache and Resin. &lt;a href=&quot;http://www.simpleframework.org/performance/comparison.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.simpleframework.org/performance/comparison.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;And it is not bad approach for Web2.0 applications where you have one
&lt;br&gt;main page and other content is generated dynamically. And when you
&lt;br&gt;need to provide high interactively with server using AJAX requests.
&lt;br&gt;&lt;br&gt;Also, about Simple framework community: Mailing list is not very
&lt;br&gt;active. But you can receive the helpful answer/suggestion for your
&lt;br&gt;question rather quickly.
&lt;br&gt;&lt;br&gt;Thank you
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; I am using DWR with Simple framework
&lt;br&gt;&amp;gt;&amp;gt; (&lt;a href=&quot;http://www.simpleframework.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.simpleframework.org/&lt;/a&gt;). It has own Simple API which is
&lt;br&gt;&amp;gt;&amp;gt; different from servlet-api. But I use Adaptor pattern to convert
&lt;br&gt;&amp;gt;&amp;gt; simple.Request to HttpServletRequest and HttpServletResponse 
&lt;br&gt;&amp;gt;&amp;gt; to simple.Response.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Also I am using Reverse Ajax in my web application.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Simple request handler receives request and forwards it to the DWR
&lt;br&gt;&amp;gt;&amp;gt; Servlet using DwrServlet.service(request, response) method. DWR
&lt;br&gt;&amp;gt;&amp;gt; Servlet configured properly and it works.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Sometimes I have strange behavior: request is being processed 
&lt;br&gt;&amp;gt;&amp;gt; 1 minute but
&lt;br&gt;&amp;gt;&amp;gt; method on the class mapped to javascript works only 10 msec.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I received this statistic wrapping DwrServlet.service with timer1 and
&lt;br&gt;&amp;gt;&amp;gt; adding timer2 to the my Java class.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; timer1.maximum value = 1 minute (The maximum time is the same 
&lt;br&gt;&amp;gt;&amp;gt; as maximum time for Reverse Ajax request)
&lt;br&gt;&amp;gt;&amp;gt; timer2.maximum value = 10 msec.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; This situation is hard to reproduce in my local version of the
&lt;br&gt;&amp;gt;&amp;gt; application. But I have this statistic often in the live system. So it
&lt;br&gt;&amp;gt;&amp;gt; is hard to debug it.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; It seems the number of these errors depends on browser (can't
&lt;br&gt;&amp;gt;&amp;gt; reproduce it with FireFox) and connection quality. (Not sure).
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Have you idea where the request can be 60 sec in the
&lt;br&gt;&amp;gt;&amp;gt; DwrServlet.service?
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Thanks in advance.
&lt;/div&gt;-- 
&lt;br&gt;Best regards,
&lt;br&gt;Dmitry Kudrenko
&lt;br&gt;ARDAS group (&lt;a href=&quot;http://www.ardas.dp.ua&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ardas.dp.ua&lt;/a&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=17207476&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=17207476&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Long-time-processing-in-the-DwrServlet.service%28%29-tp17185238p17207476.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17206555</id>
	<title>RE: Long time processing in the DwrServlet.service()</title>
	<published>2008-05-13T04:46:40Z</published>
	<updated>2008-05-13T04:46:40Z</updated>
	<author>
		<name>mikewse</name>
	</author>
	<content type="html">Hi Dmitry,
&lt;br&gt;&lt;br&gt;I would suggest you try your application in a regular servlet engine,
&lt;br&gt;like f ex Tomcat or Jetty, and report back if you still have any 
&lt;br&gt;problems. Reproducing your error in a &amp;quot;standard&amp;quot; environment will make
&lt;br&gt;it much easier for other developers on the list to help you.
&lt;br&gt;&lt;br&gt;BTW: What is your impression of Simple framework? (There doesn't seem
&lt;br&gt;to have been much activity the last years.)
&lt;br&gt;&lt;br&gt;Best regards
&lt;br&gt;Mike Wilson
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Dmitry Kudrenko [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17206555&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dmitry@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: den 12 maj 2008 12:56
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17206555&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [dwr-user] Long time processing in the DwrServlet.service()
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Greetings
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am using DWR with Simple framework
&lt;br&gt;&amp;gt; (&lt;a href=&quot;http://www.simpleframework.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.simpleframework.org/&lt;/a&gt;). It has own Simple API which is
&lt;br&gt;&amp;gt; different from servlet-api. But I use Adaptor pattern to convert
&lt;br&gt;&amp;gt; simple.Request to HttpServletRequest and HttpServletResponse 
&lt;br&gt;&amp;gt; to simple.Response.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Also I am using Reverse Ajax in my web application.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Simple request handler receives request and forwards it to the DWR
&lt;br&gt;&amp;gt; Servlet using DwrServlet.service(request, response) method. DWR
&lt;br&gt;&amp;gt; Servlet configured properly and it works.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sometimes I have strange behavior: request is being processed 
&lt;br&gt;&amp;gt; 1 minute but
&lt;br&gt;&amp;gt; method on the class mapped to javascript works only 10 msec.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I received this statistic wrapping DwrServlet.service with timer1 and
&lt;br&gt;&amp;gt; adding timer2 to the my Java class.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; timer1.maximum value = 1 minute (The maximum time is the same 
&lt;br&gt;&amp;gt; as maximum time for Reverse Ajax request)
&lt;br&gt;&amp;gt; timer2.maximum value = 10 msec.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This situation is hard to reproduce in my local version of the
&lt;br&gt;&amp;gt; application. But I have this statistic often in the live system. So it
&lt;br&gt;&amp;gt; is hard to debug it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It seems the number of these errors depends on browser (can't
&lt;br&gt;&amp;gt; reproduce it with FireFox) and connection quality. (Not sure).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Have you idea where the request can be 60 sec in the
&lt;br&gt;&amp;gt; DwrServlet.service?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks in advance.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; Dmitry Kudrenko
&lt;br&gt;&amp;gt; ARDAS group (&lt;a href=&quot;http://www.ardas.dp.ua&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ardas.dp.ua&lt;/a&gt;)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17206555&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17206555&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;/div&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=17206555&amp;i=4&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=17206555&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Long-time-processing-in-the-DwrServlet.service%28%29-tp17185238p17206555.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17204433</id>
	<title>AWARD NOTIFICATION IS ATTACHED</title>
	<published>2008-05-13T02:18:51Z</published>
	<updated>2008-05-13T02:18:51Z</updated>
	<author>
		<name>EQUITY INVESTMENT</name>
	</author>
	<content type="html">&lt;p class=&quot;MsoNormal&quot; style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&lt;span style=&quot;FONT-SIZE: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;AWARD NOTIFICATION IS ATTACHED&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;FONT-SIZE: 9pt&quot;&gt;UK&lt;/span&gt;&lt;span style=&quot;FONT-SIZE: 9pt&quot;&gt; INTERNATIONAL LOTTERY &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&lt;span style=&quot;FONT-SIZE: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;HOUSE 32 HILTON DRIVE,&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;FONT-SIZE: 9pt&quot;&gt;LIVERPOOL&lt;/span&gt;&lt;span style=&quot;FONT-SIZE: 9pt&quot;&gt;, L70 1NL&lt;/span&gt;&lt;span style=&quot;FONT-SIZE: 9pt&quot;&gt;.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;FONT-SIZE: 9pt&quot;&gt;UNITED KINGDOM&lt;/span&gt;&lt;span style=&quot;FONT-SIZE: 9pt&quot;&gt;. &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&lt;span style=&quot;FONT-SIZE: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;THE DESK OF THE PROMOTIONS MANAGER, &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&lt;span style=&quot;FONT-SIZE: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;INTERNATIONAL PROMOTIONS/PRIZE AWARD DEPARTMENT, &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&lt;span style=&quot;FONT-SIZE: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;REF: EKS255125600304 AND BATCH NO: 54/1017/I &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&lt;span style=&quot;FONT-SIZE: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&lt;span style=&quot;FONT-SIZE: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;Congratulations you have won the UNITED KINGDOM INTERNATIONAL LOTTERY, Kindly download the attached notification and get back to me immediately.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&lt;span style=&quot;FONT-SIZE: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;MARGIN: 0in 0in 0pt&quot;&gt;&lt;span style=&quot;FONT-SIZE: 9pt&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;MARK JOHNSON&lt;/font&gt;&lt;/span&gt;&lt;/p&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=17204433&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=17204433&amp;i=1&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;lotto.JPG&lt;/strong&gt; (156K) &lt;a href=&quot;http://www.nabble.com/attachment/17204433/0/lotto.JPG&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/AWARD-NOTIFICATION-IS-ATTACHED-tp17204433p17204433.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17202147</id>
	<title>Nest List DWR Client Side Problem</title>
	<published>2008-05-12T17:00:09Z</published>
	<updated>2008-05-12T17:00:09Z</updated>
	<author>
		<name>Nguyen, Thien 1 (N-Albin Engineering)</name>
	</author>
	<content type="html">&lt;html xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&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=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 11 (filtered medium)&quot;&gt;


&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=&quot;#606420&quot;&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;I have a java POJO/Object that consists of nested LIST (2
levels).&amp;nbsp; On the client side, using javascript, I always get an error when
trying to get the innermost List.&amp;nbsp; That is, I can retrieve the outermost
List easily, but when I go deeper and get the innermost List, I get an &amp;#8220;ERROR&amp;#8221;
on the DWR test page.&amp;nbsp;&amp;nbsp; Can someone give me an example on how to use
nested LIST? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Tim&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Nest-List-DWR-Client-Side-Problem-tp17202147p17202147.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17197295</id>
	<title>RE: Version 2.0.4.rc1</title>
	<published>2008-05-12T15:16:39Z</published>
	<updated>2008-05-12T15:16:39Z</updated>
	<author>
		<name>mikewse</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.2900.3314&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;DIV dir=ltr align=left&gt;&lt;SPAN class=828070422-12052008&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;Joe, some feedback on the 2.0.4 
codebase:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;UL&gt;
  &lt;LI&gt;
  &lt;DIV&gt;&lt;SPAN class=828070422-12052008&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;ContainerUtil.java:1788: &lt;/FONT&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;container.addParameter(&quot;maxWaitAfterWrite&quot;, &quot;500&quot;);&lt;BR&gt;&lt;EM&gt;This doesn't 
  seem to have any effect?&lt;/EM&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class=828070422-12052008&gt;&lt;/DIV&gt;&lt;/LI&gt;
  &lt;LI&gt;
  &lt;DIV&gt;&lt;SPAN class=828070422-12052008&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;Pollhandler.java:148: &lt;/FONT&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;alarms.add(new OutputAlarm(scriptSession, 
  maxWaitAfterWrite));&lt;BR&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=828070422-12052008&gt;&lt;SPAN class=828070422-12052008&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;&lt;EM&gt;We may end up here with maxWaitAfterWrite=-1 so 
  parameter should be substituted for some chosen number in these 
  cases?&lt;/EM&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;
  &lt;LI dir=ltr&gt;&lt;SPAN class=828070422-12052008&gt;&lt;SPAN class=828070422-12052008&gt;&lt;FONT face=Verdana&gt;&lt;FONT color=#0000ff size=2&gt;web/WEB-INF/web.xml: &quot;This enables full streaming mode.&quot;&lt;BR&gt;&lt;EM&gt;... or 
  Early Closing Mode with maxWaitAfterWrite=0 in 
  IE&lt;/EM&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;DIV dir=ltr&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN class=828070422-12052008&gt;&lt;SPAN class=828070422-12052008&gt;(Excuse me if I have 
misunderstood these parts.)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV dir=ltr&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN class=828070422-12052008&gt;&lt;SPAN class=828070422-12052008&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir=ltr&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN class=828070422-12052008&gt;&lt;SPAN class=828070422-12052008&gt;Best 
regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV dir=ltr&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN class=828070422-12052008&gt;&lt;SPAN class=828070422-12052008&gt;Mike&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Version-2.0.4.rc1-tp16812842p17197295.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17196767</id>
	<title>RE: Input Read Failed / Failed HTTP POST</title>
	<published>2008-05-12T14:38:56Z</published>
	<updated>2008-05-12T14:38:56Z</updated>
	<author>
		<name>mikewse</name>
	</author>
	<content type="html">My first guess is this not a DWR issue but rather a browser issue.
&lt;br&gt;The error message is a typical app server message (Tomcat 4.1?) 
&lt;br&gt;because nothing is received on the server's socket. DWR just
&lt;br&gt;passes the message along. IIRC I've seen this when refreshing a
&lt;br&gt;page that is still loading, causing the the ongoing sending of 
&lt;br&gt;data to be aborted.
&lt;br&gt;&lt;br&gt;I see the second (faulty) request appears 30 secs after the first.
&lt;br&gt;Is this your choice of poll time? What happens if you try say 10
&lt;br&gt;or 100 secs?
&lt;br&gt;&lt;br&gt;Also search for IE bugs applicable for your version. There are a
&lt;br&gt;number of different bugs relating to different combinations of
&lt;br&gt;parameters (encoding type, transfer encoding, etc).
&lt;br&gt;&lt;br&gt;If still unlucky, post more info about your software versions and
&lt;br&gt;see if someone can help here.
&lt;br&gt;&lt;br&gt;Best regards
&lt;br&gt;Mike Wilson
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Chris Braun [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17196767&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cbb@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: den 19 april 2008 02:07
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17196767&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [dwr-user] Input Read Failed / Failed HTTP POST
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm receiving occasional &amp;quot;Input read failed&amp;quot; exceptions from the dwr 
&lt;br&gt;&amp;gt; servlet when my JS client polls for changes on the server. &amp;nbsp;While it 
&lt;br&gt;&amp;gt; does not happen every time, it happens frequent enough that I 
&lt;br&gt;&amp;gt; was able 
&lt;br&gt;&amp;gt; to get an Ethereal capture of the transactions. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It appears that somehow IE starts a POST request for the dwr 
&lt;br&gt;&amp;gt; call, but 
&lt;br&gt;&amp;gt; never actually posts the data (it doesn't seem to happen on 
&lt;br&gt;&amp;gt; FF). &amp;nbsp;After 
&lt;br&gt;&amp;gt; the ~10 second timeout, dwr does what it's supposed to and 
&lt;br&gt;&amp;gt; times out the 
&lt;br&gt;&amp;gt; post request with the &amp;quot;Input read failed&amp;quot; exception. &amp;nbsp;Below is an 
&lt;br&gt;&amp;gt; example of the captured HTTP transaction, the first request succeeds, 
&lt;br&gt;&amp;gt; while the second never actually posts the 259 bytes it claimed it was 
&lt;br&gt;&amp;gt; going to send, both were on the same socket and the socket is still 
&lt;br&gt;&amp;gt; active after the exception is returned. &amp;nbsp;(The capture is from 
&lt;br&gt;&amp;gt; the client 
&lt;br&gt;&amp;gt; side so it's hard to blame network now).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am looking for people thoughts on what would cause the dwr 
&lt;br&gt;&amp;gt; request to 
&lt;br&gt;&amp;gt; start but never actually post the data.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks - Chris
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Please excuse my awful depiction of an ethereal capture 
&lt;br&gt;&amp;gt; represented in 
&lt;br&gt;&amp;gt; an email.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; POST /oims/dwr/call/plaincall/ChangeQueueProxy.getChangedData.dwr 
&lt;br&gt;&amp;gt; HTTP/1.1
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Accept: */*
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Accept-Language: en-us
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Referer: &lt;a href=&quot;http://sunfire:8089/oims/index.jsp#Reports&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sunfire:8089/oims/index.jsp#Reports&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Content-Type: text/plain
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; UA-CPU: x86
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Accept-Encoding: gzip, deflate
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 
&lt;br&gt;&amp;gt; 5.1; .NET 
&lt;br&gt;&amp;gt; CLR 2.0.50727; .NET CLR 1.1.4322)
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Host: sunfire:8089
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Content-Length: 259
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Connection: Keep-Alive
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Cache-Control: no-cache
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Cookie: gridSplitter_1=100; 
&lt;br&gt;&amp;gt; JSESSIONID=1853E064B9A2D7D780E970A0AD6B62A3
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; callCount=1
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; page=/oims/index.jsp
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; httpSessionId=1853E064B9A2D7D780E970A0AD6B62A3
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; scriptSessionId=120DDA8CB4E0E5C4CDF77A1D6E5AADB0131
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; c0-scriptName=ChangeQueueProxy
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; c0-methodName=getChangedData
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; c0-id=0
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; c0-param0=number:58
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; c0-param1=number:552120343
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; batchId=400
&lt;br&gt;&amp;gt; = HTTP/1.1 200 OK
&lt;br&gt;&amp;gt; = Content-Type: text/javascript;charset=ISO-8859-1
&lt;br&gt;&amp;gt; = Content-Length: 145
&lt;br&gt;&amp;gt; = Date: Fri, 18 Apr 2008 21:51:41 GMT
&lt;br&gt;&amp;gt; = Server: Apache-Coyote/1.1
&lt;br&gt;&amp;gt; =
&lt;br&gt;&amp;gt; = //#DWR-INSERT
&lt;br&gt;&amp;gt; = //#DWR-REPLY
&lt;br&gt;&amp;gt; = var s0=[];
&lt;br&gt;&amp;gt; = 
&lt;br&gt;&amp;gt; dwr.engine._remoteHandleCallback('400','0',{changeList:s0,curr
&lt;/div&gt;entChangeNumber:58,reqChangeNumber:58});
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; POST /oims/dwr/call/plaincall/ChangeQueueProxy.getChangedData.dwr 
&lt;br&gt;&amp;gt; HTTP/1.1
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Accept: */*
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Accept-Language: en-us
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Referer: &lt;a href=&quot;http://sunfire:8089/oims/index.jsp#Reports&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sunfire:8089/oims/index.jsp#Reports&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Content-Type: text/plain
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; UA-CPU: x86
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Accept-Encoding: gzip, deflate
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 
&lt;br&gt;&amp;gt; 5.1; .NET 
&lt;br&gt;&amp;gt; CLR 2.0.50727; .NET CLR 1.1.4322)
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Host: sunfire:8089
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Content-Length: 259
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Connection: Keep-Alive
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Cache-Control: no-cache
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Cookie: gridSplitter_1=100; 
&lt;br&gt;&amp;gt; JSESSIONID=1853E064B9A2D7D780E970A0AD6B62A3
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;&amp;gt; = HTTP/1.1 200 OK
&lt;br&gt;&amp;gt; = Content-Type: text/javascript;charset=ISO-8859-1
&lt;br&gt;&amp;gt; = Content-Length: 332
&lt;br&gt;&amp;gt; = Date: Fri, 18 Apr 2008 21:52:11 GMT
&lt;br&gt;&amp;gt; = Server: Apache-Coyote/1.1
&lt;br&gt;&amp;gt; =
&lt;br&gt;&amp;gt; = //#DWR-REPLY
&lt;br&gt;&amp;gt; = if (window.dwr) dwr.engine._remoteHandleBatchException({ 
&lt;br&gt;&amp;gt; name:'org.directwebremoting.extend.ServerException', 
&lt;br&gt;&amp;gt; message:'Failed to 
&lt;br&gt;&amp;gt; read input' });
&lt;br&gt;&amp;gt; = else if (window.parent.dwr) 
&lt;br&gt;&amp;gt; window.parent.dwr.engine._remoteHandleBatchException({ 
&lt;br&gt;&amp;gt; name:'org.directwebremoting.extend.ServerException', 
&lt;br&gt;&amp;gt; message:'Failed to 
&lt;br&gt;&amp;gt; read input' });
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17196767&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17196767&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;/div&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=17196767&amp;i=4&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=17196767&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Input-Read-Failed---Failed-HTTP-POST-tp16777923p17196767.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17185238</id>
	<title>Long time processing in the DwrServlet.service()</title>
	<published>2008-05-12T03:55:33Z</published>
	<updated>2008-05-12T03:55:33Z</updated>
	<author>
		<name>Dmitry Kudrenko</name>
	</author>
	<content type="html">Greetings
&lt;br&gt;&lt;br&gt;I am using DWR with Simple framework
&lt;br&gt;(&lt;a href=&quot;http://www.simpleframework.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.simpleframework.org/&lt;/a&gt;). It has own Simple API which is
&lt;br&gt;different from servlet-api. But I use Adaptor pattern to convert
&lt;br&gt;simple.Request to HttpServletRequest and HttpServletResponse to simple.Response.
&lt;br&gt;&lt;br&gt;Also I am using Reverse Ajax in my web application.
&lt;br&gt;&lt;br&gt;Simple request handler receives request and forwards it to the DWR
&lt;br&gt;Servlet using DwrServlet.service(request, response) method. DWR
&lt;br&gt;Servlet configured properly and it works.
&lt;br&gt;&lt;br&gt;Sometimes I have strange behavior: request is being processed 1 minute but
&lt;br&gt;method on the class mapped to javascript works only 10 msec.
&lt;br&gt;&lt;br&gt;I received this statistic wrapping DwrServlet.service with timer1 and
&lt;br&gt;adding timer2 to the my Java class.
&lt;br&gt;&lt;br&gt;timer1.maximum value = 1 minute (The maximum time is the same as maximum time for Reverse Ajax request)
&lt;br&gt;timer2.maximum value = 10 msec.
&lt;br&gt;&lt;br&gt;This situation is hard to reproduce in my local version of the
&lt;br&gt;application. But I have this statistic often in the live system. So it
&lt;br&gt;is hard to debug it.
&lt;br&gt;&lt;br&gt;It seems the number of these errors depends on browser (can't
&lt;br&gt;reproduce it with FireFox) and connection quality. (Not sure).
&lt;br&gt;&lt;br&gt;Have you idea where the request can be 60 sec in the
&lt;br&gt;DwrServlet.service?
&lt;br&gt;&lt;br&gt;Thanks in advance.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best regards,
&lt;br&gt;Dmitry Kudrenko
&lt;br&gt;ARDAS group (&lt;a href=&quot;http://www.ardas.dp.ua&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ardas.dp.ua&lt;/a&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=17185238&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=17185238&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Long-time-processing-in-the-DwrServlet.service%28%29-tp17185238p17185238.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17162968</id>
	<title>Re: DWR Scalabilty And Early Closing Mode</title>
	<published>2008-05-10T05:47:17Z</published>
	<updated>2008-05-10T05:47:17Z</updated>
	<author>
		<name>Joe Walker-3</name>
	</author>
	<content type="html">&lt;br&gt;This is the same as with HttpSessions - there is a timeout, after which they are removed.&lt;br&gt;&lt;br&gt;There is an experimental feature with v3, that registers an onunload handler to explicitly remove the session, however it is a little temperamental right now.&lt;br&gt;
&lt;br&gt;Joe.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, May 1, 2008 at 10:44 PM, r123 &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17162968&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ronberna@...&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;
Another question I have is with sessions. &amp;nbsp;We use&lt;br&gt;
serverContext.getScriptSessionsByPage(&amp;quot;/test.html&amp;quot;) to retrieve a Collection&lt;br&gt;
of sessions that are accessing the page that we are sending data to. &amp;nbsp;When I&lt;br&gt;
first load this page the number of sessions ( I&amp;#39;m thinking these are script&lt;br&gt;
sessions) in the Collection is 1. &amp;nbsp;Each time I refresh the page the number&lt;br&gt;
of sessions increments by 1. &amp;nbsp;Is this normal? &amp;nbsp;Once I refresh, should the&lt;br&gt;
old session go away? &amp;nbsp;What type of problems will this cause if the sessions&lt;br&gt;
remain?&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;
Thanks&lt;br&gt;
r123&lt;br&gt;
&lt;br&gt;
Joe Walker-3 wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; The plan says that 3.0 (including Gears integration) will be out in June.&lt;br&gt;
&amp;gt; That does seem optimistic though.&lt;br&gt;
&amp;gt; Joe&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; On Fri, Apr 11, 2008 at 4:03 PM, r123 &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17162968&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ronberna@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; How does DWR handle fault tolerance? &amp;nbsp;Also is there any idea of when&lt;br&gt;
&amp;gt;&amp;gt; Gears&lt;br&gt;
&amp;gt;&amp;gt; may be integrated in DWR?&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Thanks&lt;br&gt;
&amp;gt;&amp;gt; r123&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Joe Walker-3 wrote:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; On Tue, Apr 8, 2008 at 10:54 PM, r123 &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17162968&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ronberna@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Thanks for the links. &amp;nbsp;Will do some reading on this. &amp;nbsp;Another question&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; that&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; came up were concerns about security as well as slow message&lt;br&gt;
&amp;gt;&amp;gt; consumption&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; by&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; the client. &amp;nbsp;Since DWR is residing within the application server, the&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; application servlet container should handle security correct? &amp;nbsp;Also, I&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; think&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; I read somewhere that DWR security features can be integrated with&lt;br&gt;
&amp;gt;&amp;gt; J2EE&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; role&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; based authentication.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://getahead.org/dwr/server/dwrxml/creators&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://getahead.org/dwr/server/dwrxml/creators&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; See the docs on the auth element.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; As far as the slow message consumption, does DWR have anything to&lt;br&gt;
&amp;gt;&amp;gt; handle&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; this? &amp;nbsp;I&amp;#39;m guessing there is no mechanism for guaranteed message&lt;br&gt;
&amp;gt;&amp;gt; delivery&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; to&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; the client as of yet correct? &amp;nbsp;Sorry for asking so many questions.&lt;br&gt;
&amp;gt;&amp;gt; &amp;nbsp;Just&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; want to make sure we have as much info as possible on DWR in order to&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; ease&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; some individual concerns.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; We haven&amp;#39;t finished the Gears integration yet. However that doesn&amp;#39;t&lt;br&gt;
&amp;gt;&amp;gt; imply&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; that DWR is likely to lose messages. The Gears integration is more to&lt;br&gt;
&amp;gt;&amp;gt; do&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; with pathalogical cases like network instability.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; Joe.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; --&lt;br&gt;
&amp;gt;&amp;gt; View this message in context:&lt;br&gt;
&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/DWR-Scalabilty-And-Early-Closing-Mode-tp16080860p16627858.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/DWR-Scalabilty-And-Early-Closing-Mode-tp16080860p16627858.html&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt; Sent from the DWR - Users mailing list archive at Nabble.com.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; ---------------------------------------------------------------------&lt;br&gt;
&amp;gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17162968&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17162968&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&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/DWR-Scalabilty-And-Early-Closing-Mode-tp16080860p16995077.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/DWR-Scalabilty-And-Early-Closing-Mode-tp16080860p16995077.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=17162968&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=17162968&amp;i=6&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;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/DWR-Scalabilty-And-Early-Closing-Mode-tp16080860p17162968.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17144562</id>
	<title>RE: Reverse AJAX and ie6</title>
	<published>2008-05-09T02:37:56Z</published>
	<updated>2008-05-09T02:37:56Z</updated>
	<author>
		<name>Zardam</name>
	</author>
	<content type="html">Thank you for your reply.
&lt;br&gt;&lt;br&gt;I set maxWaitAfterWrite to -1, like in the demo. With 2.0.4.rc1, it worked like a charm in both ie and Firefox.
&lt;br&gt;&lt;br&gt;For the leak problem, I tried the clock demo, and it was still present with 2.0.4.rc1. To be sure, I tested with another computer, and I got no leak at all. So the problem must comes from ie, maybe a missing update or something like that. I will investigate on this side.
&lt;br&gt;&lt;br&gt;Thank you again for your help,
&lt;br&gt;&lt;br&gt;Damien
&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;mikewse wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;I'm trying to use reverse ajax to publish online events to a web browser.
&lt;br&gt;Everything works fine with firefox.
&lt;br&gt;&lt;br&gt;In ie6, I get a low update rate. The update period is equal to the parameter
&lt;br&gt;I set in &amp;quot;maxWaitAfterWrite&amp;quot; (if I set 5000, the values are updated once
&lt;br&gt;every 5 seconds). &amp;nbsp;
&lt;br&gt;&lt;br&gt;This is because Firefox's and IE's XHR implementations behave differently;
&lt;br&gt;the Firefox XHR supports streaming which lets HTTP response data become
&lt;br&gt;available before the request is closed. In IE it only becomes available
&lt;br&gt;after the request is closed. 
&lt;br&gt;&amp;nbsp;
&lt;br&gt;The maxWaitAfterWrite parameter determines how long after writing response
&lt;br&gt;data before the request is closed, and it is thus not until then that the
&lt;br&gt;data will become available in IE.
&lt;br&gt;&lt;br&gt;Setting a lower value increase the update rate but then I get a &amp;quot;memory
&lt;br&gt;hog&amp;quot;, memory consumption of ie grows very fast until I minimize the window
&lt;br&gt;(very strange behaviour). 
&lt;br&gt;&lt;br&gt;We have fixed a number of memory leaks in 2.0.4 so could you please check
&lt;br&gt;with the RC again? You may also want to try, and compare with, DWR's Reverse
&lt;br&gt;Ajax Clock example that have been verified not to leak.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Best regards
&lt;br&gt;Mike Wilson
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Reverse-AJAX-and-ie6-tp17104572p17144562.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17144441</id>
	<title>Re: hello</title>
	<published>2008-05-09T02:28:12Z</published>
	<updated>2008-05-09T02:28:12Z</updated>
	<author>
		<name>Lance Java</name>
	</author>
	<content type="html">hello&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2008/5/9 技术邮箱 &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17144441&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;qj_2002@...&lt;/a&gt;&amp;gt;:&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 style=&quot;margin: 10px; font-size: 10pt; font-family: verdana;&quot;&gt;
&lt;div&gt;hello &lt;/div&gt;
&lt;div&gt;&lt;font face=&quot;Verdana&quot; size=&quot;2&quot;&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;&lt;font color=&quot;#c0c0c0&quot; face=&quot;Verdana&quot; size=&quot;2&quot;&gt;2008-05-09 
&lt;/font&gt;&lt;/div&gt;&lt;font face=&quot;Verdana&quot; size=&quot;2&quot;&gt;
&lt;hr style=&quot;width: 122px; height: 2px;&quot; align=&quot;left&quot; size=&quot;2&quot;&gt;

&lt;div&gt;&lt;font color=&quot;#c0c0c0&quot; face=&quot;Verdana&quot; size=&quot;2&quot;&gt;&lt;span&gt;技术邮箱&lt;/span&gt; 
&lt;/font&gt;&lt;/div&gt;&lt;/font&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/hello-tp17140464p17144441.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17144436</id>
	<title>Re: Enable Dynamically named checkbox</title>
	<published>2008-05-09T02:27:38Z</published>
	<updated>2008-05-09T02:27:38Z</updated>
	<author>
		<name>Lance Java</name>
	</author>
	<content type="html">You could either give each checkbox an id and dwr.util.byId(i + &amp;quot;cb&amp;quot;).disabled = false&lt;br&gt;&lt;br&gt;Or you can try &lt;br&gt;&lt;font face=&quot;Courier New&quot;&gt;    document.choiceForm[name].disabled = &lt;/font&gt;&lt;font color=&quot;#820040&quot; face=&quot;Courier New&quot;&gt;false&lt;br&gt;
&lt;br&gt;Cheers,&lt;br&gt;Lance.&lt;br&gt;&lt;br&gt;&lt;/font&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2008/5/8 Lauren Riley &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17144436&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Lauren.Riley@...&lt;/a&gt;&amp;gt;:&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;p&gt;I have a list of objects that have ID&amp;#39;s.  I&amp;#39;m creating a checkbox for each, naming the checkbox id+&amp;quot;cb&amp;quot; as I iterator through the list.  I am disabling the checkboxes to begin with.  At a certain point in time, I want to enable the checkboxes one at a time.  Is that possible with DWR?  This is what I have now and it is not working. Anybody know how I could do this in DWR or how I could tweak this code to work?  Thank you...&lt;br&gt;

&lt;br&gt;
&lt;font color=&quot;#820040&quot; face=&quot;Courier New&quot;&gt;function &lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;enableCheckbox()&lt;/font&gt;&lt;font color=&quot;#820040&quot; face=&quot;Courier New&quot;&gt;{&lt;/font&gt;&lt;br&gt;
&lt;font color=&quot;#820040&quot; face=&quot;Courier New&quot;&gt;    var &lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;id = dwr.util.getValue(&lt;/font&gt;&lt;font color=&quot;#8100ff&quot; face=&quot;Courier New&quot;&gt;&amp;quot;selectOutbuilding&amp;quot;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;);&lt;/font&gt;&lt;br&gt;

&lt;font face=&quot;Courier New&quot;&gt;    &lt;/font&gt;&lt;font color=&quot;#820040&quot; face=&quot;Courier New&quot;&gt;var &lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;name = id+&lt;/font&gt;&lt;font color=&quot;#8100ff&quot; face=&quot;Courier New&quot;&gt;&amp;#39;cb&amp;#39;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;;&lt;/font&gt;&lt;br&gt;

&lt;font face=&quot;Courier New&quot;&gt;    document.choiceForm.+ name + .disabled = &lt;/font&gt;&lt;font color=&quot;#820040&quot; face=&quot;Courier New&quot;&gt;false&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;;&lt;/font&gt;&lt;br&gt;
&lt;font color=&quot;#820040&quot; face=&quot;Courier New&quot;&gt;}&lt;/font&gt;  &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;font color=&quot;#008080&quot; face=&quot;Courier New&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#3f8080&quot; face=&quot;Courier New&quot;&gt;c:forEach &lt;/font&gt;&lt;font color=&quot;#800080&quot; face=&quot;Courier New&quot;&gt;items&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;=&amp;quot;${outbuildings}&amp;quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot; face=&quot;Courier New&quot;&gt;var&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#4200ff&quot; face=&quot;Courier New&quot;&gt;&amp;quot;building&amp;quot;&lt;/font&gt;&lt;font color=&quot;#008080&quot; face=&quot;Courier New&quot;&gt;&amp;gt;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;	&lt;/font&gt;&lt;br&gt;

&lt;font face=&quot;Courier New&quot;&gt;	&lt;/font&gt;&lt;font color=&quot;#008080&quot; face=&quot;Courier New&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#3f8080&quot; face=&quot;Courier New&quot;&gt;input &lt;/font&gt;&lt;font color=&quot;#800080&quot; face=&quot;Courier New&quot;&gt;type&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#4200ff&quot; face=&quot;Courier New&quot;&gt;&amp;quot;checkbox&amp;quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot; face=&quot;Courier New&quot;&gt;name&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;=&amp;quot;${&lt;a href=&quot;http://building.id&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;building.id&lt;/a&gt;}&lt;/font&gt;&lt;font color=&quot;#4200ff&quot; face=&quot;Courier New&quot;&gt;cb&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;&amp;quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot; face=&quot;Courier New&quot;&gt;disabled&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#4200ff&quot; face=&quot;Courier New&quot;&gt;&amp;quot;true&amp;quot;&lt;/font&gt;&lt;font color=&quot;#008080&quot; face=&quot;Courier New&quot;&gt;&amp;gt;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;${building.description}&lt;/font&gt;&lt;font color=&quot;#008080&quot; face=&quot;Courier New&quot;&gt;&amp;lt;/&amp;gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#3f8080&quot; face=&quot;Courier New&quot;&gt;BR&lt;/font&gt;&lt;font color=&quot;#008080&quot; face=&quot;Courier New&quot;&gt;&amp;gt;&lt;/font&gt;&lt;br&gt;

&lt;font color=&quot;#008080&quot; face=&quot;Courier New&quot;&gt;&amp;lt;/&lt;/font&gt;&lt;font color=&quot;#3f8080&quot; face=&quot;Courier New&quot;&gt;c:forEach&lt;/font&gt;&lt;font color=&quot;#008080&quot; face=&quot;Courier New&quot;&gt;&amp;gt;&lt;/font&gt;&lt;br&gt;
 &lt;br&gt;
__________________________________________&lt;br&gt;
The information contained in this message may be privileged and confidential and protected from disclosure. If you are not the intended recipient of this message, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message, and please delete it from your computer.&lt;br&gt;

&lt;/p&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Enable-Dynamically-named-checkbox-tp17134774p17144436.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17140464</id>
	<title>hello</title>
	<published>2008-05-08T19:42:00Z</published>
	<updated>2008-05-08T19:42:00Z</updated>
	<author>
		<name>qiangj</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=gb2312&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.2900.3314&quot; name=GENERATOR&gt;&lt;LINK href=&quot;BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}&quot; rel=stylesheet&gt;&lt;/HEAD&gt;
&lt;BODY style=&quot;FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana&quot;&gt;
&lt;DIV&gt;hello &lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV align=left&gt;&lt;FONT face=Verdana color=#c0c0c0 size=2&gt;2008-05-09 
&lt;/FONT&gt;&lt;/DIV&gt;&lt;FONT face=Verdana size=2&gt;
&lt;HR style=&quot;WIDTH: 122px; HEIGHT: 2px&quot; align=left SIZE=2&gt;

&lt;DIV&gt;&lt;FONT face=Verdana color=#c0c0c0 size=2&gt;&lt;SPAN&gt;技术邮箱&lt;/SPAN&gt; 
&lt;/FONT&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;/BODY&gt;&lt;/HTML&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/hello-tp17140464p17140464.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17134774</id>
	<title>Enable Dynamically named checkbox</title>
	<published>2008-05-08T12:33:35Z</published>
	<updated>2008-05-08T12:33:35Z</updated>
	<author>
		<name>Lauren Riley</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body&gt;
&lt;p&gt;I have a list of objects that have ID's.  I'm creating a checkbox for each, naming the checkbox id+&amp;quot;cb&amp;quot; as I iterator through the list.  I am disabling the checkboxes to begin with.  At a certain point in time, I want to enable the checkboxes one at a time.  Is that possible with DWR?  This is what I have now and it is not working. Anybody know how I could do this in DWR or how I could tweak this code to work?  Thank you...&lt;br&gt;
&lt;br&gt;
&lt;font color=&quot;#820040&quot; face=&quot;Courier New&quot;&gt;function &lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;enableCheckbox()&lt;/font&gt;&lt;font color=&quot;#820040&quot; face=&quot;Courier New&quot;&gt;{&lt;/font&gt;&lt;br&gt;
&lt;font color=&quot;#820040&quot; face=&quot;Courier New&quot;&gt;    var &lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;id = dwr.util.getValue(&lt;/font&gt;&lt;font color=&quot;#8100FF&quot; face=&quot;Courier New&quot;&gt;&amp;quot;selectOutbuilding&amp;quot;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;);&lt;/font&gt;&lt;br&gt;
&lt;font face=&quot;Courier New&quot;&gt;    &lt;/font&gt;&lt;font color=&quot;#820040&quot; face=&quot;Courier New&quot;&gt;var &lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;name = id+&lt;/font&gt;&lt;font color=&quot;#8100FF&quot; face=&quot;Courier New&quot;&gt;'cb'&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;;&lt;/font&gt;&lt;br&gt;
&lt;font face=&quot;Courier New&quot;&gt;    document.choiceForm.+ name + .disabled = &lt;/font&gt;&lt;font color=&quot;#820040&quot; face=&quot;Courier New&quot;&gt;false&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;;&lt;/font&gt;&lt;br&gt;
&lt;font color=&quot;#820040&quot; face=&quot;Courier New&quot;&gt;}&lt;/font&gt;  &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;font color=&quot;#008080&quot; face=&quot;Courier New&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#3F8080&quot; face=&quot;Courier New&quot;&gt;c:forEach &lt;/font&gt;&lt;font color=&quot;#800080&quot; face=&quot;Courier New&quot;&gt;items&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;=&amp;quot;${outbuildings}&amp;quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot; face=&quot;Courier New&quot;&gt;var&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#4200FF&quot; face=&quot;Courier New&quot;&gt;&amp;quot;building&amp;quot;&lt;/font&gt;&lt;font color=&quot;#008080&quot; face=&quot;Courier New&quot;&gt;&amp;gt;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;	&lt;/font&gt;&lt;br&gt;
&lt;font face=&quot;Courier New&quot;&gt;	&lt;/font&gt;&lt;font color=&quot;#008080&quot; face=&quot;Courier New&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#3F8080&quot; face=&quot;Courier New&quot;&gt;input &lt;/font&gt;&lt;font color=&quot;#800080&quot; face=&quot;Courier New&quot;&gt;type&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#4200FF&quot; face=&quot;Courier New&quot;&gt;&amp;quot;checkbox&amp;quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot; face=&quot;Courier New&quot;&gt;name&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;=&amp;quot;${building.id}&lt;/font&gt;&lt;font color=&quot;#4200FF&quot; face=&quot;Courier New&quot;&gt;cb&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;&amp;quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot; face=&quot;Courier New&quot;&gt;disabled&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#4200FF&quot; face=&quot;Courier New&quot;&gt;&amp;quot;true&amp;quot;&lt;/font&gt;&lt;font color=&quot;#008080&quot; face=&quot;Courier New&quot;&gt;&amp;gt;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;${building.description}&lt;/font&gt;&lt;font color=&quot;#008080&quot; face=&quot;Courier New&quot;&gt;&amp;lt;/&amp;gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#3F8080&quot; face=&quot;Courier New&quot;&gt;BR&lt;/font&gt;&lt;font color=&quot;#008080&quot; face=&quot;Courier New&quot;&gt;&amp;gt;&lt;/font&gt;&lt;br&gt;
&lt;font color=&quot;#008080&quot; face=&quot;Courier New&quot;&gt;&amp;lt;/&lt;/font&gt;&lt;font color=&quot;#3F8080&quot; face=&quot;Courier New&quot;&gt;c:forEach&lt;/font&gt;&lt;font color=&quot;#008080&quot; face=&quot;Courier New&quot;&gt;&amp;gt;&lt;/font&gt;&lt;br&gt;
 &lt;br&gt;
__________________________________________&lt;br&gt;
The information contained in this message may be privileged and confidential and protected from disclosure. If you are not the intended recipient of this message, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message, and please delete it from your computer.&lt;br&gt;
&lt;/body&gt;&lt;/html&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Enable-Dynamically-named-checkbox-tp17134774p17134774.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17129150</id>
	<title>Re: Re: Keep track of ScriptSessions for one browser</title>
	<published>2008-05-08T07:44:34Z</published>
	<updated>2008-05-08T07:44:34Z</updated>
	<author>
		<name>XMaNIaC</name>
	</author>
	<content type="html">getScriptSessionById is a method of ServerContext. Here&amp;#39;s the javadoc (from 3.0 HEAD)&lt;br&gt;&lt;h3&gt;
getScriptSessionById&lt;/h3&gt;
&lt;pre&gt;&lt;a href=&quot;file:///C:/src/dwr/target/ant/javadoc/org/directwebremoting/ScriptSession.html&quot; title=&quot;interface in org.directwebremoting&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ScriptSession&lt;/a&gt; &lt;b&gt;getScriptSessionById&lt;/b&gt;(java.lang.String&amp;nbsp;sessionId)&lt;/pre&gt;
&lt;dl&gt;&lt;dd&gt;You can request access to a specific &lt;a href=&quot;file:///C:/src/dwr/target/ant/javadoc/org/directwebremoting/ScriptSession.html&quot; title=&quot;interface in org.directwebremoting&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;code&gt;ScriptSession&lt;/code&gt;&lt;/a&gt; if you know
 it&amp;#39;s ID.
 &lt;p&gt;Take care with this method because it allows actions from one browser
 to affect another which could be a bad thing. It is certainly a VERY BAD
 idea to let session id&amp;#39;s from one browser escape into another.
 &lt;/p&gt;&lt;p&gt;Consider that it is entirely possible that the ScriptSession may
 timeout while you are holding a reference to it.
&lt;/p&gt;&lt;p&gt;
&lt;/p&gt;&lt;/dd&gt;&lt;dd&gt;&lt;dl&gt;&lt;dt&gt;&lt;b&gt;Parameters:&lt;/b&gt;&lt;/dt&gt;&lt;dd&gt;&lt;code&gt;sessionId&lt;/code&gt; - The script session ID to lookup
&lt;/dd&gt;&lt;dt&gt;&lt;b&gt;Returns:&lt;/b&gt;&lt;/dt&gt;&lt;dd&gt;The ScriptSession for the given ID, or null if it does not exist&lt;/dd&gt;&lt;dt&gt;&lt;br&gt;&lt;/dt&gt;&lt;/dl&gt;
&lt;/dd&gt;&lt;/dl&gt;On Thu, May 8, 2008 at 4:18 PM, Lance Java &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17129150&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;div class=&quot;gmail_quote&quot;&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;
One solution is to implement your own script session manager which intercepts script session creation, adding attributes to the script session based on the http session.&lt;br&gt;&lt;br&gt;Later on, a reverse ajax thread can then differentiate between script sessions by their attributes.&lt;br&gt;

&lt;br&gt;&amp;lt;servlet&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;servlet-name&amp;gt;dwr-invoker&amp;lt;/servlet-name&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;display-name&amp;gt;DWR Servlet&amp;lt;/display-name&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;description&amp;gt;Direct Web Remoter Servlet&amp;lt;/description&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;servlet-class&amp;gt;org.directwebremoting.servlet.DwrServlet&amp;lt;/servlet-class&amp;gt;&lt;br&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;init-param&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param-name&amp;gt;org.directwebremoting.extend.ScriptSessionManager&amp;lt;/param-name&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param-value&amp;gt;foo.bar.MyScriptSessionManager&amp;lt;/param-value&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/init-param&amp;gt;&lt;br&gt;

&amp;lt;/servlet&amp;gt;&lt;br&gt;&lt;br&gt;Not sure about looking up a script session by id... what&amp;#39;s your use case?&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;Lance.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2008/5/8 Erlend Sobec &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17129150&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;erlend.sobec@...&lt;/a&gt;&amp;gt;:&lt;div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&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;If this question has been asked so many times, I agree that it should definitely be in the FAQ.&amp;nbsp; However, since it isn&amp;#39;t, perhaps you could tell me where I can find the answer rather than just tell me that it&amp;#39;s been answered.&amp;nbsp; I did search and only found the solution for threads started by DWR, but in my case, the thread is NOT started by DWR so I can&amp;#39;t just use WebContextFactory.get().getScriptSession().&lt;br&gt;


&lt;br&gt;Also, I asked where I can find info about the function getScriptSession(String id).&amp;nbsp; Has that also been answered?&amp;nbsp; If so where?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Erlend&lt;/font&gt;&lt;div&gt;&lt;br&gt;&lt;pre&gt;&lt;br&gt;
&lt;/pre&gt;&lt;pre&gt;On Wed, May 8, 2008 at 9:53 AM, Jose Noheda &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17129150&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jose.noheda@...&lt;/a&gt;&amp;gt; wrote:&lt;/pre&gt;

&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;pre&gt;&lt;div&gt;&amp;gt; I think that we need a FAQ somewhere because this has been answered hundreds&lt;br&gt;&amp;gt; of times by now&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; On Wed, May 7, 2008 at 10:39 PM, Erlend Sobec &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17129150&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;erlend.sobec@...&lt;/a&gt;&amp;gt; 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; &amp;gt; Is there a way to send back information to only one browser even though&lt;br&gt;&amp;gt; &amp;gt; multiple browsers are on the given page?&lt;br&gt;&amp;gt; &amp;gt;&lt;br&gt;&amp;gt; &amp;gt; My problem is that I have multiple users logged in accessing their data.&lt;br&gt;


&amp;gt; &amp;gt; If there is an update for any given user, I don&amp;#39;t want it to be sent to all&lt;br&gt;&amp;gt; &amp;gt; users currently logged in.&lt;br&gt;&amp;gt; &amp;gt;&lt;br&gt;&amp;gt; &amp;gt; I saw a post on how to deal with this if the thread is started by DWR, but&lt;br&gt;


&amp;gt; &amp;gt; in my case it isn&amp;#39;t.  Also, in the javadoc there is mention of&lt;br&gt;&amp;gt; &amp;gt; getScriptSession(String id) but I can&amp;#39;t find the method anywhere.  Maybe I&lt;br&gt;&amp;gt; &amp;gt; could use this to determine which ScriptSession I need to send updates to.&lt;br&gt;


&amp;gt; &amp;gt;&lt;br&gt;&amp;gt; &amp;gt; Thanks,&lt;br&gt;&amp;gt; &amp;gt;&lt;br&gt;&amp;gt; &amp;gt; Erlend&lt;br&gt;&amp;gt; &amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Keep-track-of-ScriptSessions-for-one-browser-tp17114213p17129150.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17128575</id>
	<title>Re: Re: Keep track of ScriptSessions for one browser</title>
	<published>2008-05-08T07:18:09Z</published>
	<updated>2008-05-08T07:18:09Z</updated>
	<author>
		<name>Lance Java</name>
	</author>
	<content type="html">One solution is to implement your own script session manager which intercepts script session creation, adding attributes to the script session based on the http session.&lt;br&gt;&lt;br&gt;Later on, a reverse ajax thread can then differentiate between script sessions by their attributes.&lt;br&gt;
&lt;br&gt;&amp;lt;servlet&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;servlet-name&amp;gt;dwr-invoker&amp;lt;/servlet-name&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;display-name&amp;gt;DWR Servlet&amp;lt;/display-name&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;description&amp;gt;Direct Web Remoter Servlet&amp;lt;/description&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;servlet-class&amp;gt;org.directwebremoting.servlet.DwrServlet&amp;lt;/servlet-class&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;init-param&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param-name&amp;gt;org.directwebremoting.extend.ScriptSessionManager&amp;lt;/param-name&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param-value&amp;gt;foo.bar.MyScriptSessionManager&amp;lt;/param-value&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/init-param&amp;gt;&lt;br&gt;
&amp;lt;/servlet&amp;gt;&lt;br&gt;&lt;br&gt;Not sure about looking up a script session by id... what&amp;#39;s your use case?&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;Lance.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2008/5/8 Erlend Sobec &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17128575&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;erlend.sobec@...&lt;/a&gt;&amp;gt;:&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;If this question has been asked so many times, I agree that it should definitely be in the FAQ.&amp;nbsp; However, since it isn&amp;#39;t, perhaps you could tell me where I can find the answer rather than just tell me that it&amp;#39;s been answered.&amp;nbsp; I did search and only found the solution for threads started by DWR, but in my case, the thread is NOT started by DWR so I can&amp;#39;t just use WebContextFactory.get().getScriptSession().&lt;br&gt;

&lt;br&gt;Also, I asked where I can find info about the function getScriptSession(String id).&amp;nbsp; Has that also been answered?&amp;nbsp; If so where?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Erlend&lt;/font&gt;&lt;div class=&quot;Ih2E3d&quot;&gt;&lt;br&gt;&lt;pre&gt;&lt;br&gt;
&lt;/pre&gt;&lt;pre&gt;On Wed, May 8, 2008 at 9:53 AM, Jose Noheda &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17128575&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jose.noheda@...&lt;/a&gt;&amp;gt; wrote:&lt;/pre&gt;

&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;pre&gt;&lt;div class=&quot;Ih2E3d&quot;&gt;&amp;gt; I think that we need a FAQ somewhere because this has been answered hundreds&lt;br&gt;&amp;gt; of times by now&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; On Wed, May 7, 2008 at 10:39 PM, Erlend Sobec &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17128575&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;erlend.sobec@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;

&amp;gt; &lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&amp;gt; &amp;gt; Is there a way to send back information to only one browser even though&lt;br&gt;&amp;gt; &amp;gt; multiple browsers are on the given page?&lt;br&gt;&amp;gt; &amp;gt;&lt;br&gt;&amp;gt; &amp;gt; My problem is that I have multiple users logged in accessing their data.&lt;br&gt;

&amp;gt; &amp;gt; If there is an update for any given user, I don&amp;#39;t want it to be sent to all&lt;br&gt;&amp;gt; &amp;gt; users currently logged in.&lt;br&gt;&amp;gt; &amp;gt;&lt;br&gt;&amp;gt; &amp;gt; I saw a post on how to deal with this if the thread is started by DWR, but&lt;br&gt;

&amp;gt; &amp;gt; in my case it isn&amp;#39;t.  Also, in the javadoc there is mention of&lt;br&gt;&amp;gt; &amp;gt; getScriptSession(String id) but I can&amp;#39;t find the method anywhere.  Maybe I&lt;br&gt;&amp;gt; &amp;gt; could use this to determine which ScriptSession I need to send updates to.&lt;br&gt;

&amp;gt; &amp;gt;&lt;br&gt;&amp;gt; &amp;gt; Thanks,&lt;br&gt;&amp;gt; &amp;gt;&lt;br&gt;&amp;gt; &amp;gt; Erlend&lt;br&gt;&amp;gt; &amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Keep-track-of-ScriptSessions-for-one-browser-tp17114213p17128575.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17128444</id>
	<title>Re: Keep track of ScriptSessions for one browser</title>
	<published>2008-05-08T07:11:52Z</published>
	<updated>2008-05-08T07:11:52Z</updated>
	<author>
		<name>kape</name>
	</author>
	<content type="html">If this question has been asked so many times, I agree that it should definitely be in the FAQ.&amp;nbsp; However, since it isn&amp;#39;t, perhaps you could tell me where I can find the answer rather than just tell me that it&amp;#39;s been answered.&amp;nbsp; I did search and only found the solution for threads started by DWR, but in my case, the thread is NOT started by DWR so I can&amp;#39;t just use WebContextFactory.get().getScriptSession().&lt;br&gt;
&lt;br&gt;Also, I asked where I can find info about the function getScriptSession(String id).&amp;nbsp; Has that also been answered?&amp;nbsp; If so where?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;br&gt;Erlend&lt;br&gt;&lt;pre&gt;&lt;br&gt;&lt;/pre&gt;&lt;pre&gt;On Wed, May 8, 2008 at 9:53 AM, Jose Noheda &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17128444&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jose.noheda@...&lt;/a&gt;&amp;gt; wrote:&lt;/pre&gt;

&lt;div class=&quot;gmail_quote&quot;&gt;&lt;pre&gt;&amp;gt; I think that we need a FAQ somewhere because this has been answered hundreds&lt;br&gt;&amp;gt; of times by now&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; On Wed, May 7, 2008 at 10:39 PM, Erlend Sobec &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17128444&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;erlend.sobec@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt; &lt;br&gt;&amp;gt; &amp;gt; Is there a way to send back information to only one browser even though&lt;br&gt;&amp;gt; &amp;gt; multiple browsers are on the given page?&lt;br&gt;&amp;gt; &amp;gt;&lt;br&gt;&amp;gt; &amp;gt; My problem is that I have multiple users logged in accessing their data.&lt;br&gt;
&amp;gt; &amp;gt; If there is an update for any given user, I don&amp;#39;t want it to be sent to all&lt;br&gt;&amp;gt; &amp;gt; users currently logged in.&lt;br&gt;&amp;gt; &amp;gt;&lt;br&gt;&amp;gt; &amp;gt; I saw a post on how to deal with this if the thread is started by DWR, but&lt;br&gt;
&amp;gt; &amp;gt; in my case it isn&amp;#39;t.  Also, in the javadoc there is mention of&lt;br&gt;&amp;gt; &amp;gt; getScriptSession(String id) but I can&amp;#39;t find the method anywhere.  Maybe I&lt;br&gt;&amp;gt; &amp;gt; could use this to determine which ScriptSession I need to send updates to.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;&amp;gt; &amp;gt; Thanks,&lt;br&gt;&amp;gt; &amp;gt;&lt;br&gt;&amp;gt; &amp;gt; Erlend&lt;br&gt;&amp;gt; &amp;gt;&lt;/pre&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Keep-track-of-ScriptSessions-for-one-browser-tp17114213p17128444.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17123768</id>
	<title>how to make the server aware of ReverseAjax</title>
	<published>2008-05-08T02:34:51Z</published>
	<updated>2008-05-08T02:34:51Z</updated>
	<author>
		<name>Nitin Thakur</name>
	</author>
	<content type="html">Seems like i'm messing too much with connection limit problem. But, here goes my query.
&lt;br&gt;In my application, i do &amp;quot;dwr.engine.setActiveReverseAjax(true)&amp;quot; and &amp;quot;dwr.engine.setActiveReverseAjax(false)&amp;quot; time-to-time to reduce the burden of keeping one permanent connection for reverse ajax even if the client does not need it.
&lt;br&gt;&lt;br&gt;I want my server also to be aware of this thing i.e, whether there is a reverse ajax connection with a client or not. Explicitly Calling the server is not a reliable approach. I want some sort of listener at the server end which keeps track of when ActiveReverseAjax has been set true/false.
&lt;br&gt;&lt;br&gt;Otherwise, can somebody suggest my some way to set ActiveReverseAjax true or false from server side only.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Plz somebody help me out.. Hey Joe, are you listening?</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/how-to-make-the-server-aware-of-ReverseAjax-tp17123768p17123768.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17123114</id>
	<title>RE: Reverse AJAX and ie6</title>
	<published>2008-05-08T01:54:13Z</published>
	<updated>2008-05-08T01:54:13Z</updated>
	<author>
		<name>mikewse</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.2900.3314&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;BLOCKQUOTE style=&quot;PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px&quot;&gt;
  &lt;DIV&gt;I'm trying to use reverse ajax to publish online events to a web browser. 
  Everything works fine with firefox.&lt;BR&gt;&lt;BR&gt;In ie6, I get a low update rate. 
  The update period is equal to the parameter I set in &quot;maxWaitAfterWrite&quot; (if I 
  set 5000, the values are updated once every 5 seconds).&amp;nbsp;&lt;SPAN class=305134808-08052008&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;
&lt;DIV&gt;&lt;SPAN class=305134808-08052008&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;This 
is because Firefox's and IE's XHR implementations&amp;nbsp;behave differently; the 
Firefox XHR supports streaming which lets HTTP response data become available 
before the request is closed. In IE it only becomes available after the request 
is closed. &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=305134808-08052008&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=305134808-08052008&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;The 
maxWaitAfterWrite parameter determines how long after writing response&amp;nbsp;data 
before&amp;nbsp;the request is closed, and it is thus not until then that the data 
will become available in IE.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BLOCKQUOTE style=&quot;PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px&quot;&gt;
  &lt;DIV&gt;Setting a lower value increase the update rate but then I get a &quot;memory 
  hog&quot;, memory consumption of ie grows very fast until I minimize the window 
  (very strange behaviour).&lt;SPAN class=305134808-08052008&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;
&lt;DIV&gt;&lt;SPAN class=305134808-08052008&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;We 
have fixed a number of memory leaks in 2.0.4 so could you please check with the 
RC again? You may also want to try,&amp;nbsp;and compare with, DWR's Reverse Ajax 
Clock example that have been verified not to leak.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=305134808-08052008&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=305134808-08052008&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;Best 
regards&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=305134808-08052008&gt;&lt;FONT face=Verdana color=#0000ff size=2&gt;Mike 
Wilson&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Reverse-AJAX-and-ie6-tp17104572p17123114.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17123021</id>
	<title>RE: synchronizing the java function calls in DWR</title>
	<published>2008-05-08T01:46:42Z</published>
	<updated>2008-05-08T01:46:42Z</updated>
	<author>
		<name>mikewse</name>
	</author>
	<content type="html">&amp;gt; There's the ordered setting on the DWR engine too... that I think
&lt;br&gt;&amp;gt; would do it... I'm not clear if under the covers this makes 
&lt;br&gt;&amp;gt; XMLHttpRequest synchronous (usually bad) or if the engine just 
&lt;br&gt;&amp;gt; manages making it all asynchronous itself
&lt;br&gt;&lt;br&gt;DWR manages it asynchronously so you don't have to be worried about
&lt;br&gt;synchronus XHRs.
&lt;br&gt;&lt;br&gt;Best regards
&lt;br&gt;Mike
&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=17123021&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=17123021&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/synchronizing-the-java-function-calls-in-DWR-tp17105611p17123021.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17122189</id>
	<title>Re: Keep track of ScriptSessions for one browser</title>
	<published>2008-05-08T00:53:20Z</published>
	<updated>2008-05-08T00:53:20Z</updated>
	<author>
		<name>XMaNIaC</name>
	</author>
	<content type="html">I think that we need a FAQ somewhere because this has been answered hundreds of times by now&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, May 7, 2008 at 10:39 PM, Erlend Sobec &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17122189&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;erlend.sobec@...&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;Is there a way to send back information to only one browser even though multiple browsers are on the given page?&lt;br&gt;
&lt;br&gt;My problem is that I have multiple users logged in accessing their data.&amp;nbsp; If there is an update for any given user, I don&amp;#39;t want it to be sent to all users currently logged in.&lt;br&gt;
&lt;br&gt;I saw a post on how to deal with this if the thread is started by DWR, but in my case it isn&amp;#39;t.&amp;nbsp; Also, in the javadoc there is mention of getScriptSession(String id) but I can&amp;#39;t find the method anywhere.&amp;nbsp; Maybe I could use this to determine which ScriptSession I need to send updates to.&lt;br&gt;

&lt;br&gt;Thanks,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Erlend&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Keep-track-of-ScriptSessions-for-one-browser-tp17114213p17122189.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17121039</id>
	<title>Re: how to get linked collections from Hibernate to the client</title>
	<published>2008-05-07T23:26:28Z</published>
	<updated>2008-05-07T23:26:28Z</updated>
	<author>
		<name>martin krüger-5</name>
	</author>
	<content type="html">Hi Josh,&lt;br&gt;&lt;br&gt;thanks a lot for the tip with&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;Hibernate.initialize()&lt;/blockquote&gt;&lt;div&gt;It works like a charm. Only for many-to-many i have to think of something else.But that&amp;#39;s not really the problem. &lt;br&gt;
&lt;br&gt;Greetings Martin&lt;br&gt;&lt;/div&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2008/5/7 Josh Holtzman &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17121039&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jholtzman@...&lt;/a&gt;&amp;gt;:&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 bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
I had run into a similar issue when I was serializing hibernate
proxies.&amp;nbsp; I now avoid sending these proxies to the client for a variety
of reasons, but if you&amp;#39;re sure that you want to do this, you have a
couple of options that I know of:&lt;br&gt;
&lt;br&gt;
1) Manually initialize the proxies that you want access to in the
client.&amp;nbsp; In other words, loop through each folder and each sheet on the
server, calling sheet.getTags().&lt;br&gt;
2) Call Hibernate.initialize() on each folder object.&amp;nbsp; I&amp;#39;ve found that
this will recurse into all of the fields on the proxy, but according to
the API it isn&amp;#39;t guaranteed to navigate the entire object graph, so you
may need to loop through all of the sheet objects anyway.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Good luck,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;
Josh&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;
martin krüger wrote:
&lt;blockquote type=&quot;cite&quot;&gt;Hi everybody, &lt;br&gt;
  &lt;br&gt;
I&amp;#39;m getting a little headache at the moment because of my little test
project. I&amp;#39;m writing a small test application using Hibernate and since
yesterday also DWR. I already managed to request Collections from
Hibernate and display them on the client with this lines:&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;&amp;lt;convert converter=&amp;quot;hibernate3&amp;quot;
match=&amp;quot;com.topdesk.training.accounting.hibernate.pojos.Tag&amp;quot; /&amp;gt;&lt;br&gt;
&amp;lt;convert converter=&amp;quot;collection&amp;quot; match=&amp;quot;java.util.Collection&amp;quot;/&amp;gt;&lt;/blockquote&gt;
  &lt;div&gt;&lt;br&gt;
The problem now is that i have in some POJOS collections of other POJOS.&lt;br&gt;
  &lt;br&gt;
example:&lt;br&gt;
1 folder has zero or more sheets&lt;br&gt;
1 sheet has zero or more tags&lt;br&gt;
(which are stored in a collection)&lt;br&gt;
  &lt;br&gt;
When i request all sheets from the server i return a collection of
sheets. That works perfectly. I want to display all sheets in a simple
HTML table. Per sheet i also want to list all tags that belong to that
sheet. The problem now is that the collection that holds all the tags
per sheet is null. Is there another way (another option) that i missed
to let DWR also return the collections that belong to one object?&lt;br&gt;
  &lt;br&gt;
Thanks a lot already for DWR. It&amp;#39;s a really nice tool.&lt;br&gt;
  &lt;/div&gt;
&lt;/blockquote&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;

&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/how-to-get-linked-collections-from-Hibernate-to-the-client-tp17099733p17121039.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17114213</id>
	<title>Keep track of ScriptSessions for one browser</title>
	<published>2008-05-07T13:39:22Z</published>
	<updated>2008-05-07T13:39:22Z</updated>
	<author>
		<name>kape</name>
	</author>
	<content type="html">Is there a way to send back information to only one browser even though multiple browsers are on the given page?&lt;br&gt;&lt;br&gt;My problem is that I have multiple users logged in accessing their data.&amp;nbsp; If there is an update for any given user, I don&amp;#39;t want it to be sent to all users currently logged in.&lt;br&gt;
&lt;br&gt;I saw a post on how to deal with this if the thread is started by DWR, but in my case it isn&amp;#39;t.&amp;nbsp; Also, in the javadoc there is mention of getScriptSession(String id) but I can&amp;#39;t find the method anywhere.&amp;nbsp; Maybe I could use this to determine which ScriptSession I need to send updates to.&lt;br&gt;
&lt;br&gt;Thanks,&lt;br&gt;&lt;br&gt;Erlend&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Keep-track-of-ScriptSessions-for-one-browser-tp17114213p17114213.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17113434</id>
	<title>Re: how to resize image returned from dwr call bufferedImage</title>
	<published>2008-05-07T13:01:02Z</published>
	<updated>2008-05-07T13:01:02Z</updated>
	<author>
		<name>ddduuu</name>
	</author>
	<content type="html">Hi, XMaNIac,
&lt;br&gt;&lt;br&gt;Thanks for your response, I got it working now.
&lt;br&gt;&lt;br&gt;Dave
&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;XMaNIaC wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;I haven't suffered this problem but if setting image width and height does
&lt;br&gt;not work (I can't understand why really) in IWebMvc you can see code to
&lt;br&gt;generate thumbnails on the fly
&lt;br&gt;&lt;br&gt;On Wed, May 7, 2008 at 5:31 PM, ddduuu &amp;lt;davidkdu@gmail.com&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi, all,
&lt;br&gt;&amp;gt; I can successfully display the images returned from dwr call as
&lt;br&gt;&amp;gt; bufferedImage which is retrieved from database, my problem is that the
&lt;br&gt;&amp;gt; image
&lt;br&gt;&amp;gt; is too big to fit my javascript window, I want the image exactly to fit
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; window, and resize with the window on the browser without going back to
&lt;br&gt;&amp;gt; call
&lt;br&gt;&amp;gt; dwr java function again to recalculate, so I mean my javascript program
&lt;br&gt;&amp;gt; can
&lt;br&gt;&amp;gt; recalculate the size of the image, with setup like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; day1.jpg
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I can do that with javascript, but with the dwr retrieved image like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; /webapp/dwr/download/10ED6EDB38A3C797840F9AB2E2764FD2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I can not set style with the size, if I do, it will not display anymore.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any suggestions for me in terms of what to do to resize it with
&lt;br&gt;&amp;gt; javascript?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks in advance.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Dave
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/how-to-resize-image-returned-from-dwr-call-bufferedImage-tp17106418p17106418.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/how-to-resize-image-returned-from-dwr-call-bufferedImage-tp17106418p17106418.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the DWR - Users mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: users-unsubscribe@dwr.dev.java.net
&lt;br&gt;&amp;gt; For additional commands, e-mail: users-help@dwr.dev.java.net
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/how-to-resize-image-returned-from-dwr-call-bufferedImage-tp17106418p17113434.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17108470</id>
	<title>Re: how to resize image returned from dwr call bufferedImage</title>
	<published>2008-05-07T08:58:34Z</published>
	<updated>2008-05-07T08:58:34Z</updated>
	<author>
		<name>XMaNIaC</name>
	</author>
	<content type="html">I haven&amp;#39;t suffered this problem but if setting image width and height does not work (I can&amp;#39;t understand why really) in IWebMvc you can see code to generate thumbnails on the fly&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, May 7, 2008 at 5:31 PM, ddduuu &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17108470&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;davidkdu@...&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;
Hi, all,&lt;br&gt;
I can successfully display the images returned from dwr call as&lt;br&gt;
bufferedImage which is retrieved from database, my problem is that the image&lt;br&gt;
is too big to fit my javascript window, I want the image exactly to fit the&lt;br&gt;
window, and resize with the window on the browser without going back to call&lt;br&gt;
dwr java function again to recalculate, so I mean my javascript program can&lt;br&gt;
recalculate the size of the image, with setup like this:&lt;br&gt;
&lt;br&gt;
day1.jpg&lt;br&gt;
&lt;br&gt;
I can do that with javascript, but with the dwr retrieved image like this:&lt;br&gt;
&lt;br&gt;
/webapp/dwr/download/10ED6EDB38A3C797840F9AB2E2764FD2&lt;br&gt;
&lt;br&gt;
I can not set style with the size, if I do, it will not display anymore.&lt;br&gt;
&lt;br&gt;
Any suggestions for me in terms of what to do to resize it with javascript?&lt;br&gt;
&lt;br&gt;
Thanks in advance.&lt;br&gt;
&lt;br&gt;
Dave&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://www.nabble.com/how-to-resize-image-returned-from-dwr-call-bufferedImage-tp17106418p17106418.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/how-to-resize-image-returned-from-dwr-call-bufferedImage-tp17106418p17106418.html&lt;/a&gt;&lt;br&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=17108470&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=17108470&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;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/how-to-resize-image-returned-from-dwr-call-bufferedImage-tp17106418p17108470.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17106418</id>
	<title>how to resize image returned from dwr call bufferedImage</title>
	<published>2008-05-07T08:31:48Z</published>
	<updated>2008-05-07T08:31:48Z</updated>
	<author>
		<name>ddduuu</name>
	</author>
	<content type="html">Hi, all,
&lt;br&gt;I can successfully display the images returned from dwr call as bufferedImage which is retrieved from database, my problem is that the image is too big to fit my javascript window, I want the image exactly to fit the window, and resize with the window on the browser without going back to call dwr java function again to recalculate, so I mean my javascript program can recalculate the size of the image, with setup like this:
&lt;br&gt;&lt;br&gt;img src=&amp;quot;day1.jpg&amp;quot; title=&amp;quot;day1.jpg.&amp;quot; style=&amp;quot;width: 115px; height: 126px; visibility: hidden;&amp;quot;
&lt;br&gt;&lt;br&gt;I can do that with javascript, but with the dwr retrieved image like this:
&lt;br&gt;&lt;br&gt;img id=&amp;quot;image-day1.jpg&amp;quot; src=&amp;quot;/webapp/dwr/download/10ED6EDB38A3C797840F9AB2E2764FD2&amp;quot; title=&amp;quot;day1.jpg&amp;quot;
&lt;br&gt;&lt;br&gt;I can not set style with the size, if I do, it will not display the image anymore.
&lt;br&gt;&lt;br&gt;Any suggestions for me in terms of what to do to resize it with javascript?
&lt;br&gt;&lt;br&gt;Thanks in advance.
&lt;br&gt;&lt;br&gt;Dave</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/how-to-resize-image-returned-from-dwr-call-bufferedImage-tp17106418p17106418.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17107210</id>
	<title>Re: synchronizing the java function calls in DWR</title>
	<published>2008-05-07T08:01:07Z</published>
	<updated>2008-05-07T08:01:07Z</updated>
	<author>
		<name>Frank W. Zammetti</name>
	</author>
	<content type="html">There's the ordered setting on the DWR engine too... that I think would 
&lt;br&gt;do it... I'm not clear if under the covers this makes XMLHttpRequest 
&lt;br&gt;synchronous (usually bad) or if the engine just manages making it all 
&lt;br&gt;asynchronous itself, which would mean the UI probably wouldn't lock up 
&lt;br&gt;and it might be acceptable... there's a separate async setting that 
&lt;br&gt;according to the docs does make XMLHttpRequest synchronous (or not)... 
&lt;br&gt;playing with ordered might be worth a shot.
&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; &amp;nbsp;and &amp;quot;Practical JavaScript, DOM Scripting and Ajax Projects&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;and &amp;quot;Practical Ajax Projects With Java Technology&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;for info: apress.com/book/search?searchterm=zammetti&amp;act=search
&lt;br&gt;Java Web Parts - javawebparts.sourceforge.net
&lt;br&gt;&amp;nbsp; Supplying the wheel, so you don't have to reinvent it!
&lt;br&gt;My &amp;quot;look ma, I have a blog too!&amp;quot; blog: zammetti.com/blog
&lt;br&gt;&lt;br&gt;FrankJose Noheda wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; call it in the callback of the first one. there are other means but 
&lt;br&gt;&amp;gt; they're not as reliable. with gears integration things could improve in 
&lt;br&gt;&amp;gt; this area
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Wed, May 7, 2008 at 3:58 PM, Nitin Thakur &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17107210&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;myegotrip@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; &amp;lt;mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17107210&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;myegotrip@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Is there any way to synchronize java-function-calls from javascript
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; without
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; server explicitly sending acknowledgment through reverse Ajax. Say,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; i want
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; to make a call to method2 (JavaClass.method2) only after my previous
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; call
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; has been completed (JavaClass.method1). is there any way to assure this.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; --
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; View this message in context:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.nabble.com/synchronizing-the-java-function-calls-in-DWR-tp17105611p17105611.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/synchronizing-the-java-function-calls-in-DWR-tp17105611p17105611.html&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Sent from the DWR - Users mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17107210&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17107210&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17107210&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17107210&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;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=17107210&amp;i=6&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=17107210&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/synchronizing-the-java-function-calls-in-DWR-tp17105611p17107210.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17106999</id>
	<title>Re: synchronizing the java function calls in DWR</title>
	<published>2008-05-07T07:51:14Z</published>
	<updated>2008-05-07T07:51:14Z</updated>
	<author>
		<name>XMaNIaC</name>
	</author>
	<content type="html">call it in the callback of the first one. there are other means but they&amp;#39;re not as reliable. with gears integration things could improve in this area&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, May 7, 2008 at 3:58 PM, Nitin Thakur &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17106999&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;myegotrip@...&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;
Is there any way to synchronize java-function-calls from javascript without&lt;br&gt;
server explicitly sending acknowledgment through reverse Ajax. Say, i want&lt;br&gt;
to make a call to method2 (JavaClass.method2) only after my previous call&lt;br&gt;
has been completed (JavaClass.method1). is there any way to assure this.&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://www.nabble.com/synchronizing-the-java-function-calls-in-DWR-tp17105611p17105611.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/synchronizing-the-java-function-calls-in-DWR-tp17105611p17105611.html&lt;/a&gt;&lt;br&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=17106999&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=17106999&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;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/synchronizing-the-java-function-calls-in-DWR-tp17105611p17106999.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17105611</id>
	<title>synchronizing the java function calls in DWR</title>
	<published>2008-05-07T06:58:47Z</published>
	<updated>2008-05-07T06:58:47Z</updated>
	<author>
		<name>Nitin Thakur</name>
	</author>
	<content type="html">Is there any way to synchronize java-function-calls from javascript without server explicitly sending acknowledgment through reverse Ajax. Say, i want to make a call to method2 (JavaClass.method2) only after my previous call has been completed (JavaClass.method1). is there any way to assure this.</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/synchronizing-the-java-function-calls-in-DWR-tp17105611p17105611.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17104917</id>
	<title>Re: how to get linked collections from Hibernate to the client</title>
	<published>2008-05-07T06:29:31Z</published>
	<updated>2008-05-07T06:29:31Z</updated>
	<author>
		<name>Josh Holtzman</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
I had run into a similar issue when I was serializing hibernate
proxies.&amp;nbsp; I now avoid sending these proxies to the client for a variety
of reasons, but if you're sure that you want to do this, you have a
couple of options that I know of:&lt;br&gt;
&lt;br&gt;
1) Manually initialize the proxies that you want access to in the
client.&amp;nbsp; In other words, loop through each folder and each sheet on the
server, calling sheet.getTags().&lt;br&gt;
2) Call Hibernate.initialize() on each folder object.&amp;nbsp; I've found that
this will recurse into all of the fields on the proxy, but according to
the API it isn't guaranteed to navigate the entire object graph, so you
may need to loop through all of the sheet objects anyway.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Good luck,&lt;br&gt;
Josh&lt;br&gt;
&lt;br&gt;
martin kr&amp;uuml;ger wrote:
&lt;blockquote cite=&quot;mid:489965d80805070113q6b908de8r3f86f92f8a10e1e2@mail.gmail.com&quot; type=&quot;cite&quot;&gt;Hi everybody, &lt;br&gt;
  &lt;br&gt;
I'm getting a little headache at the moment because of my little test
project. I'm writing a small test application using Hibernate and since
yesterday also DWR. I already managed to request Collections from
Hibernate and display them on the client with this lines:&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;&amp;lt;convert converter=&quot;hibernate3&quot;
match=&quot;com.topdesk.training.accounting.hibernate.pojos.Tag&quot; /&amp;gt;&lt;br&gt;
&amp;lt;convert converter=&quot;collection&quot; match=&quot;java.util.Collection&quot;/&amp;gt;&lt;/blockquote&gt;
  &lt;div&gt;&lt;br&gt;
The problem now is that i have in some POJOS collections of other POJOS.&lt;br&gt;
  &lt;br&gt;
example:&lt;br&gt;
1 folder has zero or more sheets&lt;br&gt;
1 sheet has zero or more tags&lt;br&gt;
(which are stored in a collection)&lt;br&gt;
  &lt;br&gt;
When i request all sheets from the server i return a collection of
sheets. That works perfectly. I want to display all sheets in a simple
HTML table. Per sheet i also want to list all tags that belong to that
sheet. The problem now is that the collection that holds all the tags
per sheet is null. Is there another way (another option) that i missed
to let DWR also return the collections that belong to one object?&lt;br&gt;
  &lt;br&gt;
Thanks a lot already for DWR. It's a really nice tool.&lt;br&gt;
  &lt;/div&gt;
&lt;/blockquote&gt;
&lt;br&gt;
&lt;/body&gt;
&lt;/html&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/how-to-get-linked-collections-from-Hibernate-to-the-client-tp17099733p17104917.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17104572</id>
	<title>Reverse AJAX and ie6</title>
	<published>2008-05-07T06:11:41Z</published>
	<updated>2008-05-07T06:11:41Z</updated>
	<author>
		<name>Zardam</name>
	</author>
	<content type="html">Hi,&lt;br&gt;&lt;br&gt;I&amp;#39;m trying to use reverse ajax to publish online events to a web browser. Everything works fine with firefox.&lt;br&gt;&lt;br&gt;In ie6, I get a low update rate. The update period is equal to the parameter I set in &amp;quot;maxWaitAfterWrite&amp;quot; (if I set 5000, the values are updated once every 5 seconds). Setting a lower value increase the update rate but then I get a &amp;quot;memory hog&amp;quot;, memory consumption of ie grows very fast until I minimize the window (very strange behaviour).&lt;br&gt;
&lt;br&gt;The memory problem seems to be triggered by javascript method call on the java side. I tried to disable all my application logic, but the problem persists.&lt;br&gt;&lt;br&gt;I tried severeral version of DWR (from 2.0.1 to 2.0.4rc1) with no luck. My web application is based on Spring and is deployed on a Jetty6 web server.&lt;br&gt;
&lt;br&gt;Any ideas ? Maybe I am doing something wrong ?&lt;br&gt;&lt;br&gt;Damien&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Reverse-AJAX-and-ie6-tp17104572p17104572.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17103670</id>
	<title>DWR Dinner</title>
	<published>2008-05-07T05:24:51Z</published>
	<updated>2008-05-07T05:24:51Z</updated>
	<author>
		<name>Joe Walker-3</name>
	</author>
	<content type="html">&lt;br&gt;If you&amp;#39;re at JavaOne, and fancy a meal, or just a few beers, we could all hook up after the comet talk this evening. The talk is in 307-310 and from 6:30 to 7:20.&lt;br&gt;It would be good to meet up, and I&amp;#39;ll buy at least the first round.&lt;br&gt;
&lt;br&gt;Joe.&lt;br&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/DWR-Dinner-tp17103670p17103670.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17100070</id>
	<title>RE: getting form FORM to Java Object (JSF)</title>
	<published>2008-05-07T01:35:29Z</published>
	<updated>2008-05-07T01:35:29Z</updated>
	<author>
		<name>mikewse</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt; Now I tried the table editing example of DWR with
&lt;br&gt;&amp;gt; dwr 2.0.1 (appfuse-jsf 2.0). It works well, but when I change the 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;input id=&amp;quot;name&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;to
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;h:inputText id=&amp;quot;name&amp;quot; (JSF)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;And the resulting HTML source prefix &amp;quot;j_id2:&amp;quot; with the JSF 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;component.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;input id=&amp;quot;j_id2:name&amp;quot; name=&amp;quot;j_id2:name&amp;quot; type=&amp;quot;text&amp;quot; value=&amp;quot;&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;input id=&amp;quot;salary&amp;quot; type=&amp;quot;text&amp;quot; size=&amp;quot;20&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;input type=&amp;quot;text&amp;quot; id=&amp;quot;address&amp;quot; size=&amp;quot;40&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;The dwr.util.setValues(person) is not showing the name field value.
&lt;/div&gt;&lt;br&gt;Ok, your problem here is with JSF's generated id/name attributes. Your
&lt;br&gt;specified id=&amp;quot;name&amp;quot; is prepended with a parent's id acting as naming
&lt;br&gt;container.
&lt;br&gt;&lt;br&gt;As DWR's get/setValue[s] functions are purely client-side implementations,
&lt;br&gt;and not dependent on your server-side framework, they can only consider
&lt;br&gt;the resulting id/name and these are now different from the property names
&lt;br&gt;in your person object.
&lt;br&gt;&lt;br&gt;Possible solutions:
&lt;br&gt;&lt;br&gt;1) Ask JSF not to rewrite the ids on these elements. I'm by no means a JSF 
&lt;br&gt;&amp;nbsp; &amp;nbsp;expert but I've seen this:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;JSF 1.2: form prependId=false
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Myfaces: input forceId=true
&lt;br&gt;&amp;nbsp; &amp;nbsp;Check what your chosen JSF implementation can offer. It's probably
&lt;br&gt;&amp;nbsp; &amp;nbsp;better to ask further questions on this subject in a JSF forum but it
&lt;br&gt;&amp;nbsp; &amp;nbsp;would be nice if you can report back your findings here.
&lt;br&gt;&amp;nbsp; &amp;nbsp;[Not rewriting the ids assume you don't have any other elements with
&lt;br&gt;&amp;nbsp; &amp;nbsp;the same id that may interfere.]
&lt;br&gt;&lt;br&gt;2) Change the members of your person object to match the generated ids.
&lt;br&gt;&amp;nbsp; &amp;nbsp;Probably not desired, but anyway:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;person[&amp;quot;j_id2:name&amp;quot;] = &amp;quot;Donald&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;dwr.util.setValues(person);
&lt;br&gt;&lt;br&gt;3) Use setValue calls for every property instead of setValues:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;dwr.util.setValue(&amp;quot;j_id2:name&amp;quot;, person.name);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;... etc ...
&lt;br&gt;&lt;br&gt;4) Updating setValues() in 2.0.4 as it currently has almost the support 
&lt;br&gt;&amp;nbsp; &amp;nbsp;you need:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;dwr.util.setValues(person, {prefix:&amp;quot;j_id2&amp;quot;});
&lt;br&gt;&amp;nbsp; &amp;nbsp;The above will map 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;person.name -&amp;gt; id &amp;quot;j_id2.name&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;and so forth. Note the separating dot instead of colon. We could add
&lt;br&gt;&amp;nbsp; &amp;nbsp;a new option for configuring the separator character:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;dwr.util.setValues(person, {prefix:&amp;quot;j_id2&amp;quot;,separator:&amp;quot;:&amp;quot;});
&lt;br&gt;&amp;nbsp; &amp;nbsp;that would then map
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;person.name -&amp;gt; id &amp;quot;j_id2:name&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;What does everybody think - is this the correct (and desired) way
&lt;br&gt;&amp;nbsp; &amp;nbsp;of tackling this issue or is the JSF id thingie too complex to
&lt;br&gt;&amp;nbsp; &amp;nbsp;handle properly anyway, and should be avoided?
&lt;br&gt;&lt;br&gt;Best regards
&lt;br&gt;Mike
&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=17100070&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=17100070&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/getting-form-FORM-to-Java-Object-%28JSF%29-tp16849569p17100070.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17099733</id>
	<title>how to get linked collections from Hibernate to the client</title>
	<published>2008-05-07T01:13:40Z</published>
	<updated>2008-05-07T01:13:40Z</updated>
	<author>
		<name>martin krüger-5</name>
	</author>
	<content type="html">Hi everybody, &lt;br&gt;&lt;br&gt;I&amp;#39;m getting a little headache at the moment because of my little test project. I&amp;#39;m writing a small test application using Hibernate and since yesterday also DWR. I already managed to request Collections from Hibernate and display them on the client with this lines:&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;&amp;lt;convert converter=&amp;quot;hibernate3&amp;quot; match=&amp;quot;com.topdesk.training.accounting.hibernate.pojos.Tag&amp;quot; /&amp;gt;&lt;br&gt;
&amp;lt;convert converter=&amp;quot;collection&amp;quot; match=&amp;quot;java.util.Collection&amp;quot;/&amp;gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;The problem now is that i have in some POJOS collections of other POJOS.&lt;br&gt;&lt;br&gt;example:&lt;br&gt;1 folder has zero or more sheets&lt;br&gt;
1 sheet has zero or more tags&lt;br&gt;(which are stored in a collection)&lt;br&gt;&lt;br&gt;When i request all sheets from the server i return a collection of sheets. That works perfectly. I want to display all sheets in a simple HTML table. Per sheet i also want to list all tags that belong to that sheet. The problem now is that the collection that holds all the tags per sheet is null. Is there another way (another option) that i missed to let DWR also return the collections that belong to one object?&lt;br&gt;
&lt;br&gt;Thanks a lot already for DWR. It&amp;#39;s a really nice tool.&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/how-to-get-linked-collections-from-Hibernate-to-the-client-tp17099733p17099733.html" />
</entry>

</feed>
