smartgwt

smartGWT: How to increase the TabPanel Header's Width

孤街浪徒 提交于 2019-12-22 09:40:22
问题 I have created a tabPanel in smartGWT, Attached is the screenshot I am trying to increase my tab headers width or to make my header name place vertically so that the names "company information " and "relations" can be visible in one line I have use this widget http://www.smartclient.com/smartgwt/showcase/#layout_tabs_orientation Any idea how can i increase my tab header's width or to make the headers title type vertically thanks 回答1: For controlling the tabs' thickness(i.e. width) use: tabset

How to debug GWT client side code on jboss

∥☆過路亽.° 提交于 2019-12-20 06:43:10
问题 I'm starting with GWT and smartgwt, and I realized that when your code works on jetty will no necessarily work on Jboss. Is there a way that I can debug exceptions or any kind of error when something on the client side fails, the jboss console says nothing. I was wondering if I can get the jetty window attached to the app when it is running on jboss. I'm using Netbeans, jboss 5.1 UPDATE: Thanks for your help, I've been using com.google.gwt.logging.Logging and it works pretty nice, but I was

Smart Gwt components are not rendered in html div tag

我是研究僧i 提交于 2019-12-20 03:54:08
问题 I am using smart GWT to develop my application, to create the structure of the application I am using GWT components. The HTML code snippet is as below: <div class="container"> <div id="pagePanel" ></div> </div> In my pagePanel div all the components are added. As I add components dynamically in the pagePanel div, the pagePanel div does not enlarge as per the size of the added component and the added smart gwt components overflows the pagePanel div. So I need to give css to each and every div

Tree - drag&drop nodes - refresh?

六眼飞鱼酱① 提交于 2019-12-20 03:21:46
问题 I have a problem related to a smartgwt Tree structure. I'm creating a Tree (called nodesTree ) with values from a DB, and each node has a name set up. For ex I'm having 4 nodes (the numbers are the names of the nodes): 1 2 3 4 for (TreeNode node : nodesTree.getAllNodes()) System.out.print(node.getName()); Output: 1 2 3 4 If I drag node 4 under node 1(at the same level as 2) 1 2 4 3 I want to have the order of nodes: 1 2 4 3 but if I repeat the above "for" statement the output will be the same

open/save file in smartGWT

佐手、 提交于 2019-12-19 11:46:17
问题 I have implemented RPCService, RPCServiceAsync & RPCServieImpl. On clicking a button a service in server side will be called and it will fetch data from DB and file is created. Once the file is created, then i need to open that file in client side and need to prompt a dialog box with open/save options. how can i implement this opening a file part. pls suggest a way to implement t.. Reply pls.. thanks in advance.... @Hambend : I still have one more clarification !.. how to call this doGet

Print preview from multiple iframes?

蹲街弑〆低调 提交于 2019-12-19 09:49:43
问题 I have several iframes in a page. I want to show in a print preview all the iframe contents as snapshots of iframes. I used window.print() for individual iframes, and it's working fine, but how do I do it for multiple frames? 回答1: You need to focus all frames one-by-one and merge in print report. You can achieve it, with this code: HTML : <button id="printButton" onclick="javascript:printPage()" >Print this page</button> <h1 id='header'><b>Awesome Print Report</b></h1> <iframe id="ifr1" src=

GWT,Smart GWT,GWT-ext comparison

笑着哭i 提交于 2019-12-14 02:33:39
问题 I am using GWT 2.0.3 with ext in my application.This project is no longer under active development and has been superseded by Smart GWT.I am using HMVC pattern for this application. Now with existing GWT 2.0.3 and ext version I am getting many issues.Issues are related to the followinng things. Browser Compatibility HTML 5 Compliance Mobile Compatibility Resolution Independence Loading Speed Control Richness Fews days back GWT 2.3 version also released.Now I want to move my application

Create tooltip after setting show hover is true

不问归期 提交于 2019-12-13 21:19:33
问题 After setting setShowHover true, how do I create the tooltip? Right now it is a blank tooltip. ListGridField exportField = new IconField(FIELD_EXPORT, REDO_ICON.jpg, EXPORT_CUSTOM_GROUP_HANDLER); exportField.setShowHover(true); Tried exportField.setPrompt("a tooltip message"); , but this did not give every single icon a tooltip when i mouse over it. This a picture showing the tooltip is blank when i hover over the blue-pointer button, the message "a tooltip message" only appear when I hover

GWT - failure on async method call

守給你的承諾、 提交于 2019-12-13 08:47:32
问题 What is the reason why the onFailure(...) method is called when I do a async method call? The console output says always "ERROR!!!!". MyEntryPoint.java: package com.example.smartgwtproject.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.rpc.AsyncCallback; //... public class MyEntryPoint implements EntryPoint { public void onModuleLoad() { GreetingServiceAsync service = (GreetingServiceAsync) GWT.create

SmartGWT - Appengine - 404 not found

本小妞迷上赌 提交于 2019-12-13 06:44:00
问题 Im using smartGWT v2.1 with GWT 2 and Appengine SDK 1.3.0 On localhost, everything works fine! When I deploy everything goes fine too, without any error! The problem is, when i access the the app it returns an blank screen. Using the firebug i saw just nocache.js missing. ErrorLog: GET mika.nocache.js http://perfworker.appspot.com/Mika/mika.nocache.js 404 Not Found perfworker.appspot.com Just to know, the last version of smartGWT should work on AppEngine out of the box? Thanks in advance!