I've started looking at some external GWT libraries for animations, but they all seemd a bit overkill for what i want.
I'm trying to mimic JQuery Tools scrollabel plugin in GWT for a scrolling navigation (think iphone). User clicks an item, page scrolls to the child panel of that item, which may also have children that can be clicked.
...
Hi I have defined a custom widget:
public class BookingArea extends Composite
{
...
}
which contains some smartgwt widgets.
From my entrypoint class I add x amount of this widgets inside a VStack.
I now want to remove some of the widgets from VStack as something like this:
Canvas members[] = vStack.getMembers();
for (int i = 0; i < me...
I am using SmartGWT and I have a ListGrid populated with an array of ListGridRecords using the setData() call. I am trying to update a progress property of a single record (on a timer for testing) and have it update in the browser. I have tried various combinations of draw(), redraw(), markForRedraw() etc. to no avail.
I also tried ...
Besides the obvious differences between JavaScript and Java, what are the relevant differences in using either SmartClient or SmartGWT?
...
Hi all,
I am asking this here in the hope that someone has maybe come across this situation too... I have posted this on the SmartGWT forum:
I am having an issue when trying to instantiate a ListGridRecord object on my server side. I am using the ListGrid on the client side, I want to use GWT's RPC to pass back an array of ListGridReco...
You can leave space for a scrollbar with
grid.setLeaveScrollbarGap(bool)
but I wonder if there is a way to force a scrollbar to be shown all the time?
...
How to place a control at the center of a canvas?
I have a main VLayout set to 100%width and 100% haight. I want to place a grid at the center of this layout, meaning at the center of the browser' viewport. How to do that with smartGWT layouts?
setLayoutAlign(Alignment.CENTER)
This places the controls center to the layout's breadth a...
I am getting the following error when retrieving data from a rest data source
00:00:52.439 [ERROR] 01:46:57.001:RDQ1:WARN:ResultSet:isc_ResultSet_1 (created by: isc_CustomerDocGrid_0):get: invalid index -1
com.smartgwt.client.core.JsObject$SGWT_WARN: 01:46:57.001:RDQ1:WARN:ResultSet:isc_ResultSet_1 (created by: isc_CustomerDocGrid_0):ge...
My question is close to this one: Digester: Extracting node name
Even with the answer, I can't find out.
Here is my xml file (from smartgwt RestDataSource POST):
<data>
<isc_OID_14>
<attribute1>value1</attribute1>
<attribute2>value2</attribute2>
</isc_OID_14>
</data>
I would like to create, with Commons Digester, the fol...
Hi there!
I'm new in smartGWT and I'm getting problems designing my client. I'd like to know if there is a way to center a form.
I have a TabSet in my page. I would like to make the first tab ("Welcome") similar to Google search engine, with the search box centered in the pane. The setAlign(Alignment.CENTER) method doesn't for this typ...
Hi all,
I'm using SmartGWT/SmartClient LGPL, I can't use the Pro, due to project ties.
I would like to create a RestDataSource from a jdbc connection, to be exposed from the server to the SmartGWT client.
How could it be done?
Any help is greatly appreciated.
...
Since February this year I have been working on an app that's built using SmartGWT components. Generally, I find the components very nice to work with, and the fact that they're open source and free to use is just fantastic. However, I can't seem to shake the feeling that it's not a durable way of developing, but I can't quite explain wh...
I am using smartgwt,when i tried to load huge data my explorer is not running.getting an error message that "A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?"
...
Can someone please explain to me how paging works in SmartGWT?
I see it working in the showcase, but I just can't find it documented anywhere. (The information in the javadocs far from sufficient to understand what's going on.)
I have a ListGrid, and a custom DataSource that interacts with my server.
Let's say I want to set a page siz...
Hello all:
How do operationIds work when calling a smartGWT fetch operation?
I have the following simple Datasource, and below it the code that calls that datasource. However, the operationId is never acknowledged, and the first fetch operation is always executed...
<DataSource ID="cartDS" serverType="sql" tableName="cart">
<fields>
...
I have been using UIBinder on SmartGWT widgets rather successfully.
However, I have to extend each SmartGWT widget that I use to comply with UIBinder's requirement. Occasionally, I have to masquerade a SmartGWT widget into com.google.gwt namespace, or masquerade a non-GWT-widget as a GWT widget. I extend widgets on as-needed basis.
So, ...
I've been developing a travel planning site - tripgrep.com - which is built on appengine, GWT and smartgwt, among other technologies. It is still early days, and the site is now working well on my development environment, which is either a windows or mac computer.
However, I am frequently talking up the website to my friends when we...
When using GWT 2.0.x and SmartGWT 2.2
Code as simple as:
public class SmartGwtTest implements EntryPoint {
public void onModuleLoad() {
IButton button = new IButton("say hello");
}
}
will generate the exception.
com.google.gwt.core.client.JavaScriptException: (null):
This only happens in hosted (devmode)
ant ...
I'm searching a way to populate a ListGrid with an XML response from a server.
This is an example of my server response:
<?xml version="1.0" encoding="UTF-8"?>
<tbody id="tbody">
<tr>
<word>The</word>
<frequence>12</frequence>
</tr>
<tr>
<word>best</word>
<frequence>3</frequence>
</tr>
.....
I am referring to XML data schema as detailed here: http://www.w3schools.com/schema/default.asp.
When I retrieve data from the database and submit it to the client, there are text fields which I wish to retain as uneditable display/read only fields.
For example, hypothetically in the following sequence,
<xsd:element ....
<xsd:element ...