The docs/information for how to get stack traces working in superdevmode
are very, very poor.
By the sound of it, the two options are:
(1) Deobfuscate your stack traces on the server (see
StackTraceDeobfuscator)
(2) Emulated stack traces
However, I can't get either of these to work in
Looking at the stock watch example it is helpful, love open source but it
makes things so hard because there are so many solutions to choose from.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this group and stop
While debugging, I have a dom Element that looks like (Element.toString()):
span id=_TxMrk_19 key=amt/span
When reading the property value I get the following:
element.getPropertyString(id) - _TxMrk_19
element.getPropertyString(key) - null
Why does reading the key property value
Maybe 'key' is some sort of reserved attribute. Try rename it to data-key.
As of HTML5 the data- prefix should be used for custom attributes.
-- J.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this group and stop
Hello Group,
I am using GWT2.5.1 wit standard package (DataNucleus on Appengine).
In case client creates an Entity that holds string longer than 500 chars,
the RequestFactory call will create an error since the Appengine dos not
allow Strings longer that 500 characters. - This is how it should
I have been doing some reading finding that RequestFactory may be a good
solution for me. I would like to connect to an existing MSSql database but
can not find any good step by step example like a StockWatcher example.
Does anyone have any good resources because a lot of the documentation I
Server stack trace would be interesting. Looks like a NullPointerException
on server side.
Extend RequestFactoryServlet and then use the protected super constructor
which allows you to provide a custom ExceptionHandler. The custom
ExceptionHandler could log the server exception to see whats
Try rename it to data-key. As of HTML5 the data- prefix should be used
for custom attributes.
Hmmm.. I was sure this would work, but doesn't :(
I see this:
span id=_TxMrk_19 data-key=amt/span
But get this:
element.getPropertyString(data-key) - null
Can somebody try this?
Note:
Oh, just realized that you have used getPropertyString(). You better use
getAttribute().
-- J.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
To be more precise:
You can use getProperty() for actual properties like id. A list of all
properties of a DOM
element: https://developer.mozilla.org/en-US/docs/Web/API/element
For everything else you have to use getAttribute().
-- J.
--
You received this message because you are subscribed
My application sends a byte array such as [0, 0, 0, 0, 0, 0, -61, 81] that
is converted from a long type of value such as 50001 to client. I used the
following code to convert a byte array to a string
new String(data, 0, data.length, UTF-8) where data is byte[] such as [0,
0, 0, 0, 0, 0, -61,
That did the trick ;).. Thanks, it works when using getAttribute().
I tried that before, but got an exception because I was doing a
getAttribute() on a text Note (using instanceof Element instead of
Element.is(..) ;).
And from this stackoverflow post, I thought that I should use getProperty()
You are misunderstanding the String constructor. It uses the UTF-8 charset
to convert each byte in the array into an UTF-8 character. The string class
can not know that this byte array represents a 64 bit long.
In pure Java you could use ByteBuffer to get back a long from your byte
array. As
A bit confusing this Property/attribute thing...
Yeah. Nice link.
I think I haven't got it right either but at least getAttribute works. Also
if you name the attribute 'data-key' I think you have to use
getPropertyString('dataKey').
-- J.
--
You received this message because you are
Hi,
Attributes are part of the html markup (tag attributes). Parameters are
object parameters of the DOM JavaScript object.
David
On Thu, Jul 4, 2013 at 10:19 PM, Jens jens.nehlme...@gmail.com wrote:
A bit confusing this Property/attribute thing...
Yeah. Nice link.
I think I haven't got
@David: thanks for the short and clear explanation.
I googled a bit more, and did find this also useful:
LINKEhttp://stackoverflow.com/questions/6003819/properties-and-attributes-in-html
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To
Thomas Broyer has uploaded a new change for review.
https://gwt-review.googlesource.com/3650
Change subject: Add NavigableSet, NavigableMap to GWT and retrofit TreeMap
and TreeSet to implement it.
..
Add NavigableSet,
Thomas Broyer has posted comments on this change.
Change subject: Add NavigableSet, NavigableMap to GWT and retrofit TreeMap
and TreeSet to implement it.
..
Patch Set 1:
Moved from
Patch moved to Gerrit: https://gwt-review.googlesource.com/3650
http://gwt-code-reviews.appspot.com/1839803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
---
You received this message because you are subscribed to the Google Groups GWT Contributors group.
To unsubscribe
Hello Leeroy Jenkins,
I'd like you to reexamine a change. Please visit
https://gwt-review.googlesource.com/3650
to look at the new patch set (#2).
Change subject: Add NavigableSet, NavigableMap to GWT and retrofit TreeMap
and TreeSet to implement it.
Julien Dramaix has posted comments on this change.
Change subject: FileUpload: extending FocusWidget instead of Widget so as
it exposes many features which already are in the file-input element:
click(), focus(), mouseevents, keyevents, etc.
Roberto Lublinerman has posted comments on this change.
Change subject: Adds support for unwrapping of thrown non-jso objects from
JavaScriptException.
..
Patch Set 1: Code-Review+1
I am not familiar with this code, it
22 matches
Mail list logo