Archive for June, 2009

Say you have a panel, that contains a form and you want to get the values for the fields of that form, one way to go on about it is to use findByType(): Find a component under this container at any level by xtype. Parameters: xtype – the components xtype Returns: an array of components […]

So… I had to set up a GXT development environment for myself from scratch, so I thought I d share the experience. Getting the JDK was painfull I ll spare you the rant, however I will say that Sun requires that you are registered to download the JDK, after a email like the one below: […]

There seems to be some sort of problem when you have to add a FormPanel to a Panel in GWT-Ext 2.0.6. As a workaround you can simply use a Panel and set the layout to FormLayout. Hope it helps

The past 18th of June we had a meetup. This month’s meetup topic was Behaviour Driven Development presented by Claudio Perrone and Andre . It was an overview of the topic and how does it work as well as some examples with cucumber , Andre is a QA Professional and himself and Claudio demonstrated how […]

After some time messing with GWT-Ext I found a few problems on this front: – running the test takes too long ( I m writting this post as I wait for the tests to run) , for example to run a test like the one below, takes 10 seconds, and that is after you ran […]

I m seriously used to the Resharper key map in visual studio, so when doing Java development I felt a bit handicapped, unfortunately I cant use IntelliJ IDEA (did the 30 day trail and loved it) so after a quick google I found this. Its not perfect but it works.

This is a simple example on how to make a ComboBox in Gwt-Ext to populate with XML. HttpProxy proxy = new HttpProxy(“xml/combo_data.xml”, Connection.GET); final RecordDef recordDef = new RecordDef(new FieldDef[] { new StringFieldDef(“id”), new StringFieldDef(“value”) }); XmlReader reader = new XmlReader(“comboitem”, recordDef); final Store store = new Store(proxy, reader); ComboBox combo = new ComboBox(); combo.setLabel(“Combo […]