Maybe you could try to implement your unit test with
gwt-test-utilshttp://code.google.com/p/gwt-test-utils/,
which also provides support for GIN.
You also would able to initialize your unit test with every java.io class
you want, since gwt-test-utils
Hi, I'm having an issues where a user logs in on one page such as
example.com/login and then is redirected to example.com/desktop or
example.com/mobile depending on what device they're using, and the cookie
that we save when they log in will transfer to the other app, but then it's
impossible
Is it a HttpOnly cookie? If so you can not access it from javascript.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/O4m8llyky6wJ.
To post to
You can't. To protect your code you have to use some RPC and implement the
algorithms on server side.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
OMG,it's a really sad news. Anyway, obfuscation can at least make the
codes hard to readable and its reader must pay more efforts to
recover the original codes somehow, doesn't it?
Second question: Even the code can not be recovered, it still can be
used arbitrarily by anybody as long as it is
Depends. You can apply authentication and authorization on the
server/backend to make sure that not anyone can use it.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Hi Rob,
I am aware of the wrappers for a number of charting libraries for gwt,
however, I would like my app to remain decoupled of them and not to
integrate any libraries to it, because the charts will be provided by
another mechanism.
So what I would like to be doing is via JSNI embed a div
How about git svn clone --revision HEAD ? (or HEAD~10 if you want to
clone the last 10 commits)
Also, I'd suggest cloning only the trunk; everything's done in trunk,
apart from backporting fixes to release branches.
That being said, a quick search on
I used the last solution and it worked fine (even IE 7,8 :), but I haven't
tested IE 6 )
On 4 November 2011 05:06, Thomas Broyer t.bro...@gmail.com wrote:
As Ice13ill said, setting innerText or innerHTML will break the w1 and w2
widgets (their element are rebuilt, so the instance they
Injecting an EventBus allows you to pass the one instance you want
(SimpleEventBus, ResettableEventBus, CountingEventBus, RecordingEventBus,
or your own subtype), and change that between dev, production, and tests.
--
You received this message because you are subscribed to the Google Groups
Maybe I've misguided you mentioning the SimpleEventBus implementation of
the EventBus interface. The actual question was whether I should use a
*static* EventBus that can be defined in a Common class and reference
this static EventBus from any other view.
E.g. using
*MyView() {*
*// MyView
I had understood, so that doesn't change my answer.
With the static instance, everyone shares exactly the same. With an
injected instance, you can wrap your global singleton eventbus within a
ResettableEventBus in some cases (depending on how you manage your classes
lifecycle), or some other
As GIN also supports static injection it seems like there is not much of a
difference, but:
1.) Using the static way you somehow hide the fact that a class depends on
an event bus
2.) Sometimes its nice to have multiple instances of an event bus.
Especially having multiple ResettableEventBus's
Sorry if I didn't make it clear enough: With the static instance, everyone
shares exactly the same [instance], which means that you cannot choose,
for a particular object, to use a different instance (e.g.
ResettableEventBus), unless you make that object depend explicitly on the
other instance
I have installed ecipse 3.7 with latest update of gwt2.4.I try to run
Stockwatcher application,it works fine.But when i wish to develop
login application for that i want GWT project as a option in file when
i create new web application.But i didnt get that option in Design bar
of Eclipse.
Not that it's really what you asked (I agree with the replies you've
received), but if you're using the idiom shown in some of the Google
presentations/samples/vids, instead of direct references to the EventBus
instance (which is a class and not an interface ... I don't know why), you
may have
I think that poeple not fully understand what is Google Web Toolkit. I
saw time consuming computations on cliend side code, and similiar
mess. You have to clear that if you have some valuable alghorithm you
have to put it into server side code. Of course as Uemit said, you can
protect generated
Hi,
is there a way to extend the RequestFactory to support none primitive
types? For example a way to write modules which tell the RequestFactory how
to de-/serialize the specific none primitive type to a String and vis
versa, so it can be use over HTTP?
kind regards
--
You received this
Hi,
sorry I have to ask, but the example at
http://code.google.com/intl/en-US/webtoolkit/doc/latest/DevGuideRequestFactory.html
is relative unclear to me how about making the RequestFactory work with
Persistence function NOT in the Entity and not beeing static. I have not
found any examples.
Hi all,
I'm a true beginner with GWT and have a simple project.
My intention is to use the RequestFactory for my objects' persistence
and such, on top of vanilla DataNucleus/JDO.
I have the following model:
@PersistenceCapable(..)
A {
@PrimaryKey
Long getPK()
B getB();
void setB(B b);
void
Dear all,
I'm currently working with GWT 2.3 on a new project. I'm using several
CellTable and I wanted to update the display. I have used a interface
in order to redefine the CellTable.css. It works for the simple row
(for example TextCell) but it doesn't work for special cell like
SelectionCell.
Aw, crap - Aiden even specifically said that, and I missed it.
Thanks for pointing it out. Now, don't mind me as I smack my palm
against my forehead. Twice.
- Joe
On Nov 4, 4:35 pm, Danny Kirchmeier da...@kirchmeier.us wrote:
Does your Style1.css now say this:
@external .gwt-Button;
sample:
http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/#samples%2Fexpenses
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
On 11/7/2011 1:09 AM, Gael Lazzari wrote:
Maybe you could try to implement your unit test with gwt-test-utils
http://code.google.com/p/gwt-test-utils/, which also provides
support for GIN.
You also would able to initialize your unit test with every java.io
class you want, since gwt-test-utils
RequestFactory is already over http.
If you're looking to shoot over a String, just use a String. You can use,
but don't recommend, DefaultProxyStore for this purpose which you can
obtain from RequestFactory.
but again, RF is already over http
--
You received this message because you are
On 11/6/2011 11:23 PM, Sabbia wrote:
Hi everyone!
I've developed a GWT-SmartGWT application using Eclipse. In this
application, a Java class from the server side must read some txt
files in a directory called Transcriptions. Working with Eclipse, I
had no problem at all to access to this
Great point. I find a mixed GWT approach works best in this situation so to
maximize search spider indexing. I find, it's not that it doesn't work, the
angle of approach has to change. One way to use GWT with CMS is to render
the HTML via servlet and edit it via GWT or intermixing the GWT like
It's a bit of a hack, but since the cell list is just a list of Divs, you
can use the CSS3 columns (but watch out, IE9 doesn't support this, and only
the most recent version of opera does)
public void setColumns(int columns) {
if(columns 1) columns = 1;
Style style =
Yes, but you cannot use only use primitive types with RF. See.
http://code.google.com/intl/en-US/webtoolkit/doc/latest/DevGuideRequestFactory.html#transportable
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the
Use pure GWT charting http://code.google.com/p/clientsidegchart/ For the real
Web apps it is an excellent library. It lacks some fancy stuff but works
excellent with all other GWT including drag/drop packages so you can easily
build dashboards. I did my own prototypes including real time
I use JDO in my example here. I've used owned collections, but you could
use one to many too.
http://code.google.com/p/gwt-examples/wiki/DemoActivitiesAndPlaces - Demo
and Source here
Brandon Donnelson
http://gwt-examples.googlecode.com
--
You received this message because you are
If you use InstanceRequest, that means the method you're calling must be
non-static, which is what you want here but also be of your entity type.
Here
@Service(value = EmployeeService.class, locator = DaoServiceLocator.class)
public interface EmployeeRequest extends RequestContext {
...
Just posting here to bounce this one up - anyone have any idea if what
I'm asking is possible? Or am I asking for something that can't be
done?
On Oct 21, 10:24 am, King_V kin...@mindless.com wrote:
All,
Ok, I've used DatePicker, NOT with DateBox, to show a calendar and
allow selection.
What I do is:
If your not using the standalone install:
1. Manually compile the project
2. Zip up the war directory and it should end up something like project.zip
(make sure the war directory is the root and not a folder in the zip file)
3. rename the war directory zip file to something like
Thank you for your suggestion, but this is not what I need.
Let me give you an example, I have data and graphs in google spreadsheets
and I publish them as interactive or as images. Publishing the charts as
images is simple, I just create a gwt Image and pass in a url. My problem
is when
1. Check this out: http://code.google.com/p/playn/wiki/GettingStarted -
used to be called forplay
2. I'd follow https://twitter.com/#!/lillithompson too
Hope that helps,
Brandon Donnelson
http://gwt-examples.googlecode.com
--
You received this message because you are subscribed to the Google
@Palo G.
Actually I wasn't suggesting to protect the generated javascript but to put
the algorithm on the server/backend and access it from the client via RPC
or any other method.
I think what OrNot wanted to know is whether he can somehow make sure that
only specific user can execute the RPC
FYI the demo application isn't allowing me to add items... Which was
the feature I was curious about :-)
--
Julien Cassignol
http://www.ainulindale.net
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Yes, this is correct, and this is why more and more people want better IP
protection for client-side browser code. Unfortunately it just isn't
possible with modern browsers, hopefully one day it will be.
On Mon, Nov 7, 2011 at 9:35 AM, Uemit uemit.se...@gmail.com wrote:
@Palo G.
Actually I
Does anyboday has some Idea?
Best regards
Uli
--
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 think you have a problem to show both image and interactive chart to have the
same LF. You should use the same charting library for that. Some people in the
past used JFreeChart creating the same chart image on the server and then
interactive one on the browser applet. Nowadays you can use
H Seems that I have some bugs hiding in the code :). I just tried
and its working for me, although I found a couple of delete erros on the
server. For the most part, it should work. :)
I'm curious if you refresh it and try again, if it would work? I think I
have a UI error. I'll chase
On Mon, Nov 7, 2011 at 3:49 PM, m...@grayout.de m...@grayout.de wrote:
Does anyboday has some Idea?
Are you doing this on the client side GWT code? Because this doesn't
work as GWT is cross-compiled and your code lives on the Browser and
doesn't even know the server.
If you do it on the server
Yes indeed, I have a problem because the ui is agnostic of the library that
is going to use to generate the chart.
For instance, this is the script tag published from a google spreadsheet:
script type=text/javascript src=//ajax.googleapis.com/ajax/static/m
odules/gviz/1.0/chart.js
Nope, still won't work here.
I have a look at the source though and it seems to me that you're
doing about the same thing I do, that is for my example:
Create a context
Create a AProxy
Context-Edit BProxies settable on A
Set BProxies on A
Persist.
This goes well for me up to the point of the
Hello everybody!
I have three GWT modules A, B and C. C has some common widgets and utility
classes/interfaces.
both A and B depends on C. A depends on B. A has an entry point.
The problem is: module C has an interface which I want to replace by a
class in A module. I use replace-with statement
Is there a better way of doing this? I'm sure there must be some way to
split up an editor without creating a workaround referring back to the
object being edited? Perhaps with some kind of annotation?
I just have a flat class that I'm editing with a simple wizard and I've set
up a tab panel
hmmm. I think I used Proxy A for B DTO, in this demo, if I understand you
right. Or in other words I suppose I'm using the parent's proxy.
http://code.google.com/p/gwt-examples/source/browse/trunk/WalletInventory/src/com/gonevertical/client/views/widgets/WalletEditItemWidget.java#95
Not sure
Hello,
I'm trying to understand EJB / hibernate / java.persistence
integration with GWT.
My problem is, that I don't get the EJB-integration running.
I tried several approaches on my own projects.
This setup is, the StockWatcher-Tutorial that I finished and tried to
add the functionality to
@Harpal Grover:
Actually there might be a solution right now. You can use Native Client
SDKhttp://code.google.com/chrome/nativeclient/to develop a C++/C application
which runs in the browser. The application
will be compiled to a binary and then transmitted to the client/browser
where it is
Of course you can achieve that with GWT. Note: GWT is a client side
toolkit. So it won't help you with the server side stuff (Spring, JSP,
etc).
The question is whether it is not easier to use a traditional javascript
framework (jQuery, etc) instead of GWT because apparently you are
There is the GWT RPC XSRF
protectionhttp://code.google.com/webtoolkit/doc/latest/DevGuideSecurityRpcXsrf.html
to
make GWT apps more secure. I know that RequestFactory isn't using GWT RPC
although RF is using JSON to communicate with the backend just like GWT RPC
does.
So does RF has a
Hi Raphael,
thanks for your prompt response. I will look for the log file and
check if there is something in it.
This is server-side code. Is it possible that I have no write access
to the folder? If yes, how could I change this running in development
mode?
If what I am doing is too much of a
Problem solved in the end thanks to someone on IRC!
I forgot that during the whole setup I kept using TODOs methods in my
DAO. Namely, one used by the Locator to retrieve objects with the
find() method.
As the DAO methods kept returning null, the mapping kept setting a
null value to my domain
I get the following error message when I try to install the Google
Plugin for Eclipse 3.7:
Cannot complete the install because one or more required items could
not be found.
Software currently installed: Shared profile 1.0.0.1308118821836
(SharedProfile_epp.package.java 1.0.0.1308118821836)
speaks there guys,
I am facing a problem with my GWT application and believe that you can
help me.
1º when the user tries to refresh the page, or by the F5 button or
refresh button of the browser I do not want to miss the screen is
open. Today when I upgrade the browser back to the login screen
Thanks
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/oGH4QFoarUgJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To
I tried to connect my WGT Application with EJB via JBoss by doing this
Tutorial:
http://jamies-gwt.blogspot.com/2010/03/walkthrough-integrating-gwt-with-jboss.html
I used GWT 2.4, Eclipse Indigo, Jboss 6.1.0.Final and this Eclipse Plugin:
1.) The basic idea is that you store information about where you are (and
possibly other state information) as a String in the URL hash fragment
(e.g. http://app.example.com/#ShowPerson:5).
This basic idea is described in
According to the last GoogleIO (2011) the session on HTML5 and GWT stated
that Drag N Drop was supported on IE 8+. I have been unable to get it
working because in the code the DragDropEventBase.DragSupportDetector has a
problem with the function detectDragSupport. In IE the ondragstart
Hi people!
I would like to ask you how framework or utility is used for CSS
optimization. I saw, that GWT optimize CSS definitions that groups
same properties. Do it some more optimizations? Is it hard-wired in
GWT or is it separate utility usable outside of GWT?
I've got idea how CSS
Not to get this started again but umm... firefox 8 Yeah.
Tomorrow.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/2VzWpqSVRfEJ.
To
premature optimization is the root of all evil
Saying that you, can find more infos about GWT's CSS optimizations in the
official gwt
docshttp://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideClientBundle.html#Optimizations
.
--
You received this message because you are subscribed
The following code works fine if i do HTML = new HTML(a href=#
onclick=window.test()Hi 123I/a'); ( Meaning HelloWorld gets Printed )
But the same HTML from inside a RichTextArea does not get printed .
I am doing missing something here
MyPanel
{
RichTextArea ss = new RichTextArea ();
Don't worry. I am on it.
Once it is once I'll start checking in changes. Hopefully It'll be pain
free.
On Mon, Nov 7, 2011 at 12:19 PM, FanFan Huang vorte...@gmail.com wrote:
Not to get this started again but umm... firefox 8 Yeah.
Tomorrow.
--
You received this message because
i dont think i understand what you want to do here.
if you want to save an object, you have to serialize it write it to
server.
if you want to use http, you can do it with POST (multipart), on
serverside, you need to write a servlet to handle the request: parse it
write it to wherever you want
Gracias Jeffrey ;) So, as I've understood, the best thing is to check
if application is executing in production mode, and if not, use
GWT.getServletContext().getRealPath(my_app), right?
Thank you very much!
Cheers!!
On 7 nov, 14:59, Jeffrey Chimene jchim...@gmail.com wrote:
On 11/6/2011 11:23
On 11/07/2011 06:33 PM, Sabbia wrote:
Gracias Jeffrey ;) So, as I've understood, the best thing is to check
if application is executing in production mode, and if not, use
GWT.getServletContext().getRealPath(my_app), right?
Well, the exact mechanism that's inside the if(production) {} is up to
This is pretty frustrating. Is this post even going to show up? Who knows.
Probably not. Is there a screen where I can see all of the posts I've
recently made? Not that I can find. If there is one it's hidden and not
easy to access.
--
You received this message because you are subscribed to
Ok Jeffrey, it's all clear now! I thought there was a way to set the
base url, but there is not, as you've said, I've to play with the
GWT.isProdMode and get the base url.
Thank you very much, you've been very, very helpful.
Greetings!!
P.S.: y buena suerte también para ti ;)
On 8 nov, 02:57,
I'm running into the same problem. Can anyone provide some pointers
in how to resolve this issue? Many Thanks!
On Nov 2, 9:33 pm, Karthik Reddy karthik.ele...@gmail.com wrote:
I am following the instructions as documented at:
Folks just a small type in the post , I do window.call instead of
window.test(). Still have the same issue . Any thoughts .
On Mon, Nov 7, 2011 at 1:58 PM, gangurg gangurg gang...@gmail.com wrote:
The following code works fine if i do HTML = new HTML(a href=#
onclick=window.test()Hi
http://groups.google.com/groups/profile?enc_user=jCryhhML3namdQbB_nNnp4KqFIbCWMj6vob75xS36mXc24h6ww
On Nov 7, 7:10 pm, CSchulz csch...@acumeta.com wrote:
This is pretty frustrating. Is this post even going to show up? Who knows.
Probably not. Is there a screen where I can see all of the
i need the whole step to Integrated GWT.thanks
--
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
Did you ever call exportMyFunction2?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/t3GfHd8ZwxsJ.
To post to this group, send email to
Yes i Did . As i posted , earlier this works from a standalone HTML . if
this is embedded inside the RichTextArea then onClick is not getting fired
.
I am thinking it could be because of the Iframe
On Mon, Nov 7, 2011 at 8:48 PM, Danny Kirchmeier da...@kirchmeier.uswrote:
Did you ever call
Hi,
Following e.g works only for Name of column header i.e. when we move
mouse on name of column header then only tool tip appear.
CellTable ct;
ct.addColumn(col, SafeHtmlUtils.fromSafeConstant(span title='!!!tool
tip text goes here!!!'---header text---/span));
We want too tip on entire column
OK, I think it's really ready for review now.
http://gwt-code-reviews.appspot.com/1577806/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/1578810/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
LGTM
http://gwt-code-reviews.appspot.com/1578810/diff/3001/dev/core/test/com/google/gwt/dev/util/StringInternerTest.java
File dev/core/test/com/google/gwt/dev/util/StringInternerTest.java
(right):
LGTM. Thanks for doing this!
http://gwt-code-reviews.appspot.com/1586803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
81 matches
Mail list logo