Google Code

Re: UiBinder - VerticalPanel not applicable for the argument SelectElement ...

GWT Group - Wed, 06/30/2010 - 00:00
try:

<g:VerticalPanel>
<g:Label>Discovery</g:Label>
<g:ListBox ui:field="discovery"/>
</g:VerticalPanel>

or:

<g:HTMLPanel>
<table>
<tr><td>discovery</td></tr>
<tr><td>
<select ui:field="discovery"/>
</td></tr>
</table>
</g:HTMLPanel>

HTML-elements and widgets can only be mixed in a HTMLPanel...

Categories: Google Code

Re: Dynamic UI rendering using GWT

GWT Group - Wed, 06/30/2010 - 00:00
I have used UiBinder in a twisted way. Create a base user interface
using UIBinder with ALL widgets that you will ever need on the page.
Based on the run time data, hide/remove from parent the unwanted
widgets. Ofcourse it depends on the application as to whether this
design is feasible.
Prashant
Categories: Google Code

Re: GWT.setUncaughtExceptionHandler not working

GWT Group - Wed, 06/30/2010 - 00:00
Dear Isaac,
Wonderful!. Your solution is working well.
Thanks a lot!.
-Moorsu
Categories: Google Code

Re: More than one module

GWT Group - Wed, 06/30/2010 - 00:00
Yes, you can have more than one module.
If you use Maven, you can view gwt maven plugin for detail.
Categories: Google Code

Re: GWT htaccess to disable cache

GWT Group - Wed, 06/30/2010 - 00:00
Thanks for the clarification.
Categories: Google Code

Re: GWT htaccess to disable cache

GWT Group - Wed, 06/30/2010 - 00:00
200->304 is not only valid, it is in fact more optimal than
200->200->... While it is "cached", the cached copy is not actually
used until the 304 response comes back. So, you can be sure that you
won't be getting a stale copy, but you also won't be wasting a
transfer if the file hasn't changed between visits.
Categories: Google Code

Re: GWT htaccess to disable cache

GWT Group - Wed, 06/30/2010 - 00:00
I don't know. I must admit that I'm going by the phrase "The resource that
should never be cached is the bootstrap script..." at
[link]
the "Perfect Caching" topic.
What we want is that the browser always send a
Categories: Google Code

Re: Safari 5 - (RangeError): Maximum call stack size exceeded

GWT Group - Wed, 06/30/2010 - 00:00
hi, what is the svn command to download 2.0.3 source? thanks
Categories: Google Code

Re: GWT htaccess to disable cache

GWT Group - Wed, 06/30/2010 - 00:00
Isn't having a 200 after a redeploy and 304 afterwards the behavior
we're looking for? What we want is that the browser always send a
request to the server to check if a new *.nocache.js is available, or
otherwise use the cached one (because there's no reason to download
the exact same file again). In other words, what we want is that the
Categories: Google Code

UiBinder - VerticalPanel not applicable for the argument SelectElement ...

GWT Group - Wed, 06/30/2010 - 00:00
Background:

I'm using the UiBinder *.ui.xml files to create a modestly complex
layout. I elected to use the DockPanel and VerticalPanel to put things
into four columns. Within each Vertical Panel I started using <table>
and <tr> tags, but found they were not compatible. It is now use
<g:cell> and <g:Label> tags instead, but I'm still running into issues

Categories: Google Code

Re: GWT htaccess to disable cache

GWT Group - Wed, 06/30/2010 - 00:00
response headers using "ExpiresDefault "access""
0) compile
1) deploy
2) reload
response headers after first load after deploy
status: 200
------------------------------ ----------------
Server: Apache/2.2.15 (Debian)
Last-Modified: Tue, 29 Jun 2010 23:58:32 GMT
Etag: "2e800b-105f-48a3403b57a00"
Accept-Ranges: bytes
Categories: Google Code

Re: Anyone finds Contacts2 confusing?

GWT Group - Wed, 06/30/2010 - 00:00
Thank you guys for all the insight. As Sean and Thomas pointed out, I
do believe that being able to junit test the "P" is a good idea and
thats what drawn me to look at the MVP-2. It was only after looking at
the example and realized that it took so much effort to it and make me
think it might be counter productive.... at least in the short term.
Categories: Google Code

Re: GWT htaccess to disable cache

GWT Group - Wed, 06/30/2010 - 00:00
No, I don't have it working yet. The difference seems to be that after a
compile/deploy sequence, w/o clearing the cache, w/ the .htaccess from
the docs, I see the following status sequence for the nocache
200 -> (reload) -> 304 -> (reload) -> 304...
Using the other .htaccess, I see the following status sequence for the
Categories: Google Code

Re: GWT htaccess to disable cache

GWT Group - Wed, 06/30/2010 - 00:00
OK. I got it working now.
Categories: Google Code

Re: GWT htaccess to disable cache

GWT Group - Wed, 06/30/2010 - 00:00
Right. Except that I get a 304 on the *nocache* after reloading w/ that
.htaccess fragment. What do you see?
Categories: Google Code

Re: Cannot parse value: "res.xxx" as type ImageResource

GWT Group - Mon, 06/28/2010 - 00:00
Yes this is the problem. Sorry again, I have to be more careful :(((
Categories: Google Code

GWT Gmail API

GWT Group - Mon, 06/28/2010 - 00:00
Googling for this yields a lot of results that are not applicable for what
I'm searching for.
Is there a GWT Gmail API so that given an email and password, I can see a
list of their contacts ?
Categories: Google Code

CSS Localization

GWT Group - Mon, 06/28/2010 - 00:00
Is it possible to localize the css in a CssResource so that during the
translation phase of product development, css tweaks can be made to
adjust for language specific spacing and formatting issues?

if not, what's the current best practice to work around these issues?

Categories: Google Code

Re: TabPanel - 100% height for client widget?

GWT Group - Mon, 06/28/2010 - 00:00
I think you need call pnl .setHeight(Window.getClientHei ght()) method.
Categories: Google Code

Re: Creating tr / td's with UiBinder, how?

GWT Group - Mon, 06/28/2010 - 00:00
But UiBinder internally uses a <div> to "parse the HTML" (see
UiBinderUtil.fromHtml)

Also, I didn't notice earlier, but you cannot use widgets that way,
they must be included within other widgets (only exceptions: some
custom parsers, and HTML markup inside an HTMLPanel, but they're still

Categories: Google Code
Syndicate content