I'm only just starting to dive into GWT internals but I believe to do
this you will need to create a Parser for your widget to be recognized
internally by UiBinder.
I want to allow people to add javascript extensions to my app using an
API I'll make with GWT, so I don't want them to be able to be able to
access private variables my app uses.
The problem is that GWT does symbol obfuscation so there is no way to
have a list of unallowed variables.
On Jun 19,
There is a GWT module you can include that might make life a bit
easier for you. The second link is the authors blog. If you go through
his blog history you'll find references to articles about the module
and how it works.
http://code.google.com/p/gwt-exporter/
http://timepedia.blogspot.com/
On
Hi again,
So, your list responds to clicks...
Maybe if you posted what's exactly in your onClick() method I could
help you troubleshooting =/
PS : I've sent you another message, that was about using a handler
instead of a listener, 'cause listeners are deprecated. I write it
again for other
Helo Tom,
Please take a look at
http://code.google.com/p/orcades-gwt-spring/ for MVP integration
http://code.google.com/p/orcades-gwt-spring/and
http://code.google.com/p/net-orcades-spring/
http://code.google.com/p/net-orcades-spring/You will find some info.
On Mon, Jun 21, 2010 at 8:07 PM,
The one half of Expenses isnt even MVP. The one you access via
Expenses.html is a hard-wired app. That is the one they were showing
at Google I/O.
The other part, the Scaffold app I believe is what Roo spits out found
under Scaffold.html. I'm not sure as to just how much of that has been
hand
Your essentially asking the wrong question. I think its better to
think of by how much will GWT or products similar to GWT reduce the
load on a server.
You have to consider the fact that every user accessing a traditional
website backed by a templating engine involves alot of resources for
each
I wanted my DecoratorPanel's border to look like
http://img189.imageshack.us/img189/6121/fancyborder1.png
where the white space is where my widget is.
the problem is when i set the top left corner to be the top left box of the
image, i get all the white space stuff as well.
how do i crop the
Aha, that explains it.
So I need to do some heavy optimization.
Thanks for your answer.
On Mon, Jun 21, 2010 at 9:46 AM, Chris Boertien chris.boert...@gmail.comwrote:
In devmode you are running within a JVM, production is running from
the browsers javascript engine.
Your probably getting
superb! that's helpful info. thanks a whole lot.
your response leads me to custom element parsers, which prompts me to
try figuring out how to register one of my own. and i find one
discussion here -
Yes, but think that user will ask for more interactivity... resulting
in more requests. But, of course, bandwidth, CPU and memory will be
saved. They will be saved more is a good architecture is used like a
Rest-like server, I think.
Olivier
On Jun 22, 10:33 am, Chris Boertien
If your need is only to define new view (with few logic), maybe using
a descriptive language will be better. You can write a templating
engine using GWT like a XUL interpreter or something like that. This
is not the best approach for optimized JS (file size, speed...) but
may be the best
Well this is similar to the Generator/Factory concepts.
They don't want to go with this approach although i was able to load the
Factory/Generator class from the server and use it in the client code to
generate my UIs from the definitions POJOs.
Since they have a flash background, they want to
Hello
Here is my problem:
When I call my rpc from inside the war everything works well, but when I
call the same rpc calls from the same GWT javascript client stuff but
injected into an external web site the rpc makes the call with HTTP OPTIONS
instead of HTTP POST method.
I'm very interested in
Hi,
I tried to do the following:
University u = new University()
{
{
setName(Ahmed);
setPrice(500);
}
};
University u2 = new University();
u2.setName(Hassan);
u2.setPrice(1000);
Hi,
How does one handle events from cells in a CellTable( specifically a
SelectionCell ) ?
--
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-tool...@googlegroups.com.
To unsubscribe from this
Not the parent object. Your class is erp.client.Test but the class
of u is erp.client.Test$1. $1 means the first anonymous class of
Test. This is a Java behavior.
Olivier
On Jun 22, 1:22 pm, ahhat...@gmail.com ahhat...@gmail.com wrote:
Hi,
I tried to do the following:
University u = new
I don't know the full story, but maybe the problem is not a technical
one. You can't change technology (Flash = GWT) without doing some
change in your architecture... If they don't want to explore new way,
they must keep their technology.
Olivier
On Jun 22, 12:34 pm, rudolf michael
Thanks for the quick reply, I found out that I was totally
misunderstanding what the {{ }} means ...
thank you...
On Jun 22, 2:58 pm, Olivier Monaco olivier.mon...@free.fr wrote:
Not the parent object. Your class is erp.client.Test but the class
of u is erp.client.Test$1. $1 means the first
Hello Folks,
I am using incubator gen2 ScrollTable. I have a use case, wherein i have to
detect that when the user has scrolled to the last row (or somewhere around
the last row), then load a fresh set of rows in the table, via a rpc call.
TO achieve this i have extented ScrollTable and
Probably because you are trying to make cross-domain requests (a different
port, domain or protocol)
See this post -
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/a080757856163097
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/a080757856163097
Under here:
http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/ui/PushButton.html
Go to the super class (CustomButton) and it's detailed there.
On Jun 17, 11:54 am, david david.l...@restonrobotics.org wrote:
On Jun 14, 1:26 pm, David Grant davidgr...@gmail.com
You may want to simply wrap the excellent code editor CodeMirror
(http://marijn.haverbeke.nl/codemirror/). Someone has already wrapped
it for GWT: http://code.google.com/p/gwt-codemirror/
-Richard
On Jun 18, 1:45 am, NS Gopikrishnan nksgopikrish...@gmail.com wrote:
Hi all,
I want to develop
Thanks for the response... A few questions come up:
1. I'm using an HttpServlet for authentication, along with
RemoteServiceServlets for GWT-RPCs. But if I create an HttpSession in
my authentication servlet, I cannot seem to access it on the
RemoteServiceServlet... How am I supposed to access it?
Ok I just answered 1.5 of my questions:
#1- It actually does work, using getThreadLocalRequest().getSession().
My test had failed for an alternate reason.
#4- (second half) Sessions are per-browser, so multiple tabs in the
same browser share sessions, but cross-browser tabs do not.
The other
Almost all of the problem's listed below are bad advice and I suggest you
disregard them. Except for the it's a graphic designer mindset - this
statement is correct. Thankfully we no longer need to code our layout and
style in java!
The main problem I have with UiBinder is that when you try and
I have two pages, the first page contains an iFrame that loads the
second page. The two pages are on different hosts. The GWT
application runs in the second page. To be more precise,
let the first page = PageA, and the second page = PageB
- PageA is on Domain1. It has iFrame src points to
Actually since my application has multiple segments, I cannot use
cross site linker.
PageA really has nothing to do with the script, but it seems GWT
hosted.html tries to get Location.href from the parent window rather
than the iFrame.
On Jun 22, 9:41 am, randasin r4nd7...@gmail.com wrote:
I
Hi,
I don't want to say stupidities, but isn't it a violation of the SOP
(Same Origin Policy)?
If so, i recommend you to have a look here
http://en.wikipedia.org/wiki/Same_origin_policy
and here
http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/FAQ_SOP
Regards,
Jeff
On 22 juin, 15:41,
Hi manish,
the opposite is true.
An AJAX/GWT-approach reduces dramatically the load from the servers.
I showed in an estimation that with GWT/AJAX a server is able to drive
10-50 times more clients, compared to classical web technology like
JSP, JSF
So using GWT is also a green IT topic.
The
FYI,
On Tue, Jun 22, 2010 at 2:16 PM, Rodrigo ipi...@gmail.com wrote:
Thanks for the response... A few questions come up:
1. I'm using an HttpServlet for authentication, along with
RemoteServiceServlets for GWT-RPCs. But if I create an HttpSession in
my authentication servlet, I cannot seem
FYI,
On Tue, Jun 22, 2010 at 2:33 PM, Rodrigo ipi...@gmail.com wrote:
Ok I just answered 1.5 of my questions:
#1- It actually does work, using getThreadLocalRequest().getSession().
My test had failed for an alternate reason.
great! it works with me too :)
#4- (second half) Sessions are
Not sure if I understood your question.. But yes, the cookie is
accessed both at the client and at the server. So the server would set
it to 'loggedIn=true' upon a successful login, and clear it whenever
the user logs out OR if the server gets a request for private
information but the Session
It shouldn't violated SOP since PageA really has nothing to do with
PageB.
PageA just displays PageB in an iframe. PageB scipts should do their
work in the context of host page B. and I have no intention to
violate SOP. But I don't know GWT bootstrap well enough to understand
what hosted.html
Ok I confirmed it's not SOP violation in my design. The script runs
fine in web mode. It's only considered a violation in host/
development mode.
I am not sure how to configure the DevMode to get around the
violation. Any thoughts would be appreciated.
On Jun 22, 10:07 am, randasin
Actually, if i'm not wrong, the JavaScript that your client recieves
comes from page B, on domain 2.
Well, you got this error :
Permission denied for Domain2 to get property Location.href
from Domain1.
It looks like you're trying to use something situated on domain 1
(Location.href) from domain
It's this line on hosted.html in GWT bootstrap process that causes SOP
violation
Line 227: var url = topWin.location.href;
I am guessing GWT only uses hosted.html in DevMode. That's why there
is no violation in web mode?
Does anyone have insights on a workaround?
--
You received this message
Hi,
At this time, we haven't set a date for open-sourcing the code.
Rajeev
On Thu, Jun 10, 2010 at 9:06 AM, fedy2 defav...@gmail.com wrote:
Hi,
when the GWT eclipse plugin source code will be released?
Thanks,
Federico
--
You received this message because you are subscribed to the
hi Andres,
I m encountering the following errors while running the application.
Plz check them
The site for access:http://www.ndbc.noaa.gov/data/5day2/42040_5day.txt
[WARN] Server class 'com.google.gwt.json.client.JSONException' could not be
found in the web app, but was found on the
Hey,
I try your approach with cookies and seems to works fine!
Thanks :)
On Tue, Jun 22, 2010 at 3:07 PM, Rodrigo ipi...@gmail.com wrote:
Not sure if I understood your question.. But yes, the cookie is
accessed both at the client and at the server. So the server would set
it to
Created a bug report:
http://code.google.com/p/google-web-toolkit/issues/detail?id=5049q=same%20origin%20policy%20violation
On Jun 22, 10:32 am, randasin r4nd7...@gmail.com wrote:
It's this line on hosted.html in GWT bootstrap process that causes SOP
violation
Line 227: var url =
I have some JSNI code that assign a function to a variable in the
window as suggested in JSNI document: Calling a Java Method from
Handwritten JAvascript (http://code.google.com/webtoolkit/doc/latest/
DevGuideCodingBasicsJSNI.html#calling)
The problem is if the JSNI code runs inside an iframe,
Hi, I'm not sure this answers your question, but GWT does have an XML
API, see [1].
FWIW I did do some work previously with GWT and XML, but the lack of a
createElementNS method was a real blocker. You can seach an XML
document in a namespace aware manner, because the Node interface has a
Kevin,
It depends one the which generator can know which interface.
If the generators can know both interfaces, you can create only one
generator. All code generator is pushed to sub classes like
IntrerfaceAWriter and InterfaceBWriter. The generator looks for
several interfaces from the marker
The iframe is the GWT iframe or another one? Do you have a usecase ?
Olivier
On 22 juin, 18:37, randasin r4nd7...@gmail.com wrote:
I have some JSNI code that assign a function to a variable in the
window as suggested in JSNI document: Calling a Java Method from
Handwritten JAvascript
hi,
is there any way to change the cursor (doesn't matter its position on
screen or if it is over certain widget) during an operation in the
server side?
I've tried adding a cursor style to the main panel with addStyleName
method, but it doesn't work. I don't know if it is for the server call
(in
I don't why it doesn't work, but I'd rule out the fact that there's a
server call in process. That shouldn't affect styling whatsoever.
On Jun 22, 2:06 pm, Iván Navarro ivan.navarro...@gmail.com wrote:
hi,
is there any way to change the cursor (doesn't matter its position on
screen or if it is
There is an Issue 4393 about this bug.
I've applyed dunhamsteve's patch and also in all binarySearch()
functions in Arrays.java and Collections.java changed:
- final int mid = low + ((high - low) 1)
+ final int length = high - low;
+ final int half = length 1;
+ final int
Try applying the style to a Widget the mouse cursor will certainly hover
above and that is not covered by other Widgets, for example a Button. Make
sure you place the cursor above that Widget.
I'm not sure if this will help, but in case the Style is properly changed on
that Widget it should also
You are right about multiple session's,
I have to implements an store to keep the sessions ID
in order to be able to have multiple users logged in without losing their
sessions :)
On Tue, Jun 22, 2010 at 4:38 PM, Bruno Lopes bruno.lourenco.lo...@gmail.com
wrote:
Hey,
I try your approach
I have a get app that has been working fine with Safari 4 for some
time. It appears that my initial RPC call no longer works after
upgrading today to Safari 5. The app works fine in Chrome, IE, and
Firefox. I un-installed Safari 5 and re-installed version 4 and the
app no longer works in that
another iframe
The setup is like this:
domain1/page1 has an iframe that loads domain2/page2
domain2/page2 has the GWT module.
In other words DOM looks like:
domain/page1
iframe (domain/page2)
iframe (gwt)
The module has the JSNI code that is intended to register a function
in page2
I am sorry I cannot help you but I join your request for a better
documentation of 2.1 Data Widget :p
On 22 juin, 03:27, asianCoolz second.co...@gmail.com wrote:
1. Is CellListPlacePickerView show all items even for huge list? not
using async?
2. Is activitymanager using aysnc?
3. i assume
Wouldn't it be better to copy the *gwt.codesvr* parameter also to a cookie?
(Probably with maxAge -1 so it would last only till browser exit.)
...so we could debug even after clicking a link.
Regards
J. Záruba
--
You received this message because you are subscribed to the Google Groups
Google
Hi,
Has the workaround been included in the codebase somewhere? Is there a
chance that there will be a point release soon?
Regards,
Pascal
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Hi,
I have problem on my GWT application. its working correctly under chrome and
Firefox but not IE.
can someone help me to troubleshoot it, is it CSS problem or scripts
problem?
thanks
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To
Here are some more comments about the things that rice pointed out.
http://gwt-code-reviews.appspot.com/620802/diff/8001/9002
File user/test/com/google/gwt/emultest/java/util/ListTestBase.java
(right):
http://gwt-code-reviews.appspot.com/620802/diff/8001/9002#newcode199
Pretty much everything we've done so far has been limited to automatically
exposing the Java-level APIs in all their ugliness. The h/v alignment values
are implemented somewhat manually, but for things like enums I really like
the idea that they can be exposed completely automatically.
On
Reviewers: jgw,
Description:
It uses friendly names.
I will post patch with adding support for names like this for
horizontal/vertical alignments (in addition, not replace to keep
compatibility with existing code) later.
Please review this at http://gwt-code-reviews.appspot.com/612803/show
I think we need a few more tests to be sure that sublists are working as
intended. If things are problematic after adding more tests, another
approach that might help would be to move the fromIndex and toIndex
fields into AbstractList -- then fix every list operation to respect
those bounds
Reviewers: mmendez,
Description:
Escaping HTML strings from the client as a good practice to avoid XSS
vulnerabilities in apps the build off of the default app.
Review by: mmen...@google.com
Please review this at http://gwt-code-reviews.appspot.com/619803/show
Affected files:
M
LGTM but would like to see more tests if possible
http://gwt-code-reviews.appspot.com/620802/diff/8001/9002
File user/test/com/google/gwt/emultest/java/util/ListTestBase.java
(right):
http://gwt-code-reviews.appspot.com/620802/diff/8001/9002#newcode199
Le 21 juin 2010 14:29, Chris Ramsdale cramsd...@google.com a écrit :
While this shouldn't be taken as a binding set of dates, we are looking to
wrap up a 2.1 RC in late Q3, with GA release in early Q4.
On 21 juin, 20:50, Joel Webber j...@google.com wrote:
We're also working to get the new
On 2010/06/21 21:54:34, markovuksanovic wrote:
in javadoc is says
The semantics of the list returned by this method become undefined if
the
backing list (i.e., this list) is structurally modified in any way
other than
via the returned list. (Structural modifications are those that change
Thanks for the explanations. I'll add some tests and if necessary
override the remove method.
http://gwt-code-reviews.appspot.com/620802/diff/8001/9002
File user/test/com/google/gwt/emultest/java/util/ListTestBase.java
(right):
Sorry to step in without being invited (though I was earlier told that
it should be expected when developing in the open), but... (see below)
http://gwt-code-reviews.appspot.com/619803/diff/1/2
File user/src/com/google/gwt/user/tools/RpcServerTemplate.javasrc
(right):
Aside from not being plugged with the History (yet), the one thing
that bothers me (a little), something that I have in my current (very
own) PlaceManager that isn't in PlaceController/ActivityManager, and
contrary to History-binding has an impact on the API, is plumbing
between PlaceController
Revision: 8292
Author: jlaba...@google.com
Date: Tue Jun 22 05:03:01 2010
Log: Adding AbstractListViewAdapter#getViews() to get the views associated
with an adapter. Also adding some tests for com.google.gwt.view.client.
Review at http://gwt-code-reviews.appspot.com/601801
Review by:
Revision: 8293
Author: jlaba...@google.com
Date: Tue Jun 22 05:23:16 2010
Log: Escaping HTML strings from the client as a good practice to avoid XSS
vulnerabilities in apps the build off of the default app.
Review at http://gwt-code-reviews.appspot.com/619803
Review by: mmen...@google.com
Revision: 8294
Author: r...@google.com
Date: Tue Jun 22 06:26:45 2010
Log: Reduce Eclipse warnings to a dull roar
Review at http://gwt-code-reviews.appspot.com/640802
Review by: j...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=8294
Modified:
committed as r8292
http://gwt-code-reviews.appspot.com/601801/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
committed as r8293
http://gwt-code-reviews.appspot.com/619803/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
LGTM if you update com/google/gwt/rpc/server/RpcServlet with this same
pattern as well.
http://gwt-code-reviews.appspot.com/653801/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/636801/diff/1/4
File /bikeshed/src/com/google/gwt/collections/MutableSet.java (right):
http://gwt-code-reviews.appspot.com/636801/diff/1/4#newcode23
/bikeshed/src/com/google/gwt/collections/MutableSet.java:23: public
final class MutableSetE extends SetE {
On
Reviewers: jgw,
Description:
Adding a null check to ShowcaseGenerator so that we don't try to write
to a public resource that has already been created. This fixes a bug
when multiple examples reference the same raw source files.
Please review this at
Just to let everyone know, I've finally gotten around to picking up this
task again, and have updated the linked wave with my proposals. Please feel
free to chime in; I could use the feedback.
Le 11 juin 2010 11:13, Thomas Broyer t.bro...@gmail.com a écrit :
On Thu, Jun 10, 2010 at 11:59 PM,
Revision: 8299
Author: unn...@google.com
Date: Tue Jun 22 10:23:10 2010
Log: Better implementation for getHandlers (the old one threw an exception
in Web mode)
Review at http://gwt-code-reviews.appspot.com/651801
Review by: fre...@google.com
Revision: 8300
Author: j...@google.com
Date: Tue Jun 22 11:13:30 2010
Log: Work around Safari 5 failures where right-shift of a non-integer is not
coerced to an integer.
See https://bugs.webkit.org/show_bug.cgi?id=40367 and
http://trac.webkit.org/changeset/60990 for details.
Patch by: jat
Revision: 8301
Author: rchan...@google.com
Date: Mon Jun 14 11:58:23 2010
Log: Optimized MutableArray creation. Added Benchmark to facilitate
comparison using a single graph.
Review at http://gwt-code-reviews.appspot.com/613801
Review by: r...@google.com
Reviewers: jlabanca,
Description:
Added a guard against IndexOutOfBoundsException
Review by: jlaba...@google.com
Please review this at http://gwt-code-reviews.appspot.com/613802/show
Affected files:
M bikeshed/src/com/google/gwt/app/client/CellListPlacePickerView.java
Index:
Revision: 8302
Author: amitman...@google.com
Date: Tue Jun 22 14:48:58 2010
Log: Added a guard against IndexOutOfBoundsException
Review at http://gwt-code-reviews.appspot.com/613802
Review by: jlaba...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=8302
Modified:
81 matches
Mail list logo