<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>SmartClient Forums</title>
		<link>http://forums.isomorphic.com/</link>
		<description>SmartClient AJAX GUI system public forums</description>
		<language>en</language>
		<lastBuildDate>Sat, 18 May 2013 21:28:51 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://forums.smartclient.com/images/misc/rss.jpg</url>
			<title>SmartClient Forums</title>
			<link>http://forums.isomorphic.com/</link>
		</image>
		<item>
			<title>related updates between data sources related by inheritance</title>
			<link>http://forums.isomorphic.com/showthread.php?t=26605&amp;goto=newpost</link>
			<pubDate>Sat, 18 May 2013 14:52:31 GMT</pubDate>
			<description>Hi, 
 
I am developing a custom data source that extends BasicDataSource, and supports several data sources that are related by inheritance. For...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I am developing a custom data source that extends BasicDataSource, and supports several data sources that are related by inheritance. For purposes of this discussion, assume that I have two data sources: Base and Derived, where Derived inherits from Base. In my application I have several data bound components displayed at one time, for example a TreeGrid displaying Base records, and a ListGrid displaying Derived records.<br />
<br />
If I add/update/remove a Base record from the TreeGrid, what I would like is that the corresponding Derived record in the ListGrid is also added/updated/removed, and vice-versa. This happens automatically if the components are bound to the same data source, but does not seem to happen if they are different data sources related by inheritsFrom. I am able to accomplish this manually, either by using DSResponse.addRelatedUpdate() on the server (or DataSource.updateCaches()).<br />
<br />
My question is: should this happen automatically? If so, then I am doing something wrong and will need to try to determine why it is not working for me. If not, then is my manual approach described above the best way to accomplish the desired result? <br />
<br />
Thanks!<br />
<br />
====<br />
Version: v8.3p_2012-12-31/Pro Deployment (built 2012-12-31)<br />
Browser: Firefox 17.0.5</div>

]]></content:encoded>
			<category domain="http://forums.isomorphic.com/forumdisplay.php?f=14"><![CDATA[Smart GWT Technical Q&A]]></category>
			<dc:creator>JonFields</dc:creator>
			<guid isPermaLink="true">http://forums.isomorphic.com/showthread.php?t=26605</guid>
		</item>
		<item>
			<title>issue with smartgwt tabs in IE 9 onwards</title>
			<link>http://forums.isomorphic.com/showthread.php?t=26604&amp;goto=newpost</link>
			<pubDate>Sat, 18 May 2013 07:24:23 GMT</pubDate>
			<description>Hi, 
Iam using smartgwt pro 3.1  
IE version 9. 
 
I have the problem like when i had the more tabs end of the tabset we will display moveForward and...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
Iam using smartgwt pro 3.1 <br />
IE version 9.<br />
<br />
I have the problem like when i had the more tabs end of the tabset we will display moveForward and moveBackward and moveDown buttons.<br />
If i reduce the browser size and click on the moveDown button i will get the some alignment problems in my application. To avoid that issues i want to display all opened tabs in left view like &quot;required_Tab.JPG&quot;<br />
<br />
please find the attachements.<br />
<br />
below is my code.<br />
<br />
VLayout tabLayout = new VLayout(); <br />
tabLayout.setHeight(&quot;100%&quot;);<br />
tabLayout.setWidth100();<br />
tabLayout.setOverflow(Overflow.AUTO);<br />
        <br />
TabSet testTabSet = new TabSet();<br />
testTabSet.setTabBarPosition(Side.TOP);<br />
testTabSet.setTabBarAlign(Side.LEFT);<br />
testTabSet.setWidth100();<br />
testTabSet.setHeight100();<br />
testTabSet.setOverflow(Overflow.VISIBLE);         testTabSet.setPaneContainerOverflow(Overflow.VISIB  LE);<br />
<br />
//Here i add the tabs<br />
<br />
Its working perfectly in IE8,chrome and firefox.<br />
Problem with Ie9 onwards.<br />
<br />
Please help me to acieve this.<br />
Thanks in Advance.</div>


	<br />
	<div style="padding:6px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://forums.isomorphic.com/images/attach/jpg.gif" alt="File Type: jpg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://forums.isomorphic.com/attachment.php?attachmentid=5677&amp;d=1368861842">required_Tab.JPG</a> (12.8 KB)</td>
</tr><tr>
	<td><img class="inlineimg" src="http://forums.isomorphic.com/images/attach/jpg.gif" alt="File Type: jpg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://forums.isomorphic.com/attachment.php?attachmentid=5678&amp;d=1368861854">toAvoid_Tab.JPG</a> (12.3 KB)</td>
</tr>
			</table>
			</fieldset>
	

	

	</div>
]]></content:encoded>
			<category domain="http://forums.isomorphic.com/forumdisplay.php?f=14"><![CDATA[Smart GWT Technical Q&A]]></category>
			<dc:creator>vnathank</dc:creator>
			<guid isPermaLink="true">http://forums.isomorphic.com/showthread.php?t=26604</guid>
		</item>
		<item>
			<title>Menu items from selected datasource records</title>
			<link>http://forums.isomorphic.com/showthread.php?t=26603&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 20:20:17 GMT</pubDate>
			<description>With SmartClient_v82p_2012-06-27 + Google Chrome + Firefox 3.5 
 
I have a menu with a data source. Same data source is associated with a TreeGrid...</description>
			<content:encoded><![CDATA[<div>With SmartClient_v82p_2012-06-27 + Google Chrome + Firefox 3.5<br />
<br />
I have a menu with a data source. Same data source is associated with a TreeGrid component which is responsible for adding data into this DataSource. There are few items that I want to show on Tree Grid but don't want to have them as an item in Menu.  In other words I only want selected record from data source to be displayed as menu item. How should I do this? Please help. Thanks.</div>

]]></content:encoded>
			<category domain="http://forums.isomorphic.com/forumdisplay.php?f=13"><![CDATA[Technical Q&A]]></category>
			<dc:creator>SaurabhChouhan</dc:creator>
			<guid isPermaLink="true">http://forums.isomorphic.com/showthread.php?t=26603</guid>
		</item>
		<item>
			<title>SelectItem event</title>
			<link>http://forums.isomorphic.com/showthread.php?t=26602&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 19:43:38 GMT</pubDate>
			<description>Hi, 
Can someone tell me what event is fired when the picklist associated with a SelectItem contracts.  When I click on another element when the...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
Can someone tell me what event is fired when the picklist associated with a SelectItem contracts.  When I click on another element when the picklist is expanded it seems like that click event is &quot;absorbed&quot; by the picklist which then contracts and I need to click a second time on the other element.<br />
Thanks.</div>

]]></content:encoded>
			<category domain="http://forums.isomorphic.com/forumdisplay.php?f=14"><![CDATA[Smart GWT Technical Q&A]]></category>
			<dc:creator>bc</dc:creator>
			<guid isPermaLink="true">http://forums.isomorphic.com/showthread.php?t=26602</guid>
		</item>
		<item>
			<title>Validation with ListGridEditorCustomizer</title>
			<link>http://forums.isomorphic.com/showthread.php?t=26601&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 17:54:00 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I use SmartGWT and I'm working with grids 
 
Is it possible to do validation in a cell when using ListGridEditorCustomizer  in a listgrid? 
...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I use SmartGWT and I'm working with grids<br />
<br />
Is it possible to do validation in a cell when using ListGridEditorCustomizer  in a listgrid?<br />
<br />
I am working with the following code but does not appear in the cell validation icon.<br />
<br />
countryGrid.setEditorCustomizer(new ListGridEditorCustomizer() {<br />
            public FormItem getEditor(ListGridEditorContext context) {<br />
                ListGridField field = context.getEditField();<br />
                if (field.getName().equals(&quot;l1&quot;)) {<br />
                    NameValueRecord record = (NameValueRecord) context.getEditedRecord();<br />
                    int id = record.getID();<br />
                    switch (id) {<br />
                        case 1:<br />
                            IntegerItem metaAhorro = new IntegerItem();<br />
                            metaAhorro.setCanEdit(true);<br />
                            IntegerRangeValidator integerRangeValidator = new IntegerRangeValidator();<br />
                            integerRangeValidator.setClientOnly(Boolean.TRUE);<br />
                            integerRangeValidator.setMin(1);<br />
                            metaAhorro.setValidators(integerRangeValidator);<br />
                            metaAhorro.setValidateOnExit(Boolean.TRUE);<br />
                            return metaAhorro;<br />
                        default:<br />
                            return context.getDefaultProperties();<br />
                    }<br />
                }<br />
           }<br />
        });<br />
<br />
Best regards</div>

]]></content:encoded>
			<category domain="http://forums.isomorphic.com/forumdisplay.php?f=14"><![CDATA[Smart GWT Technical Q&A]]></category>
			<dc:creator>nachopo81</dc:creator>
			<guid isPermaLink="true">http://forums.isomorphic.com/showthread.php?t=26601</guid>
		</item>
		<item>
			<title>BatchUploader unsuccessful uploading 4000 records</title>
			<link>http://forums.isomorphic.com/showthread.php?t=26600&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 16:50:16 GMT</pubDate>
			<description><![CDATA[I'm trying to use BatchUploader to accept a CSV file and upload that data into a PostgreSQL 9.2.2 database. 
 
I started with the Power 2013-03-06...]]></description>
			<content:encoded><![CDATA[<div>I'm trying to use BatchUploader to accept a CSV file and upload that data into a PostgreSQL 9.2.2 database.<br />
<br />
I started with the Power 2013-03-06 nightly build and the moved to  v8.3p_2013-05-12/PowerEdition Deployment (built 2013-05-12). I didn't get it to work with either build.<br />
<br />
I'm testing with Firefox 20.0.1 talking to Tomcat 7.0.33.<br />
<br />
If I upload a csv file with around 1000 records/rows. Everything seems to work fine. When I upload a csv file with around 4000 records/rows, the 'Upload' batchUploader function will read the file and propulate the listGrid. The 'Commit' function will take a while, will give me several 'script not responsive' prompts, and eventually come back with the 'Records added' popup, but the records were never added.<br />
<br />
When it is unsuccessful I see these messages on the Developer Console after pressing the 'Commit' button:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">11:19:49.048:INFO:RPCManager:rpcResponse(upload)[update]: result: object[status=0]<br />
11:28:28.910:MUP4:INFO:RPCManager:sendQueue[14]: 4063 RPCRequest(s); transport: xmlHttpRequest; target: http://172.30.1.158:8080/krv/streetsmart1/sc/IDACall?isc_rpc=1&amp;isc_v=v8.3p_2013-05-12&amp;isc_xhr=1<br />
11:30:39.907:MOU7:DEBUG:RPCManager:XMLHttpRequest POST to http://172.30.1.158:8080/krv/streetsmart1/sc/IDACall?isc_rpc=1&amp;isc_v=v8.3p_2013-05-12&amp;isc_xhr=1 contentType: application/x-www-form-urlencoded; charset=UTF-8 with body --&gt;isc_tnum=14&amp;_transaction=&lt;transaction xmlns:xsi=&quot;http://www.w3.org/2000/10/XMLSchema-instance&quot; xsi:type=&quot;xsd:Object&quot;&gt;&lt;transactionNum xsi:type=&quot;xsd:long&quot;&gt;14&lt;/transactionNum&gt;&lt;operations xsi:type=&quot;xsd:List&quot;&gt;&lt;elem xsi:type=&quot;xsd:Object&quot;&gt;&lt;values xsi:type=&quot;xsd:Object&quot;&gt;&lt;cycle&gt;01&lt;/cycle&gt;&lt;sequencenumber&gt;20&lt;/sequencenumber&gt;&lt;meterid&gt;**********&lt;/meterid&gt;&lt;route&gt;000001&lt;/route&gt;&lt;name&gt;*************&lt;/name&gt;&lt;street&gt;*****************&lt;/street&gt;&lt;siteid&gt;0000200&lt;/siteid&gt;&lt;longitude&gt;-**.*******&lt;/longitude&gt;&lt;latitude&gt;**.*******&lt;/latitude&gt;&lt;identifier&gt;*******&lt;/identifier&gt;&lt;/values&gt;&lt;operationConfig xsi:type=&quot;xsd:Object&quot;&gt;&lt;dataSource&gt;amrSiteUpload&lt;/dataSource&gt;&lt;operationType&gt;add&lt;/operationType&gt;&lt;/operationConfig&gt;&lt;appID&gt;builtinApplication&lt;/appID&gt;&lt;operation&gt;amrSiteUpload_add&lt;/operation&gt;&lt;oldValues xsi:type=&quot;xsd:Object&quot;&gt;&lt;cycle&gt;01&lt;/cycle&gt;&lt;sequencenumber&gt;20&lt;/sequencenumber&gt;&lt;meterid&gt;**********&lt;/meterid&gt;&lt;route&gt;000001&lt;/route&gt;&lt;name&gt;*************&lt;/name&gt;&lt;street&gt;*****************&lt;/street&gt;&lt;siteid&gt;0000200&lt;/siteid&gt;&lt;longitude&gt;-**.*******&lt;/longitude&gt;&lt;latitude&gt;**.*******&lt;/latitude&gt;&lt;identifier&gt;*******&lt;/identifier&gt;&lt;/oldValues&gt;&lt;/elem&gt;...<br />
...(3535729 bytes truncated).&nbsp; Enable RPCManagerResponse log at same threshold to see full message.<br />
11:30:40.847:XRP0:INFO:RPCManager:transaction 14 arrived after 131936ms<br />
11:30:40.850:XRP0:DEBUG:RPCManager:Result string for transaction 14: &quot;&lt;HTML&gt;&lt;BODY&gt;&lt;SCRIPT&gt;parent.isc.RPCManager.retryOperation(window.name);&lt;/SCRIPT&gt;&lt;/BODY&gt;&lt;/HTML&gt;&quot;<br />
11:30:41.094:XRP0:INFO:RPCManager:rpcResponse(unstructured) results --&gt;&quot;&lt;HTML&gt;&lt;BODY&gt;&lt;SCRIPT&gt;parent.isc.RPCManager.retryOperation(window.name);&lt;/SCRIPT&gt;&lt;/BODY&gt;&lt;/HTML&gt;&quot;&lt;--<br />
11:30:41.095:XRP0:INFO:RPCManager:rpcResponse(unstructured) results --&gt;&quot;&lt;HTML&gt;&lt;BODY&gt;&lt;SCRIPT&gt;parent.isc.RPCManager.retryOperation(window.name);&lt;/SCRIPT&gt;&lt;/BODY&gt;&lt;/HTML&gt;&quot;&lt;--<br />
...<br />
11:30:41.777:XRP0:INFO:RPCManager:rpcResponse(unstructured) results --&gt;&quot;&lt;HTML&gt;&lt;BODY&gt;&lt;SCRIPT&gt;parent.isc.RPCManager.retryOperation(window.name);&lt;/SCRIPT&gt;&lt;/BODY&gt;&lt;/HTML&gt;&quot;&lt;--<br />
11:30:41.778:XRP0:INFO:RPCManager:rpcResponse(unstructured) results --&gt;&quot;&lt;HTML&gt;&lt;BODY&gt;&lt;SCRIPT&gt;parent.isc.RPCManager.retryOperation(window.name);&lt;/SCRIPT&gt;&lt;/BODY&gt;&lt;/HTML&gt;&quot;&lt;--</code><hr />
</div>Note that I replaced personal information in the output with '*'. I also truncated the repetative parts of the output.<br />
<br />
The data source is fairly simple. It included fields from two different postgreSQL tables. A Server side method performs the insert into each table and if the entry already exists, it updates the data instead. There are log messages at the begining for the methods. When doing 1000 entries I see the log messages in the log. With 4000 entries, I don't see the log messages in the log. I don't believe my server side methods are being called.<br />
<br />
The RPC log shows the DSRequests and has them marked as successful.<br />
<br />
Note that when the upload is unsuccessful, I don't see any exceptions or error messages.<br />
<br />
Thanks,<br />
Kevin</div>


	<br />
	<div style="padding:6px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://forums.isomorphic.com/images/attach/jpg.gif" alt="File Type: jpg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://forums.isomorphic.com/attachment.php?attachmentid=5675&amp;d=1368809261">BatchUploaderRPC.jpg</a> (94.7 KB)</td>
</tr>
			</table>
			</fieldset>
	

	

	</div>
]]></content:encoded>
			<category domain="http://forums.isomorphic.com/forumdisplay.php?f=14"><![CDATA[Smart GWT Technical Q&A]]></category>
			<dc:creator>valerien</dc:creator>
			<guid isPermaLink="true">http://forums.isomorphic.com/showthread.php?t=26600</guid>
		</item>
		<item>
			<title><![CDATA[Issue with "emptyCellValue" showing in group and grid summary lines]]></title>
			<link>http://forums.isomorphic.com/showthread.php?t=26599&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 16:38:40 GMT</pubDate>
			<description>Hello, 
 
I noticed that if I set a value to a ListGrid to be displayed in cells whose values are null, using setEmptyCellValue method, this value...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I noticed that if I set a value to a ListGrid to be displayed in cells whose values are null, using setEmptyCellValue method, this value will be displayed also in both group and listGrid summary lines of fields that are not set to show values in summary lines.<br />
<br />
You can reproduce the problem in the following showcase example:<br />
<a href="http://www.smartclient.com/smartgwt/showcase/#grid_summaries" target="_blank">http://www.smartclient.com/smartgwt/...grid_summaries</a><br />
by addind the following line of code:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">listGrid.setEmptyCellValue(&quot;-&quot;);</code><hr />
</div>If you compile this example using smartclient 2.5p LGPL 2013-05-02 [v8.1p_2013-05-02/LGPL Development Only (built 2013-05-02)], you will see that the empty cell value is be displayed in group summary line [attached file gridSummary_8.1p.jpg].<br />
If you compile it with 3.1p LGPL 2013-05-02 [v8.3p_2013-05-02/LGPL Development Only (built 2013-05-02)] it will be shown in both group and grid summary lines [attached file gridSummary_8.3p.jpg].<br />
E.g. although &quot;quantityField&quot; listGridField has showGroupSummary and showGridSummary set to false, empty cell value is shown in summary lines.<br />
<br />
A temporary workaround would be to set emptyCellValue directly to each ListGridField instead of setting it to ListGrid.<br />
<br />
I have tested it with the following GWT, SmartGWT and browser versions on Windows 7 and Ubuntu 12.10:<br />
 <br />
GWT 2.5.0.<br />
SmartClient Version: 2.5p LGPL 2013-05-02 [v8.1p_2013-05-02/LGPL Development Only (built 2013-05-02)] and <br />
3.1p LGPL 2013-05-02 [v8.3p_2013-05-02/LGPL Development Only (built 2013-05-02)].<br />
Firefox 21.0, Chrome 23.0.1271.95, Internet Explorer 9.0.8112.16421.<br />
 <br />
Thanks</div>


	<br />
	<div style="padding:6px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://forums.isomorphic.com/images/attach/jpg.gif" alt="File Type: jpg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://forums.isomorphic.com/attachment.php?attachmentid=5673&amp;d=1368808368">gridSummary_8.3p.jpg</a> (74.7 KB)</td>
</tr><tr>
	<td><img class="inlineimg" src="http://forums.isomorphic.com/images/attach/jpg.gif" alt="File Type: jpg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://forums.isomorphic.com/attachment.php?attachmentid=5674&amp;d=1368808379">gridSummary_8.1p.jpg</a> (40.6 KB)</td>
</tr>
			</table>
			</fieldset>
	

	

	</div>
]]></content:encoded>
			<category domain="http://forums.isomorphic.com/forumdisplay.php?f=14"><![CDATA[Smart GWT Technical Q&A]]></category>
			<dc:creator>vagkavan</dc:creator>
			<guid isPermaLink="true">http://forums.isomorphic.com/showthread.php?t=26599</guid>
		</item>
		<item>
			<title>getBackgroundColor () after setBackgroundColor (null) does not work</title>
			<link>http://forums.isomorphic.com/showthread.php?t=26598&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 15:30:53 GMT</pubDate>
			<description>Using: 
GWT 2.5.0 
SmartGWT 3.1p-2012-11-23 
SmartClient Version: v8.3p_2012-11-23/LGPL Development Only (built 2012-11-23) 
FF 19, IE 9, Chrome 26 
...</description>
			<content:encoded><![CDATA[<div>Using:<br />
GWT 2.5.0<br />
SmartGWT 3.1p-2012-11-23<br />
SmartClient Version: v8.3p_2012-11-23/LGPL Development Only (built 2012-11-23)<br />
FF 19, IE 9, Chrome 26<br />
<br />
Problem:<br />
Call layout.setBackgroundColor (&quot;red&quot;); // turns background color to red as expected<br />
Call layout.getBackgroundColor (); // returns &quot;red&quot; as expected<br />
<br />
Call layout.setBackgroundColor (null); // turns background color to white as expected<br />
Call layout.getBackgroundColor (); // returns &quot;red&quot;, but should return null<br />
<br />
In this sample, click Red then click Null, and I see:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">00:02:24.207 [INFO] setBackgroundColor (). color: red, layoutBackgroundColorBefore: null, layoutBackgroundColorAfter: red<br />
00:02:27.072 [INFO] setBackgroundColor (). color: null, layoutBackgroundColorBefore: red, <br />
layoutBackgroundColorAfter: red</code><hr />
</div>Sample code:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">public class SetBackgroundColor implements EntryPoint {<br />
<br />
&nbsp; // my attributes<br />
&nbsp; private final VLayout layout = new VLayout ();<br />
<br />
&nbsp; /**<br />
&nbsp;  * The EntryPoint interface<br />
&nbsp;  * http://forums.smartclient.com/showthread.php?p=94385<br />
&nbsp;  */<br />
&nbsp; public void onModuleLoad() {<br />
<br />
&nbsp; &nbsp; // add a button that makes the background red<br />
&nbsp; &nbsp; final IButton buttonRed = new IButton ();<br />
&nbsp; &nbsp; buttonRed.setTitle (&quot;Red&quot;);<br />
&nbsp; &nbsp; buttonRed.addClickHandler (new ClickHandler () {<br />
&nbsp; &nbsp; &nbsp; public void onClick (final ClickEvent clickEvent) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; setBackgroundColor (&quot;red&quot;);<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; });<br />
<br />
&nbsp; &nbsp; // add a button that shows a dialog with a canvas with no opaticy set<br />
&nbsp; &nbsp; final IButton buttonNull = new IButton ();<br />
&nbsp; &nbsp; buttonNull.setTitle (&quot;Null&quot;);<br />
&nbsp; &nbsp; buttonNull.addClickHandler (new ClickHandler () {<br />
&nbsp; &nbsp; &nbsp; public void onClick (final ClickEvent clickEvent) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; setBackgroundColor (null);<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; });<br />
<br />
&nbsp; &nbsp; // add<br />
&nbsp; &nbsp; layout.addMember (buttonRed);<br />
&nbsp; &nbsp; layout.addMember (buttonNull);<br />
&nbsp; &nbsp; layout.draw ();<br />
&nbsp; }<br />
<br />
&nbsp; /**<br />
&nbsp;  * Uniformly sets the background color and logs debug data<br />
&nbsp;  * @param color<br />
&nbsp;  */<br />
&nbsp; private void setBackgroundColor (final String color) {<br />
<br />
&nbsp; &nbsp; final String layoutBackgroundColorBefore = layout.getBackgroundColor ();<br />
&nbsp; &nbsp; layout.setBackgroundColor (color);<br />
&nbsp; &nbsp; final String layoutBackgroundColorAfter = layout.getBackgroundColor ();<br />
&nbsp; &nbsp; GWT.log (<br />
&nbsp; &nbsp; &nbsp; &quot;setBackgroundColor (). color: &quot; + color + &quot;, &quot; +<br />
&nbsp; &nbsp; &nbsp; &quot;layoutBackgroundColorBefore: &quot; + layoutBackgroundColorBefore + &quot;, &quot; +<br />
&nbsp; &nbsp; &nbsp; &quot;layoutBackgroundColorAfter: &quot; + layoutBackgroundColorAfter);<br />
&nbsp; }<br />
}</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://forums.isomorphic.com/forumdisplay.php?f=14"><![CDATA[Smart GWT Technical Q&A]]></category>
			<dc:creator>shortpasta</dc:creator>
			<guid isPermaLink="true">http://forums.isomorphic.com/showthread.php?t=26598</guid>
		</item>
		<item>
			<title>IntegerRangeValidator - ErrorMessage - Question</title>
			<link>http://forums.isomorphic.com/showthread.php?t=26597&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 14:28:42 GMT</pubDate>
			<description><![CDATA[hi, 
 
how can I set the MIN and MAX error message in IntegerRangeValidator. I only found integerRangeValidator.setErrorMessage(""), but I need...]]></description>
			<content:encoded><![CDATA[<div>hi,<br />
<br />
how can I set the MIN and MAX error message in IntegerRangeValidator. I only found integerRangeValidator.setErrorMessage(&quot;&quot;), but I need different messages with MIN or MAX.<br />
<br />
best regards,<br />
mirko</div>

]]></content:encoded>
			<category domain="http://forums.isomorphic.com/forumdisplay.php?f=14"><![CDATA[Smart GWT Technical Q&A]]></category>
			<dc:creator>ex70375</dc:creator>
			<guid isPermaLink="true">http://forums.isomorphic.com/showthread.php?t=26597</guid>
		</item>
		<item>
			<title>SelectItem Empty Value and Picklist Grouping</title>
			<link>http://forums.isomorphic.com/showthread.php?t=26596&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 13:34:23 GMT</pubDate>
			<description>Hi, 
 
I have a SelectItem that accepts empty value. Hence setAllowEmptyValue is set to true. The SelectItem uses a custom picklist to show values...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I have a SelectItem that accepts empty value. Hence setAllowEmptyValue is set to true. The SelectItem uses a custom picklist to show values using grouping. Obviously the empty value added by SGWT to the list of values does not have any value for the grouped field which results in this empty value to be displayed within a group named &quot;- none -&quot;. Is is possible to have this empty value showed without a group (keeping the other values grouped) or at least to alter the empty-group name to an empty String ?<br />
<br />
Some fields of the empty value received a non empty-value (see Name field in the figure that has the value &quot;0_0&quot; ?).<br />
<br />
Thanks, Ben</div>

]]></content:encoded>
			<category domain="http://forums.isomorphic.com/forumdisplay.php?f=14"><![CDATA[Smart GWT Technical Q&A]]></category>
			<dc:creator>bda@n-side.com</dc:creator>
			<guid isPermaLink="true">http://forums.isomorphic.com/showthread.php?t=26596</guid>
		</item>
		<item>
			<title>Issue with multiple summary functions</title>
			<link>http://forums.isomorphic.com/showthread.php?t=26595&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 12:41:27 GMT</pubDate>
			<description>Hello,  
 
I noticed that there is a problem if both setSummaryFunction and addSummaryFunction methods are called to set multiple summary functions...</description>
			<content:encoded><![CDATA[<div>Hello, <br />
<br />
I noticed that there is a problem if both setSummaryFunction and addSummaryFunction methods are called to set multiple summary functions in GridSummary for a ListGridField.<br />
<br />
You can see the problem in the following showcase example:<br />
<a href="http://www.smartclient.com/smartgwt/showcase/#grid_ml_summaries" target="_blank">http://www.smartclient.com/smartgwt/...d_ml_summaries</a><br />
In GridMultiLineSummariesSample.Java you have set a &quot;First Order&quot; SummaryFunction for the &quot;shipDateField&quot; using setSummaryFunction method and a &quot;Last Order&quot; SummaryFunction using addSummaryFunction, but as you can see only &quot;Last Order&quot; SummaryFunction is included in grid summary of your example.<br />
<br />
A workaround until you fix it would be to set both summary functions using the addSummaryFunction method.<br />
<br />
I have tested it with the following GWT, SmartGWT and browser versions on Windows 7 and Ubuntu 12.10:<br />
 <br />
GWT 2.5.0.<br />
SmartClient Version: 3.1p LGPL 2013-05-02 [v8.3p_2013-05-02/LGPL Development Only (built 2013-05-02)].<br />
Firefox 21.0, Chrome 23.0.1271.95, Internet Explorer 9.0.8112.16421.<br />
 <br />
Thanks</div>

]]></content:encoded>
			<category domain="http://forums.isomorphic.com/forumdisplay.php?f=14"><![CDATA[Smart GWT Technical Q&A]]></category>
			<dc:creator>vagkavan</dc:creator>
			<guid isPermaLink="true">http://forums.isomorphic.com/showthread.php?t=26595</guid>
		</item>
		<item>
			<title>SC9 and Selenium Web Driver</title>
			<link>http://forums.isomorphic.com/showthread.php?t=26594&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 12:30:18 GMT</pubDate>
			<description>Some colleagues found an odd behaviour with webdriver where the findElements method is unable to locate the warning message dialog button. It...</description>
			<content:encoded><![CDATA[<div>Some colleagues found an odd behaviour with webdriver where the findElements method is unable to locate the warning message dialog button. It normally has the locator “scLocator=//Dialog[ID=\&quot;isc_globalWarn\&quot;]/okButton/”<br />
<br />
When we use the findElement() method however, it locates it just fine - is this intended behaviour?</div>

]]></content:encoded>
			<category domain="http://forums.isomorphic.com/forumdisplay.php?f=13"><![CDATA[Technical Q&A]]></category>
			<dc:creator>acarur01</dc:creator>
			<guid isPermaLink="true">http://forums.isomorphic.com/showthread.php?t=26594</guid>
		</item>
		<item>
			<title>PickTreeItem does not show its PickerIcon when set as Listgrid.FilterEditorType</title>
			<link>http://forums.isomorphic.com/showthread.php?t=26593&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 11:41:12 GMT</pubDate>
			<description>1. SmartClient Version: v8.3p_2013-05-17/LGPL Development Only (built 2013-05-17) 
 
2. Firefox 3.6.17 
 
3. 
 
4. 
 
5.</description>
			<content:encoded><![CDATA[<div>1. SmartClient Version: v8.3p_2013-05-17/LGPL Development Only (built 2013-05-17)<br />
<br />
2. Firefox 3.6.17<br />
<br />
3.<br />
<br />
4.<br />
<br />
5.<br />
<br />
6. sample code:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">package pl.com.tech4.client;<br />
<br />
import com.google.gwt.core.client.EntryPoint;<br />
import com.google.gwt.user.client.DOM;<br />
import com.smartgwt.client.data.DataSource;<br />
import com.smartgwt.client.data.DataSourceField;<br />
import com.smartgwt.client.util.SC;<br />
import com.smartgwt.client.widgets.form.DynamicForm;<br />
import com.smartgwt.client.widgets.form.fields.PickTreeItem;<br />
import com.smartgwt.client.widgets.form.fields.PickerIcon;<br />
import com.smartgwt.client.widgets.form.fields.events.FormItemClickHandler;<br />
import com.smartgwt.client.widgets.form.fields.events.FormItemIconClickEvent;<br />
import com.smartgwt.client.widgets.grid.ListGrid;<br />
import com.smartgwt.client.widgets.grid.ListGridField;<br />
import com.smartgwt.client.widgets.layout.VLayout;<br />
<br />
public class MainEntryPoint implements EntryPoint {<br />
&nbsp;  <br />
&nbsp; &nbsp; public void onModuleLoad() {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; DOM.getElementById(&quot;loadingPicture&quot;).removeFromParent();<br />
&nbsp; &nbsp; &nbsp; &nbsp; layout();<br />
&nbsp; &nbsp; &nbsp; &nbsp; SC.showConsole();<br />
&nbsp; &nbsp; }<br />
&nbsp;  <br />
&nbsp; &nbsp; private void layout() {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; DataSource ds = new DataSource();<br />
&nbsp; &nbsp; &nbsp; &nbsp; DataSourceField fieldId = new DataSourceField();<br />
&nbsp; &nbsp; &nbsp; &nbsp; fieldId.setName(&quot;id&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; fieldId.setPrimaryKey(true);<br />
&nbsp; &nbsp; &nbsp; &nbsp; DataSourceField fieldParentId = new DataSourceField();<br />
&nbsp; &nbsp; &nbsp; &nbsp; fieldParentId.setName(&quot;parentId&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; fieldParentId.setForeignKey(&quot;id&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; ds.setFields(fieldId, fieldParentId);<br />
&nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; PickTreeItem parentIdItem = new PickTreeItem(&quot;parentId&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; PickerIcon clearPickerIcon = new PickerIcon(PickerIcon.CLEAR);<br />
&nbsp; &nbsp; &nbsp; &nbsp; clearPickerIcon.addFormItemClickHandler(new FormItemClickHandler() {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; public void onFormItemClick(FormItemIconClickEvent event) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; event.getItem().clearValue();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; });<br />
&nbsp; &nbsp; &nbsp; &nbsp; parentIdItem.setIcons(clearPickerIcon);<br />
&nbsp; &nbsp; &nbsp; &nbsp; parentIdItem.setEmptyDisplayValue(&quot;A bug?&quot;);<br />
&nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; ListGrid lg = new ListGrid();<br />
&nbsp; &nbsp; &nbsp; &nbsp; lg.setShowFilterEditor(true);<br />
&nbsp; &nbsp; &nbsp; &nbsp; lg.setWidth(200);<br />
&nbsp; &nbsp; &nbsp; &nbsp; ListGridField lgf = new ListGridField(&quot;parentId&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; lgf.setFilterEditorType(parentIdItem);<br />
&nbsp; &nbsp; &nbsp; &nbsp; lg.setFields(lgf);<br />
&nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; lg.setDataSource(ds);<br />
&nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; DynamicForm df = new DynamicForm();<br />
&nbsp; &nbsp; &nbsp; &nbsp; df.setFields(parentIdItem);<br />
&nbsp; &nbsp; &nbsp; &nbsp; df.setDataSource(ds);<br />
&nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; VLayout layout = new VLayout();<br />
&nbsp; &nbsp; &nbsp; &nbsp; layout.addMember(lg);<br />
&nbsp; &nbsp; &nbsp; &nbsp; layout.addMember(df);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; layout.draw();<br />
&nbsp; &nbsp; }<br />
&nbsp;  <br />
}</code><hr />
</div>clearPickerIcon is shown, when this PickTreeItem is a part of DynamicForm (although some horizontal alignment problems can be seen).<br />
The same PickTreeItem shows no picker when drawn as a Listgrid filter editor.<br />
Please see the screen shoot attached.<br />
MichalG</div>


	<br />
	<div style="padding:6px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://forums.isomorphic.com/images/attach/png.gif" alt="File Type: png" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://forums.isomorphic.com/attachment.php?attachmentid=5669&amp;d=1368790753">pickTree.png</a> (6.2 KB)</td>
</tr>
			</table>
			</fieldset>
	

	

	</div>
]]></content:encoded>
			<category domain="http://forums.isomorphic.com/forumdisplay.php?f=14"><![CDATA[Smart GWT Technical Q&A]]></category>
			<dc:creator>michalg</dc:creator>
			<guid isPermaLink="true">http://forums.isomorphic.com/showthread.php?t=26593</guid>
		</item>
		<item>
			<title>how to set initialData on treeGrid</title>
			<link>http://forums.isomorphic.com/showthread.php?t=26592&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 11:13:11 GMT</pubDate>
			<description>Hello, 
 
Using 
** Smart GWT Forum  
I am using the following 
SmartClient Version: v8.3p_2013-04-19/PowerEdition Deployment (built 2013-04-19) 
 
...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
Using<br />
** Smart GWT Forum <br />
I am using the following<br />
SmartClient Version: v8.3p_2013-04-19/PowerEdition Deployment (built 2013-04-19)<br />
<br />
<br />
GWT 2.5.1<br />
<br />
I have read the documentation and am starting a new thread with the specific related to TreeGrid.  <br />
<br />
I see that the initial data takes an array of TreeNodes.  I would like to get the data from mysql.  I tried using a ResultSet, but it did not seem to get all the data (by design per documentation of Result Set).  What is the correct way to get all the data on a request?  So I can set the initial data in my tree grid?<br />
<br />
Evan</div>

]]></content:encoded>
			<category domain="http://forums.isomorphic.com/forumdisplay.php?f=14"><![CDATA[Smart GWT Technical Q&A]]></category>
			<dc:creator>esmith</dc:creator>
			<guid isPermaLink="true">http://forums.isomorphic.com/showthread.php?t=26592</guid>
		</item>
		<item>
			<title><![CDATA[Multiple DataSources don't lead to correct updateURLs ?]]></title>
			<link>http://forums.isomorphic.com/showthread.php?t=26591&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 10:03:40 GMT</pubDate>
			<description><![CDATA[Hello, 
 
I've built a listGrid, on which I have added a tabbedSet with dynamicForms, listgrids etc. 
All of these sub"Forms" are created and loaded...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I've built a listGrid, on which I have added a tabbedSet with dynamicForms, listgrids etc.<br />
All of these sub&quot;Forms&quot; are created and loaded via a DataSource each.<br />
<br />
The problem is, I updated from GWT 2.5.0 to GWT 2.5.1 and to SmartGWT 4.0 and since then, when I try to download the modified values to the server, via an updateURL, I encounter a totally weird behavior:<br />
<br />
only one DataSource is updated each time, while in SaveButton/ onClick event I include code for both forms. i.e.<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">passwdForm.setSaveOperationType(DSOperationType.UPDATE);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; passwdForm.saveData();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; userDetailsForm.setSaveOperationType(DSOperationType.UPDATE);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; userDetailsForm.saveData();</code><hr />
</div>Also, each DataSource has its own definitions for OperationBindings for FETCH and UPDATE, with the appropriate fetchURLs &amp; updateURLs.<br />
<br />
After several efforts, I managed to get it working, and it seemed it had stuck somehow, but since I stopped / started server and deployed source code, the problem appeared again: Only one DataSource Update is executed.<br />
<br />
Has anybody come across such a behavior?</div>

]]></content:encoded>
			<category domain="http://forums.isomorphic.com/forumdisplay.php?f=14"><![CDATA[Smart GWT Technical Q&A]]></category>
			<dc:creator>bug</dc:creator>
			<guid isPermaLink="true">http://forums.isomorphic.com/showthread.php?t=26591</guid>
		</item>
	</channel>
</rss>
