Hi all,
I want to use Spinner for month and year in GWT 1.4.62.
I found google-web-toolkit-incubator.It is having ValueSpinner
functionality.
But google-web-toolkit-incubator works only with GWT 1.5.3 onwards.
Can anyone tell me how to use Spinner with GWT 1.4.62 ?
or can i use
Thanks Alex for your reply
I was trying this idea only but getting an error below...
Do u have any idea?
Thanks Once Again...
Java Model Exception: Java Model Status [Cannot retrieve the attached
javadoc for Object [in Object.class [in java.lang [in C:\Program
You must implement a servlet and then redirect to this servlet with
this code in your GWT code (buttonlistener.click)
String url = GWT.getModuleBaseURL() + export; // + ?
fileToDownload=bob.jpg;
Window.open(url, _SELF, );
And have a look to the search feature of this groupe please !!!
hi all
i want to see the output of gwt-compile as it gives error. but it
always closes immediately. how do i make it pause?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this
Could you state what the reason is you want to use Struts in
combination with GWT ?
On Feb 12, 8:37 am, GWT GWT rdforj...@gmail.com wrote:
Hi ,
I am trying to develp an application using GWT+Struts .
I had search on net But I am not getting tutorial to develop an application
using
ok ... i used pause;
i got this error. tried searching in this forum but got no result. can
someone help me out?
Exception in thread main java.lang.NoClassDefFoundError: com/google/
gwt/dev/GW
TCompiler
Caused by: java.lang.ClassNotFoundException:
com.google.gwt.dev.GWTCompiler
at
Hello for my application I need to add DoubleClickListener,
RightClickListener and ClickListener on each element of my
PagingScrollTable.
Do you know how to do that?
PS : I'm a beginner :p
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hi,
In my project I need to populate a Tree with huge TreeItem and
depending upon the click on the kind of TreeItem I have to do
processing.
I tried using default GWT Tree and TreeItem though they offer lot of
functionality but they are slow as compared to the FastTree.
The problem with
BobM,
See if my thoughts are right.
Assuming I've this entity class:
package myapp.entity;
public class Item {
private int id;
private String productName;
private BigDecimal price;
// getters and setters
}
This class is packaged in a file called entities.jar and because the
I think you're missing gwt-dev-system.jar in your classpath.
---
Felipe Marin Cypriano
Vitória - ES
On Thu, Feb 12, 2009 at 8:16 AM, ytbryan ytbr...@gmail.com wrote:
ok ... i used pause;
i got this error. tried searching in this forum but got no result. can
someone help me out?
You can't do it, as far as I'm aware (I looked up the same topic a
couple of months back). The GWT compiler likes to have all the source
code (including imported modules) for every class it might ever need,
so it can do its aggressive trimming of unused code.
These threads on the the same topic
On Wed, Feb 11, 2009 at 3:34 PM, Ghostcoder thanneer.ma...@gmail.com wrote:
I have created my site using gwt1.5 and I have used gwt google map api
too.When i open my site in the browser I realize that a main.js file
is downloaded from maps.google.com. which is 68 kb(4 sec to download)
and my
Hello there,
I used to play around with HTMLPanels by loading the html source from
the server. The htmls could be some templates, so in the case where i
have a loop over a template, i have duplicate IDs per HTMLPanel
instance.
When using GWT 1.4.6 this used to work smoothly as the HTMLPanel was
ok, it is fixed now :)
i had to replace the whole HTMLPanel class instead of extending it and
overriding its methods :)
I JUST LOVE OPEN SOURCE Projects
regards,
ruds
On Thu, Feb 12, 2009 at 2:28 PM, ruds roud...@gmail.com wrote:
Hello there,
I used to play around with HTMLPanels by loading
Hi,
I would like to know if its possible to add or remove a row
dynamically in a PagingScrollTable.
Thanks,
Debu
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send
Your server should send a request by adding the header Content-
Disposition: attachment; filename=aaa.csv.
If you set the browser's URL using Location.assign(path), your page
will keep being displayed (because it's an attachment) and there won't
be a new popup on the client browser.
On Feb 12,
yup i got a new solution...jExcel..
tahnks for yr reply
On Thu, Feb 12, 2009 at 6:28 PM, alex.d alex.dukhov...@googlemail.comwrote:
No idea actually. My magical powers are not enough to see your problem
without the code ;-) I suggest you start to debug your application.
On 12
Hi,
Does anyone have an idea as to how to sort a PagingScrollTable..I used
a previously given solution here but the column number being returned
was random whereas I would require a specific column number..It would
be of great help if anyone can help me out with this..
Thanks,
Debu
See my comments in line, below ...
Assuming I've this entity class:
package myapp.entity;
public class Item {
private int id;
private String productName;
private BigDecimal price;
// getters and setters
}
This class is packaged in a file called entities.jar and
I am still wanting to get so help on this issue, please.
--~--~-~--~~~---~--~~
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
hi all,
i compiled my gwt application that has rpc in it.
after that i try running it but it gives me
com.google.gwt.user.client.rpc.StatusCodeException: Unable to find/
load mapped servlet class
'com.tribling.gwt.test.mysqlconn.server.MySQLConnServiceImpl'
can someone advices me what is
Hi,
I have a simple question, how can I assign a web link on a widget?
I have an url as http://www.google.it how can I assign this url to a
click on a widget?
Does it exist a simple method to make it possible?
Thanks, bye bye.
--~--~-~--~~~---~--~~
You received
Yes. You can modify the underlying table model and reload the current
page if necessary.
On Thu, Feb 12, 2009 at 7:51 AM, debu deban...@gmail.com wrote:
Hi,
I would like to know if its possible to add or remove a row
dynamically in a PagingScrollTable.
Thanks,
Debu
Don't deploy those jars.
On Thu, Feb 12, 2009 at 9:46 AM, BobM bmar...@bcscomputers.com wrote:
I am still wanting to get so help on this issue, please.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google
I'll test if packaging the DTO classes in another package works.
On Thu, Feb 12, 2009 at 12:42 PM, BobM bmar...@bcscomputers.com wrote:
The client side should not have to change anything. It works with
ItemDTO on its side and sends it back to the server side as required.
Why not? If a
Hello,
I encounter a problem with DateTimeFormat class..., not on my computer
but when my application is deployed on production:
I configured my module to force locale fr_FR like this on my module
properties file:
extend-property name=locale values=fr_FR/
and I put the meta line below
Thanks Preeth. It worked!!!
On Feb 11, 10:29 pm, Litty Preeth preeth.h...@gmail.com wrote:
button.getElement().setId(btn_1);
On Thu, Feb 12, 2009 at 4:45 AM, Ruku ruku...@gmail.com wrote:
Does anyone know how to set the id property of a button? I am adding
buttons to a panel with a for
Any Ideas on this? Thanks.
On Feb 10, 1:56 pm, Ruku ruku...@gmail.com wrote:
Hi,
I am looking for a table like or table widget where I canmovecolumns
up and down on a button click. Is there a widget I could use to get
that functionality?
PS: I am currently using FlexTable to add
hi all,
i wanted to add a java class that retrieve the data from a webpage and
display it on my gwt.
however, i just realised that the additional class contains
java.net.HTTPURLConnection which is not in gwt jre emulation library.
so right now, the application cannot work and can't compile. i
May be you can look at the Anchor widget
On Thu, Feb 12, 2009 at 8:34 PM, Piotre Ugrumov afmul...@gmail.com wrote:
Hi,
I have a simple question, how can I assign a web link on a widget?
I have an url as http://www.google.it how can I assign this url to a
click on a widget?
Does it exist a
thank you all for your reply.
now i understand how to do the save-as dialog. But my servlet is using
RemoteServiceServlet.
can i just use rpc to receive the response? if no, how to implement
httpservlet with remoteserviceservlet?
On Feb 12, 2:01 pm, luisfpg lfpg@gmail.com wrote:
Your
Without knowing your specifics, you have to evaluate what the
additional class is doing. Perhaps there is a GWT compatible class
that performs the same functionality. More than likely, what you want
to do can't be done on the client. Remember: your GWT Java code is
compiled into Javascript
On Wed, Feb 11, 2009 at 4:29 AM, Alex dP (Violet UML Editor, WebVNC...)
alexandre.de.pelleg...@gmail.com wrote:
Congratulation for this release.
Unfortunately, there's still nothing about Maven support. No official
repository, no official plugin I hope this will arrive this
Milestone
Hi I'm trying to work with JSNI and am new with it. I tried the most
basic step to implement the JSNI in GWT class and I'm getting
following error:
Unable to load module entry point class com.myComp.client.MeetingApp
(see associated exception for details)
java.lang.RuntimeException: Could not
I'm starting to learn gwt, but I know something about spring.
- Spring is powerfull with security issues (I recomend that)
- The Spring MVC module is usefull to have a clean separation of the code.
- Spring have a great integration with hibernate, in topics like sessions,
transactions, and
On Thu, Feb 12, 2009 at 8:52 AM, Vish visheshs...@gmail.com wrote:
Hi I'm trying to work with JSNI and am new with it. I tried the most
basic step to implement the JSNI in GWT class and I'm getting
following error:
Unable to load module entry point class com.myComp.client.MeetingApp
(see
Thanks Jorge, for you info.
After a bit more research, I posted a similar question on the Spring
forum, with a bit more detail:
http://forum.springsource.org/showthread.php?t=67423
It a first glance, it appears that Springs MVC is tailored to
traditional form based HTTP GET/POST type web
Well, I just finished changing every single listener i have into
handlers and have to rewrite widgets a little that fires listeners. I
have no idea what to do with the build.xml thing to make it using new
compiler.
On Feb 12, 9:26 am, Scott Blum sco...@google.com wrote:
On Wed, Feb 11, 2009 at
Sorry I figured out the problem the error I was getting was because of
a bad jar file which I removed and that error got resolved. The
function getSomeValue() is called from the onModuleLoad() function
mentoined in my post earlier. The other problem was the return type
was not assigned to any
Hi BobM,
I think part of the problem here is that you seem to be deploying your
application with the gwt-user and gwt-dev-linux JARs. These JARs are only
required during development and build time, but aren't meant for deployment.
Try removing these from the WEB-INF/lib directory when deploying
I am new to GWT and did not find answer to my question in archives.
I would like to be able to configure tomcat lite so it generates the
tomcat log as is the case by default in normal tomcat. At the moment I
am not sure where the tomcat lite files are located and what I need to
change to enable
scripts[i].getAttribute(src) is going to be something like
'myscript.js'
you can't just eval that string. Are you trying to fetch the js and
eval? I'd imagine you need to do that explicitly.
-Jeff
On Feb 12, 2:23 pm, Matt Raible mrai...@gmail.com wrote:
I'm trying to integrate analytics into
I have some of experience working with Spring MVC and Velocity in the view.
With Spring MVC you can send to the view POJOs, and from the client I
receive the data with GET/POST.
you can take a look to this link http://noon.gilead.free.fr/gilead/
maybe can be usefull.
I'm starting to read a book
Bonjour JP,
The problem is not with the DateTimeFormat class. You have to look at
the way dates work in java. A date object is little more than an
offset in milliseconds which happens to be on a give day in the
timezone where the date object has been created. So for example, if
you create it with
Hi,
Also, once Out-Of Process Hosted Mode (OOPHM) comes out, you'll have
more flexibility with the hosted mode browser configuration. You can
read more about how OOPHM is going to work here:
http://code.google.com/p/google-web-toolkit/wiki/DesignOOPHM
In the meantime, you could also edit the
Greeetings,
Like many others, I’m running into a bit of difficulty getting my head
around the asynchronous RPC mindset. I’ve done a substantial amount of
reading in the forums (found the excellent “beer” example) and in
simple cases, I get it, however in more complex cases – I’m finding
I’m
On Thu, Feb 12, 2009 at 12:26 PM, Matthew mtwo...@beakstar.com wrote:
// Return true if the host is reachable from the server
public boolean pingHost(String host){
return pingImp(host);
}
// Return true if the port is open on the host (ping it before
checking)
public
How do I go about fetching the script and then eval'ing it?
Thanks,
Matt
On Feb 12, 11:45 am, jdwyah jdw...@gmail.com wrote:
scripts[i].getAttribute(src) is going to be something like
'myscript.js'
you can't just eval that string. Are you trying to fetch the js and
eval? I'd imagine you
Hi,
As the roadmap mentions, you can expect more details on the features
in the next release (2.0) once 1.6 has been released. And as the bug
details mention, XLIFF support has been accepted for inclusion in
2.0.
In the meantime, have you explored using other tools to convert XLIFF
to Java
Hi,
I don't know if this will help but here are our ant tasks for Netbeans
to support GWT in our environment
Hope this helps,
Nigel.
target name=-gwt-edit-development unless=GWT-PRODUCTION
replaceregexp byline=true
regexp pattern=^.*#GWT_DEVELOPMENT_START.*$/
Just wondering does gwt handle garbage collection.
For example if I attach a widget than later unreference it. Will the
widget listeners/handlers be removed or will it still be trying to
listen for that widget?
--~--~-~--~~~---~--~~
You received this message
We are coming across OutOfMemory error in the RPC serialization code
while returning a large document back to the GWT client. The
environment is IBM WebSphere Process Server, 6.0.2.1, GWT 1.4.62,
server is configured with 1024 MB max memory.
Here is the server log giving details of the RPC call
Same Origin Policy limits you to making XHRs only to the host (same
server, port, and protocol) where the Host Page was loaded ...
That means if your host page is https://foo.com/index.html and you
load the javascript from http://cache.bar.com/some.js you still have
to make your XHRs to
Hello all,
Please I’d appreciate if you could help me. I’ve got a FlexTable and
when I use left , right , up , down keyboard it changes the:
cell’s board to read;
show on a TexBox what keyboard was used.
If enter it changes de cell’s text to the TexBox’s text
All these are working.
Hello everyone,
I have a button and when I click on it, I want the action to run or
invoke a link. Example:
myButton.addClickListener(new ClickListener() {
public void onClick(Widget sender) {
runLink(http://192.168.1.123/abc;);
}
});
What can I use to run the link? I do
js only I guess you could do an Ajax.Request, but in JSNI you don't
have Prototype..
I dunno, I feel like you're descending down the rabbit hole. I wonder
if there's another approach.
-jdwyah
On Feb 12, 3:56 pm, Matt Raible mrai...@gmail.com wrote:
How do I go about fetching the script and
Why would you need prototype? just use RequestBuilder to fetch the
text, and pass the result into your JSNI eval() ...
-jason
On Feb 12, 2009, at 4:17 PM, jdwyah wrote:
js only I guess you could do an Ajax.Request, but in JSNI you don't
have Prototype..
I dunno, I feel like you're
Hi swathi,
You can work
Although I'm not very familiar with the gwt-fabridge library, the project
page indicates that it does offer support for Flash .swf files as well as
Flex .swf files. I suggest taking a deeper look into the library to see how
you might be able to get this setup.
In the
I am trying to use newline characters inside of Labels, but it only
seems to work in the hosted mode. (Doesn't work in FireFox, for
example)
in other words, 'new Label(This is Line1\nThis is Line2\nThis is
Line3)' doesn't seem to work. Any idea how I can get this to work?
thanks...
I have implemented a work around to bring in the failed document via
normal http post and that works fine.
But any insight into the RPC failure and ways to fix that would be
really great.
Regards,
Milind
On Feb 12, 1:30 pm, milind mpaltanw...@gmail.com wrote:
We are coming across OutOfMemory
Try br /
You'll probably have to tell it not to escape html/xml though.
On Thu, Feb 12, 2009 at 7:02 PM, Soren Johnson soren.john...@gmail.comwrote:
I am trying to use newline characters inside of Labels, but it only
seems to work in the hosted mode. (Doesn't work in FireFox, for
example)
Hi Heart Beat,
As Andreas mentioned, you can't currently write GWT application in the
Groove language because the GWT compiler Although I'm not very familiar
coding with Groovy, it seems that using a dynamic language as an abstraction
over another dynamic language would defeat some of the
Hi Fred,
Thanks for reporting the broken link. It's now been fixed to point to the
ScrollTableDemo.
Cheers,
-Sumit Chandel
On Mon, Feb 9, 2009 at 5:32 AM, Arthur Kalmenson arthur.k...@gmail.comwrote:
I recommend just grabbing the source and running the example yourself.
It works fine.
--
The follow-up Client-side GChart 2.41 release adds methods to help
those who need to create points at the mouse location or convert
between client-window (pixel) and chart-data (model) coordinates.
The new LayZLine(tm) Chart Editor on the live demo illustrates how
you can use v2.41's
GChart 2.41 is out and it incorporates a getMouseCoordinate method and
adds an improved version of the simple line chart editor I linked to
above to the Chart Gallery and live demo. Thanks for adding your
request for these features to the GChart issue tracker. See this
related post for more
Hi,
All is working well in my application, and now I am trying to use the -
noserver option. I can successfully deploy the entire application to
Tomcat, and use a (non-GWT hosted) browser, and my entire application
works well.
I have following these instructions to use -noserver:
The cause of this turned out to be because we had a # in the URL (for
GWT's history feature).
http://bugs.adobe.com/jira/browse/SDK-13830
The workaround we used was to load the SWF in the EntryPoint and
setVisible(false). Then on the View that needs it, we setVisible
(true).
Hope this helps
hi team,
i am using GWT 1.5, i need to know how do i load the css file
based on instance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
If I'm in JSNI, I don't have access to the RequestBuilder, do I? If
so, do
you have some example code?
Some options I can think of:
1) Parse the String and look for script src= before calling eval
(). If
src is found, grab the script's location and load it using
RequestBuilder.
2) Add a JS
hi team,
i am using GWT 1.5, i need to know how do i load the css file
based on instance.
Let me elaborate the stuff.
The server jboss contains an instance called application instance.
Inspecting that instance, need to decide which css file to load.
if the instance is xy(say) the css file
I had thought the same, but I remember that there was a reason for
using this technique. ISTR that at least one browser didn't load
images from the server when attached to a parent whose display is
none. I wouldn't stake my life on this being true, as something else
may have been causing that
I guess HTML widget will be better if you want to use br/
On Feb 13, 5:55 am, Ben Tilford bentilf...@gmail.com wrote:
Try br /
You'll probably have to tell it not to escape html/xml though.
On Thu, Feb 12, 2009 at 7:02 PM, Soren Johnson soren.john...@gmail.comwrote:
I am trying to use
Hi all,
Greeting from Roger.
I do not know how to get login user from Windows in GWT. I try solving
this in the way below, unfortunately does not work.
In RemoteServiceServlet,
...
Principal principal = getThreadLocalRequest().getUserPrincipal
() // principal is NULL!!
Figured it out:
/**
* Evaluate scripts in an HTML document. Will eval both script
src=/script
* and scriptjavascript here/scripts.
*
* @param element a new HTML(text).getElement()
*/
public static native void evalScripts(Element element) /*-{
var scripts
Hi,
There is no way to do this with standard GWT apps because the navigators
don't authorize website to get this information. It would be an important
security issue.
If you really want to do that, the best way is to install(if it exists) or
develop a plugin/activex for each navigator you want to
Lex Spoon wrote:
At long last, I have started a wiki page on how to use GWT.runAsync.
It covers the basics, how to use SOYC to iterate to something better,
and a couple of recommended coding patterns.
http://code.google.com/p/google-web-toolkit/wiki/CodeSplitting
Thoughts welcome. Or,
Lex or Bob, can you add something about AsyncProxy to this?
rjrjr
On Thu, Feb 12, 2009 at 7:46 AM, Lex Spoon sp...@google.com wrote:
On Thu, Feb 12, 2009 at 5:28 AM, Paul Robinson ukcue...@gmail.com wrote:
Can you give a code example that shows what would qualify as exclusive,
base or
Author: sp...@google.com
Date: Thu Feb 12 07:47:10 2009
New Revision: 4702
Modified:
wiki/CodeSplitting.wiki
Log:
Simplified the description of leftovers fragments.
Modified: wiki/CodeSplitting.wiki
==
---
Author: br...@google.com
Date: Thu Feb 12 08:17:32 2009
New Revision: 4705
Modified:
trunk/dev/core/src/com/google/gwt/dev/jjs/impl/ReplaceRunAsyncs.java
trunk/user/src/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilder.java
Log:
Reduced the log level of ReplaceRunAsyncs and
Author: j...@google.com
Date: Wed Feb 11 09:33:57 2009
New Revision: 4691
Modified:
branches/snapshot-2009.02.09/branch-info.txt
Log:
Updating branch-info.
Modified: branches/snapshot-2009.02.09/branch-info.txt
==
Author: j...@google.com
Date: Thu Feb 12 08:31:25 2009
New Revision: 4706
Modified:
branches/snapshot-2009.02.09/dev/core/src/com/google/gwt/dev/jjs/impl/ReplaceRunAsyncs.java
branches/snapshot-2009.02.09/user/src/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilder.java
Author: sco...@google.com
Date: Thu Feb 12 09:10:12 2009
New Revision: 4707
Modified:
releases/1.6/dev/core/src/com/google/gwt/dev/HostedModeBase.java
Log:
Update help text to not mention Tomcat specifically.
Modified: releases/1.6/dev/core/src/com/google/gwt/dev/HostedModeBase.java
Author: rj...@google.com
Date: Thu Feb 12 09:28:34 2009
New Revision: 4708
Modified:
releases/1.6/user/src/com/google/gwt/user/client/ui/HasKeyPreview.java
Log:
Adds a redirect to the deprecation on HasKeyPreview
reviewed by: ecc
Modified:
Committed @r4708
http://gwt-code-reviews.appspot.com/4804
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---
Author: j...@google.com
Date: Thu Feb 12 10:04:17 2009
New Revision: 4710
Added:
changes/jat/ihm/dev/core/src/com/google/gwt/dev/util/Name.java
Log:
Left out of previous commit.
Added: changes/jat/ihm/dev/core/src/com/google/gwt/dev/util/Name.java
This is a very welcome metric. I'd love to see this land (assuming the
algorithm is correct, which I didn't actually check :-)
On Thu, Feb 12, 2009 at 12:21 PM, Lex Spoon sp...@google.com wrote:
Code splitting adds a small challenge for anyone monitoring their
overall code size: overall code
On Thu, Feb 12, 2009 at 1:55 PM, Bruce Johnson br...@google.com wrote:
This is a very welcome metric. I'd love to see this land (assuming the
algorithm is correct, which I didn't actually check :-)
It would be good to get the initial download size as well, if we are going
to be getting them
I agree that a handful of metrics like that would be ideal. Two more:
- Min/Max/Avg startup fragment
- Min/Max/Avg of the per-permutation sum of fragments
On Thu, Feb 12, 2009 at 2:04 PM, John Tamplin j...@google.com wrote:
On Thu, Feb 12, 2009 at 1:55 PM, Bruce Johnson br...@google.com
Hey all,
I'd like to propose a feature for a future GWT release: JSNI signature
shortcuts.
==
JSNI references are an advanced feature of GWT. They are also very
brittle and tend to break when the surrounding classes are
refactored. They also depend on the user being
+1 to the concept; need more time to think through the specifics, but it's
needed
On Thu, Feb 12, 2009 at 3:00 PM, Matthew Mastracci matt...@mastracci.comwrote:
Hey all,
I'd like to propose a feature for a future GWT release: JSNI signature
shortcuts.
==
JSNI
Reviewers: jlabanca,
Description:
Adds some more visual tests and some helper methods to create more
visual visual tests still. We love to test don't we :-).
Please review this at http://gwt-code-reviews.appspot.com/2807
Affected files:
Overall it looks good, but I have a few nit picky comments.
http://gwt-code-reviews.appspot.com/2807/diff/1/3
File
reference/code-museum/src/com/google/gwt/museum/client/common/EventReporter.java
(right):
http://gwt-code-reviews.appspot.com/2807/diff/1/3#newcode78
Line 78: HandlerRegistration
On 12-Feb-09, at 1:12 PM, John Tamplin wrote:
I think JSNI references should honor imports and the normal name
resolution process -- that would eliminate much of the wordiness.
Regarding the syntax, I would prefer ::xxx to self::xxx, being more
concise and avoiding ambiguity if a class
Just use 'this' instead of 'self'. 'this' is a Java keyword so it can't be
a classname.
On Thu, Feb 12, 2009 at 3:12 PM, John Tamplin j...@google.com wrote:
I think JSNI references should honor imports and the normal name resolution
process -- that would eliminate much of the wordiness.
On Thu, Feb 12, 2009 at 4:17 PM, Scott Blum sco...@google.com wrote:
Just use 'this' instead of 'self'. 'this' is a Java keyword so it can't be
a classname.
Seems awkward to use this to refer to a class rather than an instance -- I
still prefer just :: to mean the same class.
--
John A.
I prefer :: also, but if you need another reserved Java keyword, you
could use 'class', e.g. class::foo
-Ray
On Thu, Feb 12, 2009 at 1:21 PM, John Tamplin j...@google.com wrote:
On Thu, Feb 12, 2009 at 4:17 PM, Scott Blum sco...@google.com wrote:
Just use 'this' instead of 'self'. 'this'
Author: j...@google.com
Date: Thu Feb 12 13:41:20 2009
New Revision: 4712
Modified:
changes/jat/ihm/dev/core/src/com/google/gwt/dev/HostedModeBase.java
changes/jat/ihm/dev/core/src/com/google/gwt/dev/cfg/ModuleDef.java
http://gwt-code-reviews.appspot.com/2807/diff/1/3
File
reference/code-museum/src/com/google/gwt/museum/client/common/EventReporter.java
(right):
http://gwt-code-reviews.appspot.com/2807/diff/1/3#newcode78
Line 78: HandlerRegistration r;
On 2009/02/12 20:17:30, jlabanca wrote:
can you use a
I filed issue 3358 to track this feature:
http://code.google.com/p/google-web-toolkit/issues/detail?id=3358
On 12-Feb-09, at 2:23 PM, Ray Cromwell wrote:
I prefer :: also, but if you need another reserved Java keyword, you
could use 'class', e.g. class::foo
-Ray
On Thu, Feb 12, 2009 at
99 matches
Mail list logo