I second Bruno and would add a few things. You can group entities and
queries into DAOs and not pure entities and queries. So, to summarize:
- Each DAO goes into it's own .hbm.xml file. This contains the core
entity for that DAO and a few peripherial ones, i.e. Employee being
the core and,
Hi All,
Iam not able to start the tomcat server. Please fidn the error log
below and help me out.
Error:
.java:515)
at org.apache.catalina.startup.ContextConfig.start
(ContextConfig.java:62
3)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent
(ContextConfi
g.java:216)
Hello,
I am stuck with the fact that HandlerRegistration.removeHandler() is
not removing my handler.
I have two controllers, say ParentController and ChildController,
each
implements ValueChangeHandlerString to handle history events
The root class extended by both parent and child controllers:
And Jim, no, we don't find Hibernate hard to use, especially since
it's a quasi-standard;-)
On May 20, 7:56 pm, Jim jim.p...@gmail.com wrote:
Rafael,
If you find Hibernate is difficult to use, you may try Dreamsource ORM
for your application. You can find an GWT example
I have reinstalled the tomcat. After that only iam getting the below
error:
.java:515)
at org.apache.catalina.startup.ContextConfig.start
(ContextConfig.java:62
3)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent
(ContextConfi
g.java:216)
at
Hi,
Iam using XP.
On May 21, 11:26 am, Anu anuradha...@gmail.com wrote:
I have reinstalled the tomcat. After that only iam getting the below
error:
.java:515)
at org.apache.catalina.startup.ContextConfig.start
(ContextConfig.java:62
3)
at
Hi,
unpack http://google-web-toolkit.googlecode.com/files/gwt-linux-1.6.4.tar.bz2
and set GWT_HOME ( export GWT_HOME=/home/youname/gwt/gwt-
linux-1.6.4)
On May 21, 9:19 am, javatiger vijayabaskar1...@gmail.com wrote:
i am newbee in ubuntu.. i already installed and worked gwt in windows
now am
Hi Rafel,
Yeah you can do everything in Hibernate Annotations its really quite
powerful. We have moved to using it fully now instead of mapping
files.
Using the mapping file to simply hold our queries.
What kind of relationship are you trying to map?
Eggsy
PS. Paul - yeah that framework does
I guess this question is not really GWT specific, but I haven´t been
working much with handlers at all when developing web applications
earlier.
I´ll make a very simple example:
public class EventManagerTest implements EntryPoint {
public void onModuleLoad() {
final
Ok I will again try to explain you
Yes I want to create dynamically new properties file. As you told that
I have to restart the server. It is ok. But it should work then.
Actually, my doubt is related to GWT that how GWT handles properties
file because as I told earlier that when I create a
Yes, that applied exactly to my situation too. I could compile fine
and it would run fine once in a browser.
I just didnt like that error constantly appearing in case it effected
other things I was trying to debug.
Upgradeing to dev.HostedMode fixed the problem, as its been weeks
since I have
Ok, I have come up with a work-around, but its such a kludge and
rather extreme, Id still be interested in other solutions to this
problem. (Id also like to here if its just IE6 or IE7/8 too, as I dont
have those installed).
My preposed solution is thus;
1) Use a HTMLPanel rather then an iFrame
Hi,
I just wanted to let everyone know that I did implement the spinner
control, and I blogged about it:
http://markmacumber.blogspot.com/2009/05/gwt-fasttree-and-spinner-icon.html
Please take a read and let me know what you think!
On Apr 21, 8:25 am, markmac mark.macum...@gmail.com wrote:
You can create a RPC to ask the server what is the current user role.
You'll need to create a session when the user creates a new session
and then you can store inside some user data like the login,
profile, ...
For a stronger security, you'd have to validate in server RPCs that
the current
Hello all,
I am badly in need of your help,I am not getting how to do it using
GWT?
Actually I want to write a validation method for checking whether the
input in the textbox is alphabetic or not?
I have done it for numeric and also for the textbox should not be
empty but not getting how to
Hi,
u can use a function like this...
public boolean isAlpha(String abc) {
abc = abc.toUpperCase();
for (int i = 0; i abc.length(); i++) {
int c = (int) abc.charAt(i);
if (c 65 || c 90) {
Window.alert(enter a valid data);
}
return false;
}
return true;
}
regards,
concerning the second case , it was a type mistake
my proxy requires authentiification and that's whay I mentionned the
second case
-Dhttp.proxyUser=me
-Dhttp.proxyPassword=me_crypted instead of
proxyHost
when adding these two params I got my self in the second case
,
Hi All,
I want to select a row in the Grid when I click any of the cell in the
Grid.
which is working fine when I use
dataTable.addTableListener new TableListener (){
public void onCellClicked(SourcesTableEvents sender, final int
row,final int cell) {
.
}
});
Now I have to code
I have this 3 element:
Label label1=new Label(TEXT_1);
Label label2=new Label(TEXT_2);
TextBox selectPage=new TextBox();
I want to organize the elements of above in this maner:
div
TEXT_1 input type=text/ TEXT_2
/div
How i do that?
P.S.
I don't want to use VerticalPanel because the
The zips don't include the SDKs. You can download the SDKs and then tell
the plugin where they are. This link explains how to add SDKs
http://code.google.com/eclipse/docs/using_sdks.html.
You can download the App Engine Java SDK from
http://code.google.com/appengine/downloads.html and the GWT
Hi Salvador,
you wrote about line 211 of Showcase.java...
But where to find this showcase.java...
Plz help me I am stuck in history management]
plz help
I
On May 17, 3:23 pm, Salvador Diaz diaz.salva...@gmail.com wrote:
Hi imgnik,
HistoryListener (the class that contained the
Thank you very much
This helped me a lot and the function worked correctly, I mean in the way
how I wanted it..
Thanks once again.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
Using GwtEvent.getSource() retrieves the source that last fired this
event so you can differentiate event source widgets.
Jim
http://www.gwtorm.com - GWT ORM
On May 21, 4:44 am, Dalla dalla_man...@hotmail.com wrote:
I guess this question is not really GWT specific, but I haven´t been
working
Yes, this I know. In this example the source would be the sendButton,
right?
But is there any way in which I can manipulate helloField when Handler
is a separate class?
Or do I have to make Handler an inner class inside EventManagerTest to
be able to manipulate helloField?
On 21 Maj, 15:35, Jim
Hi All,
I am new to Hibernate4GWT. I try to implement in my module and follow
the same instruction as given in the Hibernate4GWT test case.
According to that one, i creates my BDO's in com.test.modulename.bdo
package and imported in the client or widgets. But i am facing some
issue i.e.
Thank you very much
Alex Rudnick wrote:
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
I still need to know how to configure, command line proxy settings
!!! once again the new release of the plugin does not offer any
solution to my problem
the compile button is still not compiling even if I specify -Xss8m
where as it worked and compile successfully from hosted mode with the
Let's split this issue into two. First, you want to be able to configure
the proxy settings. I'll have one of our guys who knows the proxy issues
pretty well follow up on this thread.
Second, the compile button is not working? Could you provide more details
as to how it fails? Is there a stack
public class Handler implements ClickHandler {
@Override
public void onClick(ClickEvent event) {
Widget widget = event.getSource();
if (widget instanceof TextBox) {
TextBox textBox = (TextBox)widget;
//do whatever you
I suppose this would work great if I actually clicked the textbox.
But I want to change the text in the textbox when I click a button,
not the textbox itself :-)
On 21 Maj, 16:36, Jim jim.p...@gmail.com wrote:
public class Handler implements ClickHandler {
@Override
public
Security is a very complex and wide world.
It's not the same an application for a blog with basic security
that a back application with a very high security at the browser,
communication and server levels.
Usually it's enough using a hash D Peters said.
For enterprises, usually I have to use
AbsolutePanel is a simple DIV
On May 21, 2:48 pm, grigoregeorge grigoregeorge631...@gmail.com
wrote:
I have this 3 element:
Label label1=new Label(TEXT_1);
Label label2=new Label(TEXT_2);
TextBox selectPage=new TextBox();
I want to organize the elements of above in this maner:
div
Hi All,
Can anybody give me an idea how can i resolve this issue.
On May 21, 6:52 pm, Sanj sunil.ban...@daffodildb.com wrote:
Hi All,
I am new toHibernate4GWT. I try to implement in my module and follow
the same instruction as given in theHibernate4GWTtest case.
According to that one,
public class Handler implements ClickHandler {
private TextBox textBox = null;
public Handler(TextBox textBox ) {
this.textBox = textBox;
}
}
Jim
http://www.gwtorm.com - GWT ORM
http://code.google.com/p/dreamsource-orm/
On May 21, 11:18 am, Dalla
My sentiments exactly. Not to mention that it's actually quite easy, if you
don't know what you are doing, and make a secure algorithm unsecure by
something as simple as choosing the wrong random number generator ( I
imagine the random number generator used in Javascript is actually not
Hi,
I see how Composite is useful in theory for custom widgets, to wrap
rather than extend specific widgets prevent exposing all their
methods; but I have found that Composite itself has a LOT of methods
exposed, particularly the UIObject position/dimension/etc setters
which I had wanted hidden
On 05/21/2009 09:22 AM, alan m wrote:
Hi,
I see how Composite is useful in theory for custom widgets, to wrap
rather than extend specific widgets prevent exposing all their
methods; but I have found that Composite itself has a LOT of methods
exposed, particularly the UIObject
You saved my life, the weeks I'm trying to solve this problem.
On 13 abr, 08:46, martin hotston...@googlemail.com wrote:
Ok, I solved the problem ;-)
Go to the project's properties and uncheck Use Google App Engine.
Additionally, as vitali mentioned, the mysql-connector jar has to be
in
sure Jeff:
public class PanelWidget extends Composite {
private FlowPanel div;
public PanelWidget(){
super();
div = new FlowPanel();
initWidget(div);
}
public void add(Widget widget){
div.add(widget);
}
}
On
You are creating a composite widget which is going to be a UIObject so it
has UIObject methods.
But if you make a composite with three labels, then you probably don't want
(and it wouldn't be easy) to expose the setText method for all three.
Ian
http://examples.roughian.com
2009/5/21 alan m
On 05/21/2009 10:09 AM, alan m wrote:
sure Jeff:
Hi,
I'd misjudged your question, hence withdrawn my answer.
public class PanelWidget extends Composite {
private FlowPanel div;
public PanelWidget(){
super();
div = new FlowPanel();
So... Is there any better way of blocking all these Composite methods
other than kludgy myWidget @Override?
On Thu, May 21, 2009 at 6:23 PM, Ian Bambury ianbamb...@gmail.com wrote:
You are creating a composite widget which is going to be a UIObject so it
has UIObject methods.
But if you make
There is, by extending Widget, but it means more work and understanding the
way GWT works.
Do you have a reason for stopping certain UIObject methods being used or are
you just a control freak :-)
Generally speaking, those methods are there to allow your users to use the
widget you create more
I'm currently thinking about moving my Eclipse-based application
completely to GWT. For that to work, though, I would need OSGi-like
modules so that one can plug in code. Server-side that is no problem,
I can use OSGi. Client-side, it becomes more difficult: I don't see a
way for a plug-in to
Create new project using GWT plug in
Project Name: HelloWorld
package: com.test
check Using Google Web Toolkit
didn't do any change after the project created.
run
Error Page display
HTTP ERROR: 503
SERVICE_UNAVAILABLE
RequestURI=/HelloWorld.html
and saw those message:
[WARN] EXCEPTION
Hello
I have class StringValue which extends abstract class AttributeValue.
I call some method on server side, which should return instance of
this class. When the method tries to return value the folowing error
happens:
SEVERE: Exception while dispatching incoming RPC call
I created a lauch configuration manually and then imported it into
Eclipse. Debugging is now working.
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send
Yes, I'm a control freak! ;-) But also my brief is to provide a widget
library with my (well, the client's) class names etc. and 100% css
layout and style, and prevent individual developers to use gwt's
setters (getters are less important) and diverge from the required
styles - consistency is
Hi,
First, this issue is not related to Hibernate4GWT, but is a simple GWT
issue (your gwt.xml file may be misplaced).
Furthermore, the Hibernate4GWT library has been renamed and keeps on
evolving as Gilead (http://gilead.sourceforge.net).
Regards
Bruno
On 21 mai, 17:33, SunilBansal
Sorry - I was going from memory and got the widget thing wrong. :-(
You'd have to go back to real basics to get around that.
Or tell your client to get developers they can trust to do as they are told
;-)
Is your client absolutely sure that their untrustworthy, pig-headed,
anarchic,
If you're an Eclipse user, I'd suggest going the Google Plugin for
Eclipse route: install Eclipse via the package manager (e.g.,
synaptics for a UI, or apt-get for command-line), and then install the
Google Plugin for Eclipse via
http://code.google.com/eclipse/docs/getting_started.html (which
You can not use Object in VectorObject for GWT client code. You may
try to use VectorSerializable
Jim
http://www.gwtorm.com - GWT ORM
http://code.google.com/p/dreamsource-orm/
On May 21, 6:05 am, Yulia yuli...@gmail.com wrote:
Hello
I have class StringValue which extends abstract class
Hi,
With regard to the proxy issue, I'll have to do some experimentation locally
to see if there is actually a way to pass the username and password for an
authentication-requiring proxy via the command line. I'll post back on this
thread with my results shortly.
Thanks,
Rajeev
2009/5/21
Hi ziglionz,
The ability to cast an overlay type to an interface like Binding would
require the interface itself to also be an overlay type (via the
JavaScriptObject.cast() method call). Since the interface itself isn't an
overlay type, and a custom overlay type can't implement it because it does
I didn't try VectorSerializable, don't know if it works. I decide to
make a class with fields for data I want to return instead of using
VectorObject.
Now it works. Thank you!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hi,
Unfortunately, there is no way to set authentication parameters for proxy
servers on the command line. The settings http[s].proxyUser and
http[s].proxyPassword do not work. They're actually an urban legend -
these properties were never respected by Sun's JDK.
The reason why the proxy works
I am trying to change the background color of a tree item by adding a
dependent style name. However, when I called
treeItem.addStyleDependentName(newStyleName), nothing happened. I
look at the docs, and found out that addStyleDependentName calls
addStyleName(getStylePrimaryName() + - +
I can't seem to get any of the IE6 PNG transparency fixes
(SuperSleight, unitpngfix,
http://www.komodomedia.com/blog/2007/11/css-png-image-fix-for-ie/)
working in my GWT app.
(Note that my PNGs are specified in my CSS, so solutions like PNGImage
won't help.)
Has anyone gotten any of these
Hi all,
I have done many webpages with tomcat but seem to be having some
issues deploying a simple webpage for GWT that loads other pages into
Frames.
This app just creates a few Frames and puts a page into it. Very
simple
All the pages are under a directory called Pages off the Root (war/
bump
--~--~-~--~~~---~--~~
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
Hi Asif,
Just run your application over ssl (https) get a cert and install
it in Tomcat or what ever J2EE application server (or .net, .php exc)
your using. Thats all you need to secure your passwords over the
wire.
Most of java is not available for GWT, only if the jar or project
says it
Hi,
The only way around this it to use something like this class;
http://cvs.adligo.org/viewvc/params/src/org/adligo/models/params/client/ClassForNameMap.java?view=markup
Not very elegant, but works fine.
Cheers,
Scott
On May 20, 6:30 am, rudolf michael roud...@gmail.com wrote:
hello,No
What's the difference between GWTCanvas (in the incubator) and gwt-
canvas?
GWTCanvas: http://code.google.com/p/google-web-toolkit-incubator/wiki/GWTCanvas
gwt-canvas: http://code.google.com/p/gwt-canvas/
Overall, GWTCanvas is working well for me, but I'm a bit unhappy with
its IE performance
Hi Noon,
I know that is simple GWT issue and not HIbernate4GWT issue. I am also
know what is the main cause of this problem. I am getting this
exception message because i am going to import another package rather
than client on the client side class i.e. com.test.modulename.bdo.ABC
in the
Hi Sajil,
I believe the error you're receiving is due to a ClassCastException in your
server-side code. From the exception stack trace:
Caused by: java.lang.ClassCastException:
net.sf.hibernate.dialect.MySQLDialect cannot be cast to
org.hibernate.dialect.Dialect
at
On Wed, May 20, 2009 at 3:13 PM, Ray Cromwell cromwell...@gmail.com wrote:
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 +
Author: b...@google.com
Date: Thu May 21 06:43:38 2009
New Revision: 5451
Modified:
wiki/CssResource.wiki
Log:
Edited wiki page through web user interface.
Modified: wiki/CssResource.wiki
==
---
Author: b...@google.com
Date: Thu May 21 06:53:08 2009
New Revision: 5452
Added:
wiki/StyleInjector.wiki
Log:
Copy StyleInjector wiki page from incubator and update with current
information.
Added: wiki/StyleInjector.wiki
Author: b...@google.com
Date: Thu May 21 06:55:33 2009
New Revision: 5453
Modified:
wiki/StyleInjector.wiki
Log:
Edited wiki page through web user interface.
Modified: wiki/StyleInjector.wiki
==
---
Author: rj...@google.com
Date: Thu May 21 08:03:33 2009
New Revision: 5454
Modified:
trunk/user/src/com/google/gwt/user/client/ui/RadioButton.java
Log:
RadioButtons were not sinking click events
Issue: 3679
Reviewer: scottb
Modified:
Author: rj...@google.com
Date: Thu May 21 08:06:03 2009
New Revision: 5455
Modified:
releases/1.6/user/src/com/google/gwt/user/client/ui/RadioButton.java
Log:
Cherry pick of trunk r5454
Modified:
releases/1.6/user/src/com/google/gwt/user/client/ui/RadioButton.java
Author: rj...@google.com
Date: Thu May 21 08:06:34 2009
New Revision: 5456
Modified:
releases/1.6/branch-info.txt
Log:
Record cherry pick of 5454
Modified: releases/1.6/branch-info.txt
==
---
Author: rj...@google.com
Date: Thu May 21 08:19:10 2009
New Revision: 5457
Modified:
releases/1.6/branch-info.txt
releases/1.6/user/src/com/google/gwt/user/client/ui/RadioButton.java
Log:
Rollback cherry pick of broken 5454
Modified: releases/1.6/branch-info.txt
Thanks, Joel. Committed at r5459.
http://gwt-code-reviews.appspot.com/33826
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---
Author: sp...@google.com
Date: Thu May 21 08:48:10 2009
New Revision: 5459
Added:
trunk/dev/core/src/com/google/gwt/dev/js/JsBreakUpLargeVarStatements.java
(contents, props changed)
trunk/user/src/com/google/gwt/core/CompilerParameters.gwt.xml
(contents, props changed)
http://gwt-code-reviews.appspot.com/33826/diff/1/4
File user/src/com/google/gwt/core/CompilerParameters.gwt.xml (right):
http://gwt-code-reviews.appspot.com/33826/diff/1/4#newcode25
Line 25: set-configuration-property name='compiler.max.vars.per.var'
value='4900' /
Okay, I'll change it to half.
Author: rj...@google.com
Date: Thu May 21 08:59:40 2009
New Revision: 5460
Modified:
trunk/user/src/com/google/gwt/user/client/ui/RadioButton.java
Log:
Resubmitting radio button fix to sink click events, this time
with required import line.
Issue: 3679
Reviewer: scottb
Modified:
Author: rj...@google.com
Date: Thu May 21 09:27:58 2009
New Revision: 5462
Modified:
releases/1.6/branch-info.txt
Log:
Record cherry pick of trunk c5460
Modified: releases/1.6/branch-info.txt
==
---
Thanks for taking the time to listen, and for reviewing the code. If I
come across as overly defensive, it's only due to the amount of time
I've invested in this code. It's not due to any dislike for you, or
illusions of grandeur. I appreciate the patience you've shown me.
How about
O(N) temporary memory usage, which having the three native methods
approach (getWordPositions, setWord, getWord) is likely to have, is a
reasonable tradeoff to make since it will greatly enhance readability.
Your approach of using array indexing already saves a lot of memory as
it only uses O(N)
Using nextSetBit() repeatedly is a non-starter since compared to the
integer-by-integer approach, every operation will be bit-by-bit. This
will be
x-times slower, where x is the average number of bits set in an
integer.
I guess I wasn't clear in this regard, I was talking about just
Reviewers: rjrjr, jgw,
Description:
This patch adds support for bundling ClientBundle resources into a
single mhtml document to reduce the total number of round trips required
in IE6. It furthermore enables the use of data: urls for IE8.
Specifics:
- The mhtml format is defined in rfc 2557;
82 matches
Mail list logo