I used NetBeans for my GWT project. Recently I tried to build OOPHM
for using Firefox as my hosted browser. If I put gwt-user.jar into my
WAR package, this ClassNotFoundException occurred. I tried to remove
gwt-user.jar from WAR package, and put it into tomcat's lib folder.
This exception doesn't
.
On Dec 3, 4:42 am, Kevin Tarn [EMAIL PROTECTED] wrote:
I used NetBeans for my GWT project. Recently I tried to build OOPHM
for using Firefox as my hosted browser. If I put gwt-user.jar into my
WAR package, this ClassNotFoundException occurred. I tried to remove
gwt-user.jar from WAR
I also recommend this book.
Kevin
On Mon, Dec 15, 2008 at 8:34 PM, rmuller rmul...@xiam.nl wrote:
Hi Will,
Highly recommended:
http://www.amazon.com/gp/product/0321501969/105-5731162-7905258?ie=UT...
If you are new to GWT, this is all you need.
Regards,
Ronald
You can inherit Label and sink ONCLICK event by add below line in
constructor of inherited class.
void InheritLabelConstructor(String text) {
super(text);
sinkEvents(Event.ONCLICK);
}
void onBrowserEvent(Event event) {
super.onBrowserEvent(event);
if (event.getTypeInt() ==
You can use sinkEvents instead:
Element el = DOM.getElementById(id);
if (el != null)
{
DOM.sinkEvents(el, Event.ONCLICK|Event.ONMOUSEOVER);
}
Best
Kevin
On Mon, Dec 15, 2008 at 8:21 PM, step3...@yahoo.fr
You can try below example:
VerticalPanel vp = new VerticalPanel();
vp.setStyleName(Seperator);
Tool.add(vp); // Tool is your holder of group elements
In your css, please add:
.Seperator {
/* 1px width, solid silver color separator */
background: 1px solid silver;
width: 1px;
...@yahoo.frwrote:
it isn't enough, you need to seteventlistener and sinkevents.
PS : DOM.sinkEvents so disappear in 1.5 !
On 15 déc, 17:41, Kevin Tarn kevn.t...@gmail.com wrote:
You can use sinkEvents instead:
Element el = DOM.getElementById(id);
if (el != null
You can simply inherit ProgressBar to overwrite method generateText. This
method is used to generated text for shown on progress bar. The progress
value can be set dynamically by method setProgress.
You have to set progress bar to be invisible or remove it from parent if you
don't want your user
You can dynamic change Image widget's size by calling setSize.
Kevin
On Tue, Dec 16, 2008 at 11:41 PM, ArunDhaJ arund...@gmail.com wrote:
Please lemme know which widget...
- ArunDhaJ
www.arundhaj.com
--~--~-~--~~~---~--~~
You received this message
it some sort of static variable where after certain methods in
my program have been completed, I update the value of the progress
bar?
Thanks again
Suri
On Dec 15, 8:08 pm, Kevin Tarn kevn.t...@gmail.com wrote:
You can simply inherit ProgressBar to overwrite method generateText
One way you can bridge a javascript function that is inside a JSNI method to
your js function. Ex.:
In a JSNI:
public void foo_wrapper(JNITest obj)
/*-{
@com.client.JNITest::testWrapper = function(str)
{
o...@com.client.jnitest::foo(Ljava/lang/String;)(str);
Did you ever try to use getCellFormatter().setStyleName to give your cell
specific CSS style?
Kevin
On Wed, Dec 17, 2008 at 2:48 AM, mwaschkowski mwaschkow...@gmail.comwrote:
No ideas? Am I the only one that ran into this kind of situation?
On Dec 13, 9:01 am, mwaschkowski
It depends on your application purpose. If you want to keep Dialog instance
for furthur use, you can keep the reference variable not to set it to null.
GWT eases the developer to remember destroying widgets.
When you set a widget's reference to null, GWT will free the resource
automatically.
You need to call FlexTable.addTableListener, and so your operations in
onCellClicked.
Kevin
On Fri, Dec 19, 2008 at 9:13 PM, Fameeda fameeda.tamb...@synerzip.comwrote:
Hi,
We have a flex table and require user to be able to select cells in
it. Multiple cells are also to be selected. Once
It might be not related though. But why do you call sos.flush after
sos.close?
Kevin
On Sat, Dec 20, 2008 at 6:41 AM, L Frohman lfroh...@gmail.com wrote:
Thanks,
my servlet:
public class ThumbnailServlet extends HttpServlet {
private static Log s_logger =
Please follow below link information:
https://gwt4nb.dev.java.net/
Kevin
On Sat, Dec 20, 2008 at 9:19 PM, Venkat venkivo...@gmail.com wrote:
Hi All,
I am new to GWT, I would like to know how to create a website using
GWT in Netbeans, I mean not with controls as we use in Eclipse IDE. I
am
Can you successful run GWT's sample in shell?
Kevin
On Sun, Dec 21, 2008 at 12:46 AM, ArunDhaJ arund...@gmail.com wrote:
They are perfectly intact. Assuming some gwt files got corrupted,
replaced with fresh gwt package and created a new application. But
still the problem persists.
Regards
Did you try to see the request log from tomcat to see which resource caused
HTTP400?
Kevin
On Sun, Dec 21, 2008 at 2:14 AM, ArunDhaJ arund...@gmail.com wrote:
Nope. It too produces same error...
HTTP 400 - Bad request
Regards
ArunDhaJ
The information is too rough. Did you set Tomcat Vavle to get more detail
log? You can refer to below link:
http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html
Kevin
On Sun, Dec 21, 2008 at 11:20 AM, ArunDhaJ arund...@gmail.com wrote:
This is the only log captured in GWT Development
21, 2008 at 11:59 AM, Kevin Tarn kevn.t...@gmail.com wrote:
I think it should not be the cache problem because the GWT's sample project
got the same result according to Arun. He should get into HTTP server to
find out what resource cannot be requested by HTTP server. HTTP 400 comes
from server
I implemented custom button by a DecoratedPanel, and sinkEvents to process
mouse click, over, etc.
Kevin
On Sun, Dec 21, 2008 at 3:09 AM, mbazs mathe.bal...@gmail.com wrote:
Hi,
I'm a beginner in GWT, but I have a problem at this very beginning.
I'd like to create a custom 3D button (a
Glad to know you have solve it.
Kevin
On Mon, Dec 22, 2008 at 7:27 PM, ArunDhaJ arund...@gmail.com wrote:
Hi,
I got this problem fixed.. :-)
I started using gwt with IE6 and later upgraded to IE7. Till then it
was working fine.
3 days back I uninstalled IE7 and this problem started.
Does addTabListener not enough for your requirement?
Kevin
On Mon, Dec 22, 2008 at 10:58 PM, jake H pnosti...@gmail.com wrote:
Hello,
I m creating a simple tabpanel with subpanels like the one follows
TabPanel tpanel = new TabPanel();
tpanel.add(new HTML(tbp),Basic);
Is updatedParameters[i][1] a Date type of object?
Kevin
On Tue, Dec 23, 2008 at 8:02 PM, arnaud arnaud.ago...@atosorigin.comwrote:
Hello every one,
i write this code to format a date
SimpleDateFormat sdf = new SimpleDateFormat (mm/dd/);
String
There is no difference of mapping servlet or GWT-RPC. You can do the same
way to map your servlet in gwt.xml.
Kevin
On Wed, Dec 24, 2008 at 1:44 PM, avd avdheshgupta...@gmail.com wrote:
Hello sir,
Thanks to GWT froups to solve my privious problems,really its very
helpful to develop my
There is no way to get file path from client side due to browser's security
policy. You have to do it via a signed java applet or get it from your
servlet.
Kevin
On Mon, Dec 29, 2008 at 11:52 PM, zilvonias zilvon...@gmail.com wrote:
Hi all!
Is there a way, client-side, to fetch the filepath
You cannot rely on getFilename to return full path of file. It depens on
browser. For example, Firefox did not return full path of it.
Kevin
On Tue, Dec 30, 2008 at 1:12 AM, Lothar Kimmeringer j...@kimmeringer.dewrote:
zilvonias schrieb:
1. User selects a file using the FileUpload widget.
Did you define your servlet in web.xml that is located in your NetBeans
project directory's web\WEB-INF?
Ex.
servlet
servlet-nameLogin/servlet-name
servlet-classxxx.xxx.server.LoginServiceImpl/servlet-class
/servlet
servlet-mapping
Vanilla seems to be blocked for download.
Kevin
On Tue, Jan 13, 2009 at 6:57 PM, Thomas Broyer t.bro...@gmail.com wrote:
On 12 jan, 21:32, Miroslav Genov wrote:
Hello ,
I have a question regarding using of GWT for the creation of a
intranet system for business intelligence. Is GWT
for development and
etc.
Regards,
Miroslav
On Wed, 2009-01-14 at 01:59 -0800, Thomas Broyer wrote:
On 13 jan, 13:10, Kevin Tarn kevn.t...@gmail.com wrote:
Vanilla seems to be blocked for download.
Actually seems like a broken link (and outdated site: Vanilla is now
If the width of HTML is given, is it possible to get the required height to
completely show the HTML content?
Best
Kevin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this
I have a canvas widget. I want to use JSNI to get canvas bitmap by
getImageData method. Is there a way to return getImageData output to Java
byte[]?
Kevin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web
I have a canvas widget. I want to use JSNI to get canvas bitmap by
getImageData method. Is there a way to return getImageData output to
Java byte[]?
Kevin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web
I have solved problem.
Kevin
On Thu, Feb 26, 2009 at 12:45 AM, Kevin Tarn kevn.t...@gmail.com wrote:
I have a canvas widget. I want to use JSNI to get canvas bitmap by
getImageData method. Is there a way to return getImageData output to
Java byte[]?
Kevin
Jason's blog did a good job:
http://lemnik.wordpress.com/2008/07/27/fixing-compilation-in-gwt4nb/
Kevin
On Thu, Feb 26, 2009 at 11:32 PM, Selfish Gene ravurib...@gmail.com wrote:
I am trying to migrate from eclipse to Netbeans as I felt 6.5 more
compelling and the migration is definitely not
.
Are there any entries I can add to gwt.properties that might help me
solve this problem.
On Feb 26, 9:37 am, Kevin Tarn kevn.t...@gmail.com wrote:
Jason's blog did a good job:
http://lemnik.wordpress.com/2008/07/27/fixing-compilation-in-gwt4nb/
Kevin
On Thu, Feb 26, 2009 at 11:32
I got idea from canvas2image.js(http://www.nihilogic.dk/labs/canvas2image/).
So I wrote a JSNI methods as below:
public native String getImageData(int left, int top, int width, int
height) /*-{
var oData =
th...@com.messenger.client.framework.canvas::context.getImageData(left,
top,
Forgot to tell: getImageData method convert raw data to a Windows DIB
format.
Kevin
On Mon, Mar 2, 2009 at 8:52 AM, Kevin Tarn kevn.t...@gmail.com wrote:
I got idea from canvas2image.js(http://www.nihilogic.dk/labs/canvas2image/).
So I wrote a JSNI methods as below:
public native String
times above than the
commented codes. Anything doing wrong?
Kevin
On Wed, Mar 4, 2009 at 6:58 AM, Thomas Broyer t.bro...@gmail.com wrote:
On 3 mar, 23:47, Kevin Tarn kevn.t...@gmail.com wrote:
Yes. That's what I like to do. Could you give an example of retreiving
canvas raw data by GWT
You can try below JSNI methods:
public static native void copyFrom(com.google.gwt.user.client.Element
element) /*-{
$wnd.window.clipboardData.setData('text', element);
}-*/;
public static native void pasteTo(com.google.gwt.user.client.Element
element) /*-{
It was tested in IE and Firefox. I am not sure whether it works on Chrome or
Webkit.
Kevin
On 3/24/09, Dmitry Sterinzat dmitri.sterin...@gmail.com wrote:
Does it work only for IE or it's crossbrowser code?
2009/3/24 Kevin Tarn kevn.t...@gmail.com:
You can try below JSNI methods
It doesn't matter what widget you use for GWT-DnD. The dnd operation can be
configured to any AbsolutePanel. So you can put your Tree and List widget in
one AbsolutePanel, and create a DropController for your Tree widget.
Kevin
On 3/25/09, SerBeys serb...@gmail.com wrote:
I've read about
/3/24 Harish Nair harish1...@gmail.com
Hi Kevin,
This is not working in FF where as its working very well in IE. Please
advice me how to do it on FF as the site is going to run on that.
-
Harry
2009/3/24 Kevin Tarn kevn.t...@gmail.com
It was tested in IE and Firefox. I am not sure
43 matches
Mail list logo