<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/thinwire/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/thinwire/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/thinwire/bugs/</id><updated>2013-05-22T08:49:22.697000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>framework issue : org.mozilla.javascript.EvaluatorException:  is not a function</title><link href="https://sourceforge.net/p/thinwire/bugs/320/" rel="alternate"/><published>2013-05-22T08:49:22.697000Z</published><updated>2013-05-22T08:49:22.697000Z</updated><author><name>Srinivas</name><uri>https://sourceforge.net/u/srinivast79/</uri></author><id>https://sourceforge.net1c959e1eac7479a75a3469a3755ac3de0c11957d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Getting org.mozilla.javascript.EvaluatorException:  is not a function irrespective there is genuine code issue.When re-initialize the framework then working without any issues.Overall getting this error message intermittantly.&lt;/p&gt;
&lt;p&gt;org.mozilla.javascript.EvaluatorException:  is not a function&lt;br /&gt;
........&lt;br /&gt;
at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:64)&lt;br /&gt;
    at org.mozilla.javascript.Context.reportRuntimeError(Context.java:815)&lt;br /&gt;
    at org.mozilla.javascript.Context.reportRuntimeError(Context.java:870)&lt;br /&gt;
    at org.mozilla.javascript.optimizer.OptRuntime.callSimple(OptRuntime.java:263)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Throwing RuntimeException will kill servlet worker thread</title><link href="https://sourceforge.net/p/thinwire/bugs/319/" rel="alternate"/><published>2010-02-05T02:40:21Z</published><updated>2010-02-05T02:40:21Z</updated><author><name>cjq</name><uri>https://sourceforge.net/u/cjq/</uri></author><id>https://sourceforge.net8e0e4e4bd17bc95e698c20f8257b982c7da31fce</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When using AJP(although probably any) with tomcat 6.0.20 I have found that the Servlet wraps every exception in a runtimeexception and throws it. This kills the worker thread and the connection never finishes, also the existing sessions are never invalidated on timeout.&lt;br /&gt;
As a workaround I catch these exceptions in my delegate servlet.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Adding, removing then adding a panel again doesn't work</title><link href="https://sourceforge.net/p/thinwire/bugs/318/" rel="alternate"/><published>2010-01-29T18:51:46Z</published><updated>2010-01-29T18:51:46Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net9235410f3f5865de14b6b1dd3a8e0200cb3eeb34</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Exception below given when adding a panel to another, then later removing, then adding again in a separate instance of the application:&lt;br /&gt;
I believe this to be because although the reference in the parent panel is removed, the parent is not removed from the child, and the check performed before throwing this error is panel.getParent()!=null &lt;br /&gt;
java.lang.IllegalArgumentException: cannot add component to multiple containers or twice to the same container&lt;br /&gt;
at thinwire.ui.AbstractContainer$ChildList.add(AbstractContainer.java:84)&lt;br /&gt;
at thinwire.ui.AbstractContainer$ChildList.add(AbstractContainer.java:42)&lt;br /&gt;
at java.util.AbstractList.add(Unknown Source)&lt;br /&gt;
at thinwire.apps.tester.Main$1.propertyChange(Main.java:124)&lt;br /&gt;
at thinwire.ui.EventListenerImpl.fireEvent(EventListenerImpl.java:310)&lt;br /&gt;
at thinwire.ui.EventListenerImpl.firePropertyChange(EventListenerImpl.java:231)&lt;br /&gt;
at thinwire.ui.AbstractComponent.firePropertyChange(AbstractComponent.java:135)&lt;br /&gt;
at thinwire.ui.Tree$Item.setSelected(Tree.java:189)&lt;br /&gt;
at thinwire.render.web.TreeRenderer.componentChange(TreeRenderer.java:149)&lt;br /&gt;
at thinwire.render.web.EventProcessor.processUserActionEvent(EventProcessor.java:132)&lt;br /&gt;
at thinwire.render.web.EventProcessor.run(EventProcessor.java:88)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>F5 to re-run a closed project on IE8 doesn't work</title><link href="https://sourceforge.net/p/thinwire/bugs/317/" rel="alternate"/><published>2009-09-01T08:14:29Z</published><updated>2009-09-01T08:14:29Z</updated><author><name>Clinton Lee</name><uri>https://sourceforge.net/u/dextar78/</uri></author><id>https://sourceforge.net2b8a48f3e53fe387dfb1934dd5bbe34c19236d7f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Pressing F5 on an IE 8 project doesn't work if the session has been previously terminated. It seems to come down to it assuming _getFrameBounds() will be called, but it doesn't get triggered the second time in IE8. This patch checks to see if its IE8 and calls triggers the event like it does for other browsers.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Does not display with Firefox 3.5.2</title><link href="https://sourceforge.net/p/thinwire/bugs/316/" rel="alternate"/><published>2009-08-20T12:19:44Z</published><updated>2009-08-20T12:19:44Z</updated><author><name>Gilles Carpentier</name><uri>https://sourceforge.net/u/gcarpentier/</uri></author><id>https://sourceforge.netaa758cd1c804379644f76cb5b0b5bf4a18d613e7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I get the following erreur with the new version of Firefox (3.5.2) on Mac OS X (10.5.7) :&lt;/p&gt;
&lt;p&gt;Erreur : missing ; before statement&lt;br /&gt;
Fichier Source : &lt;a href="http://localhost:8080/webERP/?_twr_=ThinWire_v1.2_RC2.js" rel="nofollow"&gt;http://localhost:8080/webERP/?_twr_=ThinWire_v1.2_RC2.js&lt;/a&gt;&lt;br /&gt;
Ligne : 1160, Colonne : 15&lt;br /&gt;
Code Source :&lt;br /&gt;
this[eW]=realSetter &lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Gilles Carpentier&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Hyperlink openLocation doesn't pass target on</title><link href="https://sourceforge.net/p/thinwire/bugs/315/" rel="alternate"/><published>2009-06-09T02:46:44Z</published><updated>2009-06-09T02:46:44Z</updated><author><name>cjq</name><uri>https://sourceforge.net/u/cjq/</uri></author><id>https://sourceforge.net7922b4f63df3ea5aca667cc666502001f9329f48</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;openLocation methods don't pass target on to main method.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>DropDown: Does not close when focus is lost</title><link href="https://sourceforge.net/p/thinwire/bugs/314/" rel="alternate"/><published>2008-09-25T01:46:51Z</published><updated>2008-09-25T01:46:51Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net577f0827ef175d6e5e1e670d22409b601cbac45c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If you have a DropDown, typically a DropDownGridBox. When it's focus is lost, The DropDown will then remain visible. SEE ATTACHED PICTURE.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Remove selected Row from GridBox clears selections</title><link href="https://sourceforge.net/p/thinwire/bugs/313/" rel="alternate"/><published>2008-07-08T08:15:41Z</published><updated>2008-07-08T08:15:41Z</updated><author><name>Christoph Hohmann</name><uri>https://sourceforge.net/u/reboot/</uri></author><id>https://sourceforge.net0df5309587ad9b7b3ec02b7cd080f87e5d40b41d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If the currently selected Row is removed from a GridBox the GridBox looks like no row is selected, also the server side still seems to recognize a row as selected because nothing happens when you click on the row. The problems seems to be caused by removeRow:&lt;/p&gt;
&lt;p&gt;It does&lt;/p&gt;
&lt;p&gt;if (index == this._currentIndex) {&lt;br /&gt;
...&lt;br /&gt;
this.setRowIndexSelected(index);&lt;br /&gt;
...&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;But setRowIndexSelected first checks if index is equal to this._currentIndex and then does nothing:&lt;/p&gt;
&lt;p&gt;setRowIndexSelected: function(index, sendEvent) {&lt;br /&gt;
if (this._currentIndex == index) return;&lt;br /&gt;
...&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;This is obviouly true because otherwise the setRowIndexSelected would not have been invoked from removeRow.&lt;/p&gt;
&lt;p&gt;I fixed this by first clearing the this._currentIndex:&lt;/p&gt;
&lt;p&gt;if (index == this._currentIndex) {&lt;br /&gt;
var size = this._getRowCount();&lt;/p&gt;
&lt;p&gt;this._currentIndex = -1;&lt;br /&gt;
if (index &amp;lt; size) {&lt;br /&gt;
this.setRowIndexSelected(index);&lt;br /&gt;
} else if (size &amp;gt; 0) {&lt;br /&gt;
this.setRowIndexSelected(size - 1);&lt;br /&gt;
}&lt;br /&gt;
} ...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>FileChooser fails on large files under Linux</title><link href="https://sourceforge.net/p/thinwire/bugs/312/" rel="alternate"/><published>2008-06-20T18:23:47Z</published><updated>2008-06-20T18:23:47Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.neta4e10d20e18a48097428e6a49fe7f230cb3f2e2f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Looking at WebServlet.java:&lt;/p&gt;
&lt;p&gt;326                 upload.setSizeThreshold(1000000);&lt;br /&gt;
327                 upload.setSizeMax(-1);&lt;br /&gt;
328                 upload.setRepositoryPath("C:\\");&lt;/p&gt;
&lt;p&gt;So if your filesize&amp;gt;1000000, the upload goes directly to disk at "C:\\".  Not so great if you don't have a "C:\\"...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Open session in View pattern</title><link href="https://sourceforge.net/p/thinwire/bugs/311/" rel="alternate"/><published>2008-06-18T22:18:19Z</published><updated>2008-06-18T22:18:19Z</updated><author><name>richard</name><uri>https://sourceforge.net/u/userid-1707323/</uri></author><id>https://sourceforge.netc025d7bd99176724565af60b8ae2fd9b37d17b31</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;"Open view in session" is a pattern commonly used with Hibernate applications. In this pattern every incoming request opens a new hibernate session and transaction, which is closed when the request completes.&lt;/p&gt;
&lt;p&gt;See &lt;a href="http://www.hibernate.org/43.html" rel="nofollow"&gt;http://www.hibernate.org/43.html&lt;/a&gt; for more details.&lt;/p&gt;
&lt;p&gt;Typically this is activated via a servlet interceptor that intercepts the request before it is passed on to the actual servlet. The session is then stored in a threadLocal variable for later access.&lt;/p&gt;
&lt;p&gt;Unfortunately storing the session in a threadLocal variable doesnt work with thinwire since the thinwire event processing occurs on another thread. &lt;/p&gt;
&lt;p&gt;In the thinwire model the session needs to be stored in the Allication.Local storage variable, which is not available to the servlet  interceptor....&lt;/p&gt;
&lt;p&gt;My solution would be to fire a special event when thinwire starts the event processing and another event with the processing is complete. The first event could be used to open the hibernate session, and the second could be used to close it....&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>