I guess that I should explain what 'fails' means.
-- We're looking to add items to the list when both the TrailerID and TripID fields are empty.
The failure is that, the trim() checks in Java, trim the 'whitespace' which in this case are null characters in the String. So the comparison is successful and some items get added to the list.
But in JavaScript those calls to trim appear to be seeing an array of 0's, which it is not trimming. So the comparison fails and nothing gets added to the list.
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment