I am using GWT 1.6.4, with OS WinXP, Browser : IE6, IE7, FF
I want to create dynamic properties file as per user requirement.
On server side, I am creating a properties file in the Folder -
\war\WEB-INF\classes\com\abcProject\client\abc.properties
I have made entries in abc.GWT.xml file
when i load data to form to edit, how i set selected item in listbox
by value
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
I am getting the same error, is there a solution yet?
--~--~-~--~~~---~--~~
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
Somehow the reference to the original post got lost strange:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/e39670388248ada8
On 20 Mai, 09:38, DanielK dkim...@googlemail.com wrote:
I am getting the same error, is there a solution yet?
Got it.
But the bad part is that, if I specify the servlets in module.xml only,
then the hosted mode gives me warning that they should be in web.xml.
So it looks like I will have to have the servlets specified in both
module.xml and web.xml,
even though I do not need them when I ship my
Hi,
I am new to GWT.We have a requirement to hide a button based on the
role of the user.
We are able to get the correct data from the database based on SOP
statements but invariably it is getting overwritten elsewhere.
Is there a way where I can add this role that we get from the DB to
add it
Hi,
I am trying to compile my project in windows xp professional and it
take around 15 min to compile, where as the same code when I try to
compile on Solaris it takes around 100 min to compile the same exact
code.
Does any of you encountered this issue or any suggestion. Here is my
build
On 20 mai, 10:21, Ramanathan rama...@gmail.com wrote:
Got it.
But the bad part is that, if I specify the servlets in module.xml only,
then the hosted mode gives me warning that they should be in web.xml.
So it looks like I will have to have the servlets specified in both
module.xml and
were you read my post?
--~--~-~--~~~---~--~~
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
I'm not sure if I understand you, do you want to create dynamically
new files (property or any other) inside a deployed war?
It's impossible, you don't know how the server manage the WAR files
(usually it decompresses it in a temporal folder), you'll need to
access to the deploy directory (using
Hi again,
thanks for your fast reply. Your Tip was very useful, even though the
mentionend method was not available for me as i didn't switch to 1.6
yet.
Nonetheless, i understood the technique and implemented it with
onTabSelected.
Thanks a lot
George
On 14 Mai, 16:06, Salvador Diaz
Hi All,
i just wanted to know anyway I can set tooltip text only to certain
cells in a Grid??
I saw setTitle()..but thats for the entire Grid
Any advise welcome
Thanks
Suren
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Im using java.security and commons-codec-1.3 jar for passwprd hashing.
but im unable to inherit those jars. I always get a compilation error
that the required module is not inherited. How to inherit external
jars even when they are included in ur lib folder and classpath. Or
does gwt provides any
Thnxfor the reply. what do u mean by specific? can u explain it a lil
bit clearly please? what wrong im doing in the above code? Can u give
me an working example please
On May 12, 11:30 am, Paul Grenyer paul.gren...@gmail.com wrote:
IIRC GWT doesn't like serializing Object. You need to use
Hi all,
I am developing a password hashing approach for my project. I first
convert my password string into a MD5 String and and send it across to
the server side where i compare it with the MD5 string saved in the
database.
I used a code for doing the string conversion to MD5 at client
Oh forgot to mention something important...
I have to be able to add/subtract dates aswell... Back to using
Calendar object I guess?
On 19 Maj, 20:29, Dalla dalla_man...@hotmail.com wrote:
Thanks, that seems like a better solution :-)
On 19 Maj, 17:26, Salvador Diaz
Thanks a lot Thomas !
That worked.
--~--~-~--~~~---~--~~
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,
Hi,
I am tring to use Class.forName at cleint for object creation and
getting the following exception.
[ERROR] Line 196: The method forName(String) is undefined for the type
Class
[ERROR] Line 197: The method newInstance() is undefined for the type
Class
Can't we use it?
Any possible way
hello,No you cannot use it, bc java reflection is not supported.
The alternative is to use GWT.create(yourClass.class) and deffered binding.
On Wed, May 20, 2009 at 2:27 PM, Pints rohitvad...@gmail.com wrote:
Hi,
I am tring to use Class.forName at cleint for object creation and
getting the
On May 19, 4:40 pm, Miguel Méndez mmen...@google.com wrote:
Wow. That seems pretty strict. Seems like you should be able to get a
waiver for that... otherwise it's a productivity killer.
I'm not that familiar with the security app, but it usually asks if I
want to allow app A to run app B
On 20 mai, 12:14, Suren nsurendi...@gmail.com wrote:
Hi All,
i just wanted to know anyway I can set tooltip text only to certain
cells in a Grid??
I saw setTitle()..but thats for the entire Grid
Any advise welcome
Try this:
grid.getCellFormatter().getElement(x, y).setTitle(title)
but
Can anyone help me in writing a simple gwt class for validating the
input.
My requirement is that, I need to check that the input in the textbox
is alphabetic, and if the input is anything other than alphabet it
displays the error message.
Thanks
On 20 mai, 09:32, zeroonea zeroo...@gmail.com wrote:
when i load data to form to edit, how i set selected item in listbox
by value
Loop over the items until you find the one you want to select, and set
it selected (though depending on whether you have a multiple-selection-
enabled ListBox or
What are you using a FileInputStream and InputStream for on the client
side? I don't think they would be valid for GWT client Side code. If
you want input you either have to get it from one of your widgets
(TextBox, TextArea..etc) or from the server via an RPC call or HTTP
request.
On May 20,
We extend the standard eclipse java launch configurations to add some
program arguments. We don't do anything special. It should work just like
debugging a desktop app in eclipse.
The only think that I could think to try would be to use a regular java
launch configurations and see if it has the
I hope i can save some people a little time...
below is what is required to get Jetty and Apache JNDI dbcp connection
pool working w/ GWT 1.6 and Oracle
1) these 2 jars are needed in the WEB-INF/lib directory, :
jetty-plus-6.1.11.jar
jetty-naming-6.1.11.jar
2) for the Apache dbcp connection
Alyxandor, thanks a lot!
That was exactly that help I needed. The only problem now is that it
perfectly works in Hosted mode and in Safary but totally fails in
Firefox.
Firebug sais:
uncaught exception: [Exception... Component returned failure code:
0x80004003 (NS_ERROR_INVALID_POINTER)
Okay, i have many listbox in some module, so i decided write a method
to do this loop, share it between several module, a problem is i put
this method in a tool class, but gwt do not allow i import it into
entry point class, so it must be in same package with entry point
class, but i do not want
Hello everyone!
I have the following problem and was hoping you guys could help me
out. I have the need to implement a relation inheritance (table per
subclass) so i searched the hibernate documentation.
The thing is that i am using a project structure which i took from
a tutorial i found,
Hi,
I am building applications using GWT 1.5.3 on JDK 1.5.0_09.
While trying to build an application regarding GWT RPC, I got stucked
with the following compilation error..
E:\GWT_WORKSPACE\HelloServletHelloServlet-compile
Hi
If you find Hibernate is difficult to use, you may try Dreamsource ORM
for your application. You can find an GWT example in
http://www.gwtorm.com/mail/Mail.html.
Is anyone else getting a little sick of this constant gratuitous
on-list plugging?
--
Thanks
Paul
Paul Grenyer
e:
I wrote the following code
Button firstPB = new Button( msgs.srw_first(), this );
hPanel.add( firstPB );
This works fine and i have no problems. But after adding...
Button firstPB = new Button( msgs.srw_first(), this );
hPanel.add( firstPB );
firstPB.setStyleName(PaginationButton-Passive);
i want to create an application with gwt+eclipse+googleAppEngine
i create new project with Web Application Project button in the
toolbar
whene i try to run or debug it i recive this messages
Exception in thread main java.lang.UnsatisfiedLinkError: /media/sdb8/
Hi,
SmartGWT 1.1 has been released.
Here's the release announcement :
http://www.jroller.com/sjivan/entry/smartgwt_out_of_beta_v1
Project Page : http://code.google.com/p/smartgwt/
Showcase Demo : http://www.smartclient.com/smartgwt/showcase/
The new samples can be found under the New Samples
On Wed, May 20, 2009 at 10:42, Alfred S freddi...@gmail.com wrote:
I've been using GWT for some time now, so I know my way around. I did
my homework, but for the life of me, I can't figure out how to open a
link aside from having some sort of:
new HTML(a href=.my link/a);
Look at the
For the past year Pentaho has been developing a Java Xul framework for
writing apps that run in Swing, Swt and Gwt without code modification.
It's been open source from the start (LGPLv2) but not advertised.
We've recently moved the project out into BitBucket.org as Shandor Xul
and are looking
Hi All,
I am new to GWT. I am doing some project where i need to use flextable
to store the data.Even i have requirement to edit,delete ,up and down
the inserted row data.I am able to delete using a button which i have
put on each row same like that i want to add another three button to
edit ,up
I've been using GWT for some time now, so I know my way around. I did
my homework, but for the life of me, I can't figure out how to open a
link aside from having some sort of:
new HTML(a href=.my link/a);
Obviously, that works. But what do I put in a ChangeListener, for
example?
Sample:
[GWT 1.5]
Hello!
I'm using SVG tags to draw diagrams in my window. I use a JS library
to manipulate the DOM and add my SVG elements. No problem with that,
it works perfectly fine with Firefox3 and IE7 (still a big work in
progress, so not tested in other browsers).
So i get things like :
svg
Rafael,
If you find Hibernate is difficult to use, you may try Dreamsource ORM
for your application. You can find an GWT example in
http://www.gwtorm.com/mail/Mail.html.
Jim
http://www.gwtorm.com for GWT ORM
http://code.google.com/p/dreamsource-orm/
On May 20, 12:52 pm, Rafael
The Cognitive Computing Lab (CCL), Georgia Tech is looking for a web
developer with experience in Google Web Toolkit framework, to enhance a
social interactive search and recommendation website. The work involves
re-designing and extending pages and modular widgets and work with XMPP
technologies
I want my NativePreviewHandler to intercept oncontextmenu events. Is
that possible?
Details on what I'm doing:
I've got a page with a bunch of hyperlinks on it. If the hyperlink is
of a certain form (...author/AUTHOR_ID), then when the user shift-
clicks on the link my NativePreviewHandler
Rafael,
You could use annotations to describe the mappings but if not use the
following. Since you are using Spring you can use their Hibernate
support to look for mapping files in a particular directory. This way
you don't have to call them out in the hibernate file. Lookup
Hi,
Looks like the hibernate.cfg.xml file is the one used to define
relationship (the good practice is to have a mapping file for each
Domain class, such as User.hbm.xml, Message.hbm.xml, and so on).
Of course, since GWT 1.5, you can define your mapping attributes using
annotations (so you can
Hey Taha,
It sounds like the problem is that, while GWT comes with a 32-bit
version of SWT, you're using a 64-bit JVM. If you switch to a 32-bit
JVM, then you'll be set! (and in future versions of GWT, once we have
the OOPHM feature, it won't be an issue)
We should probably document this better
Thanks for the tips Eric.
- I noticed that newInstance was used in Google Maps so i'm adopted
the same convention.
- I see what you mean about exception handling. I'll make use of your
ExceptionHelper for Runnables. For the AsyncCallbacks, i'll try to
mirror your ExceptionHelper implementation.
If I don't explicitly set a style for a TextBox widget, it picks up
the stylesheet .gwt-TextBox and .gwt-TextBox-readonly from the
standard.css file. That's fine except that I want to customize it
using the css file in the WEB-INF folder which is where I set all my
custom styles (styles specific
I was hitting the same error from the hosted mode in Eclipse once I
added the gwt-ext library. Curiously, when I hit the 'Browse/Compile'
button in the GWT plugin test environment, the code would actually
recompile and run properly in a browser. So, if hosted mode gives you
this error, it might
Hello All:
I am a new GWT user who is having problems with installation. I
installed the Eclipse plugin by extracting the zip file (per the
instructions in the FAQ). I restarted Eclipse and did a File-New Web
Application Project and the New Web Application Project dialog
appeared. I noticed
The page at http://code.google.com/webtoolkit/doc/1.6/ReleaseNotes_1_6.html
is somewhat unclear regarding rename-to:
module rename-to='testapp'
Which left me wondering: is the value arbitrary, and, how does it
relate to any other settings or directories? (Since the file tree
shown under that
Is there anyway to add a right click menu on an Image class? I want
to use my own right click menu, not the browsers.
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this
On 05/20/2009 02:31 PM, Rob Tanner wrote:
If I don't explicitly set a style for a TextBox widget, it picks up
the stylesheet .gwt-TextBox and .gwt-TextBox-readonly from the
standard.css file. That's fine except that I want to customize it
using the css file in the WEB-INF folder which is
It doesn't appear after your creating static file structures. It
appears after your running your application in hosted mode.
Jim
http://www.gwtorm.com - GWT ORM
On May 20, 5:22 pm, Steve C st...@steveclaflin.com wrote:
The page athttp://code.google.com/webtoolkit/doc/1.6/ReleaseNotes_1_6.html
Send the role information to your GWT client side application.
On May 20, 1:38 am, Chetan chetan.minaj...@gmail.com wrote:
Hi,
I am new to GWT.We have a requirement to hide a button based on the
role of the user.
We are able to get the correct data from the database based on SOP
statements
Incubator releases have breaking changes so you will have to adjust.
Some of the classes get moved to the main GWT trunk.
On Apr 23, 5:56 am, Satya Bobba nasbo...@yahoo.com wrote:
Hi hazy,
thanks,
i tried with latest version of incubator, but i am getting different
errors means some of the
Hi,
Thanks alot. It works.
Yep, I checked the tooltip with mozilla and IE. Make sure with other
browsers too.
Our App. requires mouse anyway. But what you mentioned is a valid one
to consider for only keyboard users as well.
Thanks.
Suren
On May 20, 5:42 pm, Thomas Broyer t.bro...@gmail.com
Anything you put to WEB-INF folder will not be served by the web
server. That folder is for configuration files. Place css into root
folder or any other folder.
2009/5/20, Rob Tanner caspersg...@gmail.com:
If I don't explicitly set a style for a TextBox widget, it picks up
the stylesheet
On May 20, 3:16 pm, Jeff Chimene jchim...@gmail.com wrote:
On 05/20/2009 02:31 PM, Rob Tanner wrote:
If I don't explicitly set a style for a TextBox widget, it picks up
the stylesheet .gwt-TextBox and .gwt-TextBox-readonly from the
standard.css file. That's fine except that I want to
I was looking the Eclipse layout and somehow just thought it was in
WEB-INF. You know how that goes, you press send and then hit yourself
in the forehead for being a dork. It's in the war folder at the same
level as WEB-INF and the problem turned out to be a spelling error.
Thanks,
Rob
On May
Author: kpro...@google.com
Date: Wed May 20 06:17:16 2009
New Revision: 5437
Modified:
trunk/user/src/com/google/gwt/user/client/Cookies.java
trunk/user/test/com/google/gwt/user/client/CookieTest.java
Log:
Addresses public issue 3566: Offer option to not decode cookies
Addresses public
LGTM.
There was earlier a reason for some to be non-static, then that got
removed through the review process, and then I forgot to make them
consistent again.
http://gwt-code-reviews.appspot.com/34813
--~--~-~--~~~---~--~~
Author: kpro...@google.com
Date: Wed May 20 06:36:47 2009
New Revision: 5438
Modified:
trunk/tools/soyc-vis/src/com/google/gwt/soyc/MakeTopLevelHtmlForPerm.java
trunk/tools/soyc-vis/src/com/google/gwt/soyc/SoycDashboard.java
Log:
MakeTopLevelHtmlForPerm had some inconsistencies in which
Thanks, commited to trunk as r5438.
On Wed, May 20, 2009 at 9:29 AM, sp...@google.com wrote:
LGTM.
There was earlier a reason for some to be non-static, then that got
removed through the review process, and then I forgot to make them
consistent again.
Author: j...@google.com
Date: Wed May 20 06:49:41 2009
New Revision: 5439
Modified:
releases/1.6/user/src/com/google/gwt/user/client/ui/CheckBox.java
releases/1.6/user/test/com/google/gwt/user/client/ui/RadioButtonTest.java
Log:
Merging /trunk r4820 into /releases/1.6.
Modified:
Author: j...@google.com
Date: Wed May 20 06:50:05 2009
New Revision: 5440
Modified:
releases/1.6/user/src/com/google/gwt/dom/client/DOMImplMozilla.java
releases/1.6/user/src/com/google/gwt/dom/client/DOMImplMozillaOld.java
Author: j...@google.com
Date: Wed May 20 06:51:52 2009
New Revision: 5441
Modified:
releases/1.6/branch-info.txt
Log:
Updating branch-info again.
Modified: releases/1.6/branch-info.txt
==
---
Reviewers: jgw,
Description:
Per issue 3455, split up very long var lines to avoid a new Webkit bug.
This also adds a CompilerParameters module. It looks useful for testing
to be able to tune way down compiler settings such as this one.
Please review this at
Thanks. Committed at r5442.
http://gwt-code-reviews.appspot.com/33825
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---
Author: sp...@google.com
Date: Wed May 20 07:16:36 2009
New Revision: 5442
Modified:
trunk/tools/soyc-vis/src/com/google/gwt/soyc/MakeTopLevelHtmlForPerm.java
trunk/tools/soyc-vis/src/com/google/gwt/soyc/Settings.java
trunk/tools/soyc-vis/src/com/google/gwt/soyc/SoycDashboard.java
It is still possible for super-deep expressions to come out of the
compiler. As yet it is not a practical problem, however. The depth
limit is 1. We are only bumping into such a large limit because of
the unusual encoding used for var statements.
That said, if it's a practical problem,
Thanks for getting back to me on this. I'll respond to the 5 issues
here, saving the first issue for last, as it's the longest and it's
easier to just skip over if it's not important to you, or if you
wholeheartedly agree or disagree with me.
(ii) BitSet.toString() is incorrect because it does
I'm also concerned that it only splits var statements; are we sure GWT
won't generate too deep expressions on other kind of statements?
http://gwt-code-reviews.appspot.com/33826/diff/1/6
File dev/core/src/com/google/gwt/dev/js/JsBreakUpLargeVarStatements.java
(right):
As a practical example, ClientBundle can already generate deep
expressions for Css resource injection that exhaust the stack space of
the JVM when compiling. You end up with something like:
var cssText = a + b + c + . (hundreds)
which produces a very deeply nested binary expression tree.
Reviewers: kprobst,
Description:
Convert \['] into their XML equivalents without using the (very
slow) String.replaceAll method.
Please review this at http://gwt-code-reviews.appspot.com/34814
Affected files:
dev/core/src/com/google/gwt/core/ext/soyc/impl/StoryRecorderImpl.java
Author: rj...@google.com
Date: Wed May 20 13:07:16 2009
New Revision: 5444
Modified:
releases/1.6/branch-info.txt
Log:
Note merge of trunk c5347
Modified: releases/1.6/branch-info.txt
==
---
Reviewers: ,
Description:
This patch adds an @external directive to the CSS system to allow for
selective non-obfuscation of identifiers and to bypass strict-mode
checks.
Please review this at http://gwt-code-reviews.appspot.com/33827
Affected files:
LGTM
Like you mentioned, with a more intrusive change we might (in the
future) be able to get away without ever converting to/from String.
http://gwt-code-reviews.appspot.com/34814
--~--~-~--~~~---~--~~
http://gwt-code-reviews.appspot.com/34814/diff/1/2
File
dev/core/src/com/google/gwt/core/ext/soyc/impl/StoryRecorderImpl.java
(right):
http://gwt-code-reviews.appspot.com/34814/diff/1/2#newcode406
Line 406: private static String escapeXml(String unescaped) {
Should this instead use the one in
http://gwt-code-reviews.appspot.com/34814/diff/1/2
File
dev/core/src/com/google/gwt/core/ext/soyc/impl/StoryRecorderImpl.java
(right):
http://gwt-code-reviews.appspot.com/34814/diff/1/2#newcode423
Line 423: char c = unescaped.charAt(index + 1);
On 2009/05/20 20:47:23, jat wrote:
You need to
Author: sco...@google.com
Date: Wed May 20 14:35:08 2009
New Revision: 5447
Added:
branches/snapshot-2009.05.12-r5406/dev/core/src/com/google/gwt/core/ext/soyc/impl/DependencyRecorder.java
- copied, changed from r5414,
http://gwt-code-reviews.appspot.com/33827/diff/1/12
File user/src/com/google/gwt/resources/client/CssResource.java (right):
http://gwt-code-reviews.appspot.com/33827/diff/1/12#newcode229
Line 229: * recommended as the default behavior for CssResources.
hindsightShould have made it the default
LGTM.
BTW: if you want to go the extra mile, you can get even more speed up by
reusing the StringBuilder. Call setLength(0) to start fresh, but it
retains the internal char buffer so you can avoid tons of allocations.
You could probably either pass a reusable buffer through as a param, or
keep
Reviewers: andreasst_google.com,
Description:
This patch allows an app to force use of latin digits/separators instead
of localized digits.
Please review this at http://gwt-code-reviews.appspot.com/34816
Affected files:
user/src/com/google/gwt/i18n/client/NumberFormat.java
Reviewers: scottb,
Description:
Fix for
http://code.google.com/p/google-web-toolkit/issues/detail?id=3679
Please review this at http://gwt-code-reviews.appspot.com/34817
Affected files:
user/src/com/google/gwt/user/client/ui/RadioButton.java
Index:
LGTM
http://gwt-code-reviews.appspot.com/34816
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---
LGTM
http://gwt-code-reviews.appspot.com/34817
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit Contributors group.
To post to this group, send email to
On Thu, May 21, 2009 at 12:19 AM, andrea...@google.com wrote:
LGTM
Thanks, committed to trunk in r5450.
--
John A. Tamplin
Software Engineer (GWT), Google
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Author: j...@google.com
Date: Wed May 20 21:41:21 2009
New Revision: 5450
Modified:
trunk/user/src/com/google/gwt/i18n/client/NumberFormat.java
trunk/user/test/com/google/gwt/i18n/client/NumberFormat_ar_Test.java
Log:
Allow an app to force use of latin digits/separators instead
of
88 matches
Mail list logo