So is this a bug?
Sent from my iPhone
On 2012/2/4, at 上午7:41, Patrick Tucker wrote:
> Interesting, "MM" should also not be happy about "Jan"...
>
> On Feb 3, 4:12 am, tong123123 wrote:
>> the code is as follow:
>>
>> DateTimeFormat df = DateTimeFormat.getFormat("/MM/dd hh:mm:ss
>> a"
I sent the context into the list editor. AddItem or adding an item
(element) works good now. Would be nice if it took care of adding an
element on its own. Seems it carries request factory context in the editors
chain.
http://code.google.com/p/gwt-examples/source/browse/trunk_2012/DemoGwtEdito
I committed the working code that will load the ListEditor items and flush
list will not fail. Works quite nice. I added some data on the server side
to figure that out.
I'm wondering what the best method to* add an item* to the list is.
Typically I would need a reference to the context, but i
Interesting, "MM" should also not be happy about "Jan"...
On Feb 3, 4:12 am, tong123123 wrote:
> the code is as follow:
>
> DateTimeFormat df = DateTimeFormat.getFormat("/MM/dd hh:mm:ss
> a");
> try{
> df.parseStrict("2010/Jan/20 13:10:59 AM");
> }catch{IllegalArgumentExcept
Hello,
I have an issue setting css class to the CellTable header.
After initiating all columns and their headers I'am trying to
mannually add css class. I'am doing this in scheduler in order to have
all elements attached into DOM.
This code works perfectly in Google Chrome, but fails in Mozilla, h
Wahoo!! I just solved the issue. This got the ListEditor.setValue(T value)
to work correctly and then rendered the items. Awesome! I'll disclose the
results later.
I had forgotten to annote the owned collection in PeopleData:
@Persistent(defaultFetchGroup = "true", dependentElement = "true")
h
Thanks Patrick for checking into this. I really appreciate the help. :)
I added getPaths to the context. Although I'm still puzzled by why the
ListEditor list is null on flush.
http://code.google.com/p/gwt-examples/source/browse/trunk_2012/DemoGwtEditor/src/com/gonevertical/client/views/peoplee
On 03/02/2012 00:19, chstrong wrote:
How can I add an image with a surrounding link within uibinder? I have
an image resource and around that I need a link.
Hi hkopp Right now I'm facing the argument type mismatch error, but i'm
unable to find the cause. I guess you were able to do it since there were
no more comments. How did you found the cause? how did you solved? thanks a
lot.
--
You received this message because you are subscribed to the Goog
I was hoping to implement some simple customizable themes for my
project. Nothing fancy, just pretty much changing color schemes.
Based on the wiki for CssResource I was planning on using @eval to
determine colors and things at runtime like so:
@eval userBackground com.module.UserPreferences.getU
On Friday, February 3, 2012 11:58:16 AM UTC-5, Brandon Donnelson wrote:
>
> Thanks for the comments and looking at my code! :)
>
> I may be getting close to the solution. I have forgotten .with("todos") in
> the request factory request so they aren't being loaded in the initial
> request. Not s
Thomas thanks for putting so much work into the GWT codebase! :) Amazing!
Can I ask if the having the ListEditor as a sub editor if driver should
call the context.edit or context.create (for TodoDataProxy in list) for
list creation or editing?
I'm puzzled that on save the flush, the ListEditor
Add two methods
@UiChild
public void addLeft(Widget w) {...}
@UiChild
public void addRight(Widget w) {..}
Then make sure you widget implements HasWidgets or similar.
In your uibinder you can now use
--
You received this message because you are subscribed to the Google Group
I take that back. UiChild should do it perfect. Good example here:
http://stackoverflow.com/questions/8375480/gwt-custom-widget-with-child-elements-configuration-in-uibinder-like-custombutt
On Feb 3, 8:09 am, Jens wrote:
> You can use @UiChild, see:
>
> http://google-web-toolkit.googlecode.com/
That will work. I'd still prefer to use descriptive xml like
DocLayoutPanel. From what I see of @UiChild it just enforces the types
of children it does not allow for quite what I was looking for. (but
probably good enough)
-Dave
On Feb 3, 8:09 am, Jens wrote:
> You can use @UiChild, see:
>
> ht
Thanks for the comments and looking at my code! :)
I may be getting close to the solution. I have forgotten .with("todos") in
the request factory request so they aren't being loaded in the initial
request. Not sure if this triggers the correct backing. But all the
chaining and list editor stuff
Last night I was tying to turn off CSSResource class obfuscation by reading
the docs:
http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html#Selector_obfuscation
It talks about using * *that still changed the class names (adding prefixes) and
I eventually had to dig into the code t
For anyone still (*sigh*) dependent on GWT 1.4, the removal of the
isSameNode function in Firefox 10 will likely result in JavaScript
errors in your compiled modules.
https://bugzilla.mozilla.org/show_bug.cgi?id=687400
https://developer.mozilla.org/en/Firefox_10_for_developers
https://developer.mo
On Friday, February 3, 2012 3:06:29 PM UTC+1, Patrick Julien wrote:
>
> Start by checking your paths.
>
>
> PeopleDataProxy has a field called "todos" but PersonEditor has @UiField
> called todosEditor with no custom path
>
Yes, but that's how it's supposed to be: in the absence of @Path
annot
Illegal child in a text-only context. Perhaps you are
trying to use unescaped HTML where text is required, as in a HasText
widget? Element (:83)
--
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
somevalue
i tried above, and not working
--
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, se
You can use @UiChild, see:
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/uibinder/client/UiChild.html
-- J.
--
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://gr
http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinderI18n.html
--
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/-/aWLqgmI4oKsJ.
To post to
how to use i18n for list box's item ?
--
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
google-web-tool
Start by checking your paths.
PeopleDataProxy has a field called "todos" but PersonEditor has @UiField
called todosEditor with no custom path
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
ht
i have a css where i placed my styles,and i wanted to read the styles
from my program,is there any way to read them.
thanks in advance
--
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@
Hi
Is there an officially documented way on integrating GWT with Spring
Security. There are numerous blog entries around, all specifying
different methods.
'Surely', there must be an official line on how to secure your app ?
I don't think this is good enough:
http://code.google.com/webtoolkit/
I have a widget that would benefit from custom UiBinder markup (like
DockLayoutPanel)
I've looked through the docs, the source and the web and not found an
example of how this is implemented. Has anyone done this?
I'm looking to do something like this
--
You received this message beca
Hey guys,
I am getting quite random internal GWT errors when I am using the GWT
canvas widget in complex cases. Sometimes, seemingly random, JSNI
errors are fired such as:
com.google.gwt.dev.shell.HostedModeException: Something other than an
int was returned from JSNI method
'@com.google.gwt.dom.
Hi all
I would like to present you my new GWT library, raphael4gwt :
http://code.google.com/p/raphael4gwt/.
Raphaeljs is an easy to use api for vector drawing that support all browsers,
inclusive old versions of internet explorer
Unlike the project raphaelgwt, raphael4gwt implements 100% of
I had this problem for ages. I think for a beginner you are best learning
to do it from scratch as described here:
http://code.google.com/webtoolkit/articles/mvp-architecture.html
It's a lot to get your head around, it took me weeks and weeks to really
get what was going on.
Everyone has thei
Just thought I'd post an update here as I solved this problem The problem
was not at all that I couldn't pass data to the client side. You can indeed
create a regular RPC Service which makes calls to the Force.com api instead
of the datastore, then pass this data to the client as a list or whate
Simply wait for all your code to be "loaded" (could be required scripts, or
RPC/RequestFactory calls to the server) before "pushing" your view into the
AcceptsOneWidget passed to the Activity#start() method.
--
You received this message because you are subscribed to the Google Groups
"Google W
See http://code.google.com/p/google-web-toolkit/issues/detail?id=5003
--
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/-/NYr_Z190Tl8J.
To post to t
Use event.getNativeCode (or simillar)
El 3 de febrero de 2012 00:14, yl chen escribió:
> newSymbolTextBox = new TextBox();
>newSymbolTextBox.addKeyPressHandler(new KeyPressHandler() {
>public void onKeyPress(KeyPressEvent even
Hi everyone,
there are lots of MVP frameworks out there like
MVP4G, Guit etc and also google's official 'Places and Activities'. I
wanted to know which is most popular framework or way of MVP
implementation in industry working with GWT.
Thanks in advance
--
You received this me
Hi,
Let's say you have a view that needs to load a library, eg the google
maps library. Some of the method offered by the view should only be
called by the activity when the map is fully loaded otherwise
resulting in errors. I need a way to hold off any UI call from the
activity until the view is
the code is as follow:
DateTimeFormat df = DateTimeFormat.getFormat("/MM/dd hh:mm:ss
a");
try{
df.parseStrict("2010/Jan/20 13:10:59 AM");
}catch{IllegalArgumentException iae){
System.out.println("error");
}
As the datetimeformat is using hh, so according to a
38 matches
Mail list logo