You're almost done :-)
You can't use
@com.mantra.draw2d.Home.client:: checkLogin()()
in you handwritten javascript.
this notation can only be used from JSNI methods.
but as you did in your class, you can exposes these methods :
private static native void checkLogin(Home x)/*-{
$wn
The same problem I was having a few days ago...
Well gwt abstracts web applications not as a multiple interlinked
pages but as widgets and panels like a desktop GUI framework. You can
add widgets to panels, switch panels in frames etc...
What I did in my case is somewhat like this
1. Create a c
you should use cookies.
On 8 Ocak, 19:48, "todd.sei...@gmail.com"
wrote:
> I had tried something similar only I was trying to move my textboxes
> into a popup after the GWT app loaded. Not recalling the exact error
> message, I can tell you that it was a problem with GWT not having
> created the
Pham Tran Quoc Viet schrieb:
> By the way, I could not find RemoteServiceException in GWT doc. So, I
> assume it's your custom exception, right?
That's correct. But it's nothing very secret happening there so I
can post it here without being sent to the south-east-end of Cuba ;-)
--snip
/**
Ahmet Meric schrieb:
> you should use cookies.
How do Cookies and the autocomplete-functionality of a browser
work together? The OP was not talking about the "remember
my login"-feature some sites offer but the autocomplete-feature
of many browsers that prefill the fields with entries that have
b
Hi Guys,
I am working on a gwt project, I want to add servlets to the same
project, how to do that. I mean gwt source files are in src/client and
the when we compile the class files are in bin folder, but for
servlets the the class files has to go in the WEB-INF/classes/
servlets. I dont know how
The hosted comes with its ownMozilla distrib.
In your GWT folder, you have a mozilla-1.7.12/ folder.
and a "plugins" subfolder
I just did a :~/dev/gwt-linux-1.5.3/mozilla-1.7.12$ cp
/usr/lib/firefox/plugins/libflashplayer.so plugins/
and flash works.
However, I'm in a 32 bits version of Ubuntu.
r
On Fri, Jan 9, 2009 at 1:52 PM, A Friend Of Yours wrote:
>
> The same problem I was having a few days ago...
>
> Well gwt abstracts web applications not as a multiple interlinked
> pages but as widgets and panels like a desktop GUI framework. You can
> add widgets to panels, switch panels in frame
Hi Cameron,
Using a Frame is a good idea - thanks.
It turns out that both using my code and a Frame causes the same
error. It only occurs in hosted mode. If I compile the project from
the command line, and run outside of hosted mode, it works (except
that a Frame as you suggest works better than
Hi there,
Can you post your error for the class not found?
Eggsy
On Jan 8, 8:04 pm, Aka ray wrote:
> Hello everybody.
> Im new in using gwt.
>
> Almost everything is working but when I compile my project to run it
> on an external Browser, I get a ClassnotFoundException when I try to
> connect
Hi Klapfer,
Make sure that your jbdc postgres driver jar file is added to
the referred libraries when you use eclipse as an IDE during the development
phase and once you build your project war file for deploying in the browser,
check that jar file is included in the lib directory with
Another problem.
When user click on album component, application make a GWT-RPC call to
a servlet wich return a list of image content on abum directory.
List is a String array.
But, when I upload a new image, it's not shown.
Only when i click on reload button on GWT browser, new image are shown.
check out http://toools.org ... we have a howto there in the wiki to
connect to postgres ...
cheers
On Jan 8, 9:04 pm, Aka ray wrote:
> Hello everybody.
> Im new in using gwt.
>
> Almost everything is working but when I compile my project to run it
> on an external Browser, I get a ClassnotFoun
check out http://toools.org ... we are using JPA there with
netbeans ... which is basically ant ...
cheers
On Jan 7, 6:26 pm, tophtfc wrote:
> Hi,
>
> My application builds and works fine in hosted mode, but I am having
> trouble getting my application to compile using Ant. Im using GWT with
>
maybe you want to go with toplink, which IMHO much better, more agile
and a lot faster than hibernate ...
check out http://toools.org ... check the wiki for some doc ...
cheers
On Jan 7, 6:14 am, "pallavi gole" wrote:
> Hi,
>
> I am new to GWT.
>
> I want develop web application using GWT,Spri
we have some validation on the client side within our toools
project ... it is a so called business object panel where you can put
in attributes and rules ... check out http://toools.org
On Jan 6, 2:52 pm, manish wrote:
> Is there any framework which can validate the user inputs at the
> client
Hi Martin,
It looks cool , I will try and create some test apps by using those
tools,
It will be help for me in my projects,
Thanks, for your incredible information.
Thanks,
-Venky.
On Fri, Jan 9, 2009 at 3:57 PM, Martin wrote:
>
> check out http://toools.org ... we have a
Hi,
Did anybody implemented Scrollable table with header fixed. we are
already having one GWT table developed for our application but now we
need to enhance this table in order to have scrolling functionality
with fixed header.
quick reply will be highly appreciated. Any example code will really
if you want to take a look at a toplink JPA based solution, check out
http://toools.org
cheers
On Dec 3 2008, 11:13 am, Dessorry
wrote:
> Hi,
> I'm trying to build my first GWT application; i would read data from a
> database and display it on a simple gwt page.
> I create in Eclipse my Web Dyn
Anybody implemented scrollable Flex table. Please send your inputs
what will be the strategy to develop such a component
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this grou
we are doing it successful with toplink JPA ... check out http://toools.org
cheers
On Dec 18 2008, 12:31 am, Smith wrote:
> All,
>
> With GWT 1.5, is it possible to send the persistent hibernate entities
> directly to the client, without creating separate client side
> objects? I know it's not
check out the incubator project , it might give u an idea of how to go about
wrting something like scrollable table
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, se
Hello , i tried to do something similar.
Its not possible to set two listeners for the box right?
Because i add right afterwards the Clicklistener the Keyboard Listener
and it didnt work.
I have to use a more abstract listener , event listener , and put
inside both onClick and onKeyPress?
--~
Just use two tables - one for the header and another one in a
scrollpanel for the data. Both in the verticalPanel.
On 9 Jan., 12:23, Manish Gupta wrote:
> Anybody implemented scrollable Flex table. Please send your inputs
> what will be the strategy to develop such a component
--~--~-~--
Use Ant to build a jar-file where your whole project is saved. Look in
this group for more infos about Ant(or maven but Ant is kind of easier
for small projects).
On 9 Jan., 09:39, Calix wrote:
> Hi Guys,
>
> I am working on a gwt project, I want to add servlets to the same
> project, how to do
Hi all,
Thanks for developing a great product like GChart which integrates so
easily with GWT and works like charm. I had a query - I want to draw a
chart where I can click on any point along the x-y axis to determine
the point cordinates in model units. Once I get that, I can do an
addPoint() to
Hi group!
I developed an application in GWT and when deployed in tomcat (Mac OS)
I get the following breakdown.
applicationDispatcher.allocateException=Except for booking space for
servlet
The same application to the deployment of Windows and Apache Tomcat is
fine for me.
Why might that be?
--~
Hi...
i want to build a Read-Only Textarea, with HTML interpretation,
somethink like a middle way between a HTMLPanel and a Textarea. In
fact i want to have the textbox behaviours: Scrollbars, CSS-Style (can
use the textbox-class of couse) and the the "special" text marking
with Strg+a (in a text
sry for the late answer , but thank you
i ll try it and i ll let u know.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups
what I do is: have a hidden html-form in my html page:
in my entry-point I simply read those values and set them into my gwt-
text and gwt-password fields.
if the html values are empty, my gwt-fields will also be empty
Based upon your search criteria, it would seem that learning Flex is
more marketable and therefore would be a better choice.
However, if you are interested in creating solutions that are easier
to code, easier to maintain and easier to integrate (when coming from
a Java background), GWT is a bett
hi..
if i want to create a main menu for my web application, what all widgets can
i use to achieve this..?
thanx and regards
--
Sahil
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To
I'd like to know how I can go about creating the look and feel of an
app with GWT that looks and behaves like Google Reader.
Has anyone done an article about what widgets/components were/can be
used to get the layout etc.
I've played with GWT, but not sure how to go about this. Any help
appreci
Hi,
1. Is there a Widget corresponding to a SPAN element?
2. Is there a way to create a widget from an existing SPAN element in an
HTML page?
3. How can I add a click listener to a SPAN element?
Thanks
Fred
--~--~-~--~~~---~--~~
You received this mess
1. Not sure but I don't think so
2. Get the span and shove it in an HTML widget
3. Get the content of the span and shove it in an HTML widget. Add a click
listener to the HTML widget. Clear the content of the span. Stick the HTML
widget in the span.
You might also find it useful to subclass Label
You can use a servlet context listener to initialize your application
too.
On Jan 8, 12:20 pm, Brad Larson wrote:
> Hello friends,
>
> What is the best way to run code on my server when my servlet is
> loaded? I'd like to do some database initialization work which the
> servlet is expecting. I
Maybe a menu bar ?
http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/MenuBar.html
:-)
2009/1/9 Sahil Dave
> hi..
>
> if i want to create a main menu for my web application, what all widgets
> can i use to achieve this..?
>
> thanx and regards
>
> --
> Sahil
On Fri, Jan 9, 2009 at 8:00 PM, olivier FRESSE wrote:
> Maybe a menu bar ?
> http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/MenuBar.html
> :-)
>
>
> yes, i am using the menu bar. i want to create a single command reference
and resolve all menu selections in
Hello ,
i spent some hours checking how History could be beneficial and how it
can be implemented.
I have some questions though on how it can be set up to work properly.
At first i have a 2 level - Tab panel , Every initial node has
children. By using the following code from Ian's site.
...
...
Hi,
You have got a Java compiler error, so I think you should include
hibernate-annotations.jar in ant comipler classpath (hibernate4gwt
just provide annotation emulation for GWT).
Regards
Bruno
On 7 jan, 18:26, tophtfc wrote:
> Hi,
>
> My application builds and works fine in hosted mode, but
Thanks jhulford!
A servlet context listener seems to be the perfect solution. Is there
a GWT-approved way to register one with the hosted-mode Tomcat
server? I searched the forums a bit, but only found a few hacks:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/23373cff5
Can anyone please help me with this?
Thanks,
~Alfred
On Jan 8, 3:10 pm, Alfred S wrote:
> This might seem like a silly question, but I've been unable to find an
> answer...
>
> Where do I attach a KeyboardListener that would affect either:
> -A DialogBox [pop up a dialog box, press a button, tr
Hi,
Gilead (formely known as hibernate4gwt) provides a GWT-Spring-
Hibernate sample application and tutorial on its usage.
see http://gilead.sourceforge.net for more details.
Regards
Bruno
On 9 jan, 11:31, Martin wrote:
> maybe you want to go with toplink, which IMHO much better, more agile
>
menu.addItem(...) returns the created MenuItem instance, ie the one added in
the menu.
MenuItem aboutUsItem = menu.addItem("About Us", cmd);
and then
if(menu.getSelectedItem() == aboutUsItem)
should work.
2009/1/9 Sahil Dave
>
>
> On Fri, Jan 9, 2009 at 8:00 PM, olivier FRESSE
> wrote:
>
Instructions from
http://www.gwt-ext.com/wiki/index.php?title=Tutorial:Introduction_to_GWT-Ext_2.0
should help.
Satya
On Jan 9, 1:32 am, Dev wrote:
> Hi,
>
> I am new to GWT-Ext
> When doing the sample program and runing the shell.
>
> Getting error message as Cannot find resource in the publi
First remember that #0 and #3 are not pages. Check out
http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/History.html#fireCurrentHistoryState()
to see how you can invoke the current history when your app reloads
History for a full UI is rather complex. Consider m
I'm having trouble calling RPC in shell hosted mode.
Currently I have a simple login page that use rpc to validate the user/
password. And when I tried running with shell hosted mode, it always
give me an onFailure() Error "ERROR"
final AsyncCallback callback = new AsyncCallback() {
Use can extend the Label class and call super(Document.get
().createSpanElement()) in you constructor.
On Jan 9, 9:00 am, "Ian Bambury" wrote:
> 1. Not sure but I don't think so
> 2. Get the span and shove it in an HTML widget
>
> 3. Get the content of the span and shove it in an HTML widget. Ad
is com.sun.dmt.admin.server.login.LoginServiceImpl in the classpath of the
hosted browser ?
If you use the Tomcat instance of the hosted browser, that should be enough.
2009/1/9 joe young
>
> I'm having trouble calling RPC in shell hosted mode.
>
> Currently I have a simple login page that use
where is the classpath of the hosted browser?
there is no classes in /tomcat directory, do i need to copy the
classes to /tomcat//webapps/ROOT/WEB-INF/classes/ ??
On Jan 9, 11:36 am, "olivier FRESSE" wrote:
> is com.sun.dmt.admin.server.login.LoginServiceImpl in the classpath of the
> hosted
hello guys,
at first i thank you all for the big feedback!
I solved the problem :) I have asked friend who helped me
thank you all
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To
Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to
google-web
Hi,
Is any possible that GWT's Java2JavaScript could compile ThreadLocal
in future ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolki
Hi all,
When i try to save some data, i keep getting the
"BaseEmrException : Unknown entity : com.abc. .. .DetailsVo." I
make use of the saveOrUpdate(Vo) function to save the data into the
database. I ensured that the emr.hbm.xml file is proper. Can anyone
please let me know why this error
hi,
According to GWT documentation (http://code.google.com/support/bin/
answer.py?hl=en&answer=78126), it should be possible to use
java.io.Serializable instead of IsSerializable interface.
But for me even the simpliest classes cannot be serialized when I
switch from IsSerializable to Serializable
Joe Cole's explanation works. JavaDocs are invaluable (http://google-
web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/
ui/HTMLTable.html)
Try DOM.getElementPropertyInt(htmlTable.getCellFormatter().getElement
(cellIndex, rowIndex), "offsetWidth");
On Jan 9, 12:12 pm, sssmac
This sounds like a Hibernate issue. Is DetailsVo in you class path?
On Jan 9, 5:10 am, abhiram wrote:
> Hi all,
>
> When i try to save some data, i keep getting the
> "BaseEmrException : Unknown entity : com.abc. .. .DetailsVo." I
> make use of the saveOrUpdate(Vo) function to save the da
On Fri, Jan 9, 2009 at 9:12 PM, olivier FRESSE wrote:
> menu.addItem(...) returns the created MenuItem instance, ie the one added
> in the menu.
>
> MenuItem aboutUsItem = menu.addItem("About Us", cmd);
>
> and then
> if(menu.getSelectedItem() == aboutUsItem)
> should work.
>
>> i am not able to
Well, first let me tell yo that I am new to GWT myself. So, I might
not be right all the time. (But I have done and tested already what I
said earlier)
Now
--that means i require just a single EntryPoint class..! I am trying
to
--create my web app's main menu using a MenuBar, and a major area
bel
Are you deploying the gwt.rpc files from compilation? You should see
an error about this before the SerializationException.
On Fri, Jan 9, 2009 at 7:17 AM, tomekp wrote:
>
> hi,
> According to GWT documentation (http://code.google.com/support/bin/
> answer.py?hl=en&answer=78126), it should be p
Did you define your servlet in web.xml that is located in your NetBeans
project directory's web\WEB-INF?
Ex.
Login
xxx.xxx.server.LoginServiceImpl
Login
/xxx.xxx.xxx/LoginService
If you deploy your project by WAR file, you just need to copy WAR
cobracbh schrieb:
> Is any possible that GWT's Java2JavaScript could compile ThreadLocal
> in future ?
To what? Inside the browser, there is only one Thread running.
Regards, Lothar
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t
Hi Patrick,
If the problem is indeed deployment configuration, I would recommend
checking out the doc linked below and comparing your configuration to the
ones prescribed.
Example Deployment with Tomcat:
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t
I tried the strategy below and it seemed to work for me.
On Jan 7, 4:15 pm, "qqch...@gmail.com" wrote:
> My thought is just to find some other modal popup and use that instead
> of Window.alert.
>
> Anyone else with thoughts?
--~--~-~--~~~---~--~~
You received thi
Hello everyone,
Just a note that you would probably want to use hosted mode with the
-noserver option before bulking up the server-side on the embedded Tomcat
server. A few reasons to do this:
1) The embedded Tomcat server is somewhat custom built, meaning you can't
expect everything that would w
On Fri, Jan 9, 2009 at 10:17 AM, Lothar Kimmeringer wrote:
> cobracbh schrieb:
>> Is any possible that GWT's Java2JavaScript could compile ThreadLocal
>> in future ?
>
> To what? Inside the browser, there is only one Thread running.
That doesn't necessarily mean ThreadLocal doesn't make
sense--T
On Fri, Jan 9, 2009 at 11:31 PM, A Friend Of Yours wrote:
>
> In the case of MenuItem, I can use Command for the same purpose.
>
> MenuItem item = new MenuItem("Click Me", new Command() {
>public void execute() {
>// Do the navigation here
>containerSimplePanel.setWidget(new So
Hi..
i am getting the following errors in console while trying to open web app in
hosted mode
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb4c4f7c7]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb4c4f891]
#2 /usr/lib/libX11.so.6(_XReply+0x254) [0xb4feb494]
#3 /ho
Yes, i did define in tomcat/webaps/ROOT/WEB-INF/web.xml
LoginService
com.sun.dmt.admin.server.login.LoginServiceImpl
LoginService
/com.sun.dmt.admin.DMTAdmin/login
and i copied the build/.../classes/ directory to tomcat/webaps/ROOT/
WEB-
Hi Mogoye,
Try explicitly setting the size of the PushButton to that of the image. ,For
example, if your image is 64 x 64, call pushButton.setSize("64px", "64px");
and it should be sized appropriately. I tested this out in hosted mode on
Windows XP / GWT 1.5.3 / IE6 by placing a PushButton in a Ho
How to get the horizontal scroll bar to appear for ScrollTable?
I implemented tables using ScrollTable from GWT Incubator, the table
is being used by multiple panels. In one scenario, the table is wide,
I used ScrollTable.ResizePolicy.FLOW for it, so text doesn't overlap
when the space is small.
Hi,
I have two filters defined that are getting called on startup because
two servlets that I have defined are being called, and its not clear
to me why. Does GWT load and make calls to servlets during startup?
Doesn't seem like it should, but maybe I'm missing something...
Thanks,
Mark
--~--~-
Thanks for taking the time to explain it so carefully. You are a good
person.Thanks again, Lothar.
Viet Pham
On Fri, Jan 9, 2009 at 12:28 AM, Lothar Kimmeringer wrote:
>
> Pham Tran Quoc Viet schrieb:
>
> > By the way, I could not find RemoteServiceException in GWT doc. So, I
> > assume it's yo
Hi guys,
I'd like to integrate a captcha into my registration page, so I
thought I'd ping the community to see what other people are using and
what their recommendations are for a Java/Servlet implementation?
I've tried JCaptcha. It's a good project and straightforward to use,
but I've found the
> Flex is a bit of an anomally, it's not Javascript really, but it's not
> Java based either. When it comes down to what the choice is it's
> simple: is it valuable to your development process to have a second
> language stack in your solution? If your server side is Java, your
> client side is
Hello sjn456,
You're completely right. That's precisely why the previous behaviour was
corrected. It's browser security policies that restrict making calls to
other domains or ports. If we allowed these in hosted mode, we would be
setting developers up for a break once they go to production. What'
I'm getting the following error while trying to run our application on
Glassfish High Availability server Version 9.1.
However the same application runs well on Glassfish Version 9.1
Developer edition.
Can anyone help?
[#|2009-01-09T14:32:37.858-0800|SEVERE|sun-appserver9.1|
javax.enterprise.
We are using GWT 1.5.3.
On Jan 9, 2:38 pm, GWTFan wrote:
> I'm getting the following error while trying to run our application on
> Glassfish High Availability server Version 9.1.
>
> However the same application runs well on Glassfish Version 9.1
> Developer edition.
>
> Can anyone help?
>
> [#
I have a multiple selection list box and when the page loads, I don't
want any item to be selected. I gave setselectedIndex(-1) and that
didn't work on IE. Is there any other way to do this?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are sub
Hi all,
I've been developing an application with two different modules, one
for the application itself and another one for a generic
administration panel that I can reuse for other applications.
I create a jar file containing the class and the java files of the
administration panel in the same di
Hi,
My engineering team took the last month to use GWT to implement new
pages for our UI. We had a world of trouble around interactions with
Spring & Hibernate. It was bad enough that the main GWT advantage
(productivity increases from easier debugging) was not realized.
Likewise, we had some is
You assume that I need someone to put constraints on a development
tool that will protect me. I do not need the protection and promise
not to complain if I somehow release code that doesn't work in the web
browser versus what I need to test in debug mode.
It is also reasonable to make the default
Hi All,
We developed a p2p micro-lending platform using GWT - http://www.rangde.org
We've also developed a theme generator for GWT - http://works.sen-sei.in/gtg
Things that we are looking forward to in GWT and related areas are
1. API for developing opensocial applications
2. Seamless integra
getSelectedItem is protected method. You can't access it unless you
are extending MenuBar. So, it might not go that way. I guess you need
a separate Command for each of the MenuItem.
On Jan 10, 12:11 am, "Sahil Dave" wrote:
> On Fri, Jan 9, 2009 at 11:31 PM, A Friend Of Yours
> wrote:
>
>
>
> >
http://recaptcha.net/
Regards,
Krishna
On Jan 10, 2:03 am, DanielC wrote:
> Hi guys,
>
> I'd like to integrate a captcha into my registration page, so I
> thought I'd ping the community to see what other people are using and
> what their recommendations are for a Java/Servlet implementation?
>
85 matches
Mail list logo