I'm also confused as to why ListBox wasn't updated to work with the
Editor.
I can't see how ValueListBox would ever be able to take g:item, or
anything else, as it doesn't have a zero arg constructor, so it needs
@UiField(provided=true).
The only way I've managed to give it values is in code, by
FYI: I'm using Geraldo solution above (minus the @Override
statements), as it is much easier to integrate it with the UIBinder
then the ValueListBox. Thanks Geraldo!
On Nov 15, 10:51 am, Craigo craig...@gmail.com wrote:
I'm also confused as to why ListBox wasn't updated to work
AJAX! Make a whole bunch of client / server calls, and tell people
you didn't write a single line of JavaScript. It was all generated!
On Oct 3, 11:37 pm, Noor baken...@gmail.com wrote:
Thanks Craigo,
what u said is true. However, I need some features which I can place
in my applications
This sums it up nicely: http://code.google.com/webtoolkit/overview.html
...with an emphasis on not needing to know JavaScript (in particular
AJAX). GWT = Awesome!
On Oct 3, 11:10 am, Noor baken...@gmail.com wrote:
Hi to all, I want some help from u. Many times, I have posted this
topic on
With 6 developers, we used GWT to develop on online lending
application. GWT was used as the front end, and it seamlessly plugged
into the back end software via Spring. The developers were already
skilled in Java, so the uptake of GWT was painless. Development was
completed within a few weeks,
The PopupPanel.showRelativeTo(UIObject) method is handy for this.
On Jul 22, 3:10 pm, abhiram wuntakal abhir...@gmail.com wrote:
Hi,
I had implemented a very similar functionality, where I had to display a
label as soon as there is a mouse-over on the image and where there a
mouse-out, the
http://lmgtfy.com/?q=vertical+align+page :-)
On Jul 22, 2:01 pm, David Vree david.h.v...@gmail.com wrote:
Newbie here -- struggling to get my HTML text and button to be
vertically centered within my HTMLPanel. I am using UI binder and
tried applying a style:
vertical-align: middle;
But
Hi all,
Want to add a Menu Item Separator to a Menu Bar using the UiBinder?
Here is a workaround.
It is not possible to do this:
g:MenuBar vertical=true
g:MenuItemFirst Menu Bar Item/g:MenuItem
g:MenuItemSeparator/g:MenuItemSeparator
g:MenuItemLast Menu Bar Item/g:MenuItem
/g:MenuBar
As
Hi all,
Only MenuItems are allowed in the MenuBar, so it is not possible to do
this:
g:MenuBar vertical=true
g:MenuItemFirst Menu Bar Item/g:MenuItem
g:MenuItemSeparator/g:MenuItemSeparator
g:MenuItemLast Menu Bar Item/g:MenuItem
/g:MenuBar
However, a cheeky workaround is to make a
FYI: The GWT menus don't seem to work on Android phones (and possibly
others). Probably better to go with standard CSS menus like these
ones: http://www.lwis.net/free-css-drop-down-menu/
On Jul 21, 10:14 am, Craigo craig...@gmail.com wrote:
Hi all,
Only MenuItems are allowed in the MenuBar
+1.
When the user presses load / submit / ... on my app, I enable the
glass pane, and they have to wait until the submit has completed
successfully. I see nothing wrong with this approach:
PopupPanel loadingDialog = new PopupPanel();
loadingDialog.setWidget(loadingImageAnimation);
/Images,_Tables,_and_Mysterious_Gaps
is what you're experience,
On May 20, 11:14 pm, Craigo craig...@gmail.com wrote:
When creating a Grid, FlexTable, VerticalPanel, or any other type of
table, I couldn't get rid of the gaps in the rows. The gaps would
only appear in Chrome and FF
When creating a Grid, FlexTable, VerticalPanel, or any other type of
table, I couldn't get rid of the gaps in the rows. The gaps would
only appear in Chrome and FF, but not in IE6. They were very small
gaps (about 3 pixels high). Nothing seemed to work, setCellPadding,
setCellSpacing, css with
Thanks Bufferings. UIObject.setVisible works a treat! Cheers.
On May 9, 1:33 am, bufferings bufferi...@gmail.com wrote:
hi Craigo
I think the following is better.
// show
UIObject.setVisible(myTableRow, true);
// hide
UIObject.setVisible(myTableRow, false);
This is what UIObjects
Some browsers don't like:
myTableRow.getStyle().setDisplay(Style.Display.BLOCK);
This seems to work much better:
myTableRow.getStyle().setProperty(display, );
Strange there isn't a constant value in Style.Display for blank.
O'well.
On May 7, 12:23 pm, Craigo craig...@gmail.com wrote:
Couldn't
Not sure if this is helpful, but if you don't want to put your
testharness in with your main project (for build reasons or whatever),
you will need to run multiple instances of GWT. When you do this, you
need to give them different ports. Eg: In the program arguments add:
-codeServerPort 9998
wrote:
Hi Craigo - does the @url work within a ui:style section?
As I said:
I know it works if your DataResoruce is created with a ui:data,
I
don't know when it comes from a separate ClientBundle imported with
ui:with...
--
You received this message because you are subscribed to the Google
Just like to reiterate what Thomas Broyer said:
Use DataResource with @url. It works a treat and, IMO, is a much
easier solution.
http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html#References_to_Data_Resources
On Mar 15, 3:33 pm, davidroe roe.da...@gmail.com wrote:
yes,
;
width: 149px;
height: 39px;
background: menuButtonUrl 0 0 no-repeat;
text-align: left;
cursor: pointer;
border: none;
}
On Mar 16, 10:27 am, Michael Guyver michael.guy...@gmail.com wrote:
Hi Craigo - does the @url work within a ui:style section?
On 15
Thanks Olivier. I downloaded the xsd files and added them into
Preferences XML XML Catalog. Eclipse no longer hangs when
trying to d/l the xsd files, and editing the ui.xml files is now super
fast.
On Jan 9, 2:46 am, olivier nouguier olivier.nougu...@gmail.com
wrote:
In eclipses:
I had this problem too. It only asked for the Firefox plugin after I
deleted my projects compiled javascript under the war directory.
Also, after the FireFox plugin did get installed, I then restarted
everything, and Firefox froze and asked me if I wanted to terminate
the current script. I said
When Window.open(url, _blank, ); is called, it opens a new window
without the gwt.codesvr parameter.
Is there an option to tell it to include the gwt.codesvr parameter if
running in debug mode?
It is possible to code around it with something like this:
String devMode =
I got this error as soon as I tried to use the UiBinder on Java 5,
WinXP. When I switched to Java 6, it all worked (or if I removed the
UiBinder).
On Dec 10, 6:40 am, Chris Ramsdale cramsd...@google.com wrote:
While we are in the process of determining what exactly within the Mail
sample
A little more information: I am able to compile using Java 5 (with
the UiBinder code) and run it on Tomcat running on Java 6 (Tomcat
running on Java 5 throws the error).
On Dec 10, 4:01 pm, Craigo craig...@gmail.com wrote:
I got this error as soon as I tried to use the UiBinder on Java 5
I was trying to do this also. Then I slapped myself in the head and
realised, with the UiBinder, we can now just use plain html.
So we can do stuff like this:
g:HTMLPanel
table
trtdInfo:/tdtdg:TextBox ui:field=infoTextBox//
td/tr
/table
/g:HTMLPanel
...there maybe a good reason
Hello,
I wanted to add year selection to my date picker, so I extended
MonthSelector and added the extra buttons. Everything worked
great. ...except the setStyleName.
I wanted to do this:
yearBack.setStyleName(css().previousButton());
However, the method css() returns a class
Just some code to switch the DateBox from a U.S. date into a dd/mm/
format (for countries like Australia).
Set the format in the date box:
myDateBox.setFormat(new AustralianDateFormat());
--- And here is the formatter ---
import java.util.Date;
import
27 matches
Mail list logo