Re: GWT DIV

2011-08-24 Thread matttai
if using uiBinder you can attach ui:field declaration to html elements such as a div and refer to it as DivElement in code. Check the dom package in which the DivElement lives for more supported html tag types. -- You received this message because you are subscribed to the Google Groups

Re: GWT community in Sydney?

2011-05-18 Thread matttai
Hi Dave, I'm a GWT developer in Sydney, no community as far as I know, though I wouldn't mind keeping in touch to knock heads on problems every so often. I am still strictly online for the most part though (I do have alot of other things to do outside of work usually) but its a start :) My email

Re: GWT community in Sydney?

2011-05-18 Thread matttai
Actually slipped my mind that I have attended a GTUG meeting before, and they did go through some GWT stuff (ages ago). This was when Wave was still active and they did have some fun stuff that night like Google shirt giveaways amongst other things during question time. Unfortunately I haven't

Re: Speeding up RPC response

2011-05-12 Thread matttai
Hi Carlos, What is the object types that you are returning from the server? If possible try breaking up the object and return only the fields that you need eg. If you have 3000 Person objects and you only require their firstName + LastName only, then populate only those fields on query or create

Re: Best practice for implementing an active field

2011-05-12 Thread matttai
Hi Michael, I can't think of an approach using CSS, but if I were to attack this I'd try to use either an ImageButton or an Image widget. Both widgets support mouseOverHandlers which would cover handling your hover state, whilst you can toggle the appearance of an active/inactive state with

Re: Custom Clickable Cell with CellTable

2011-05-12 Thread matttai
Hi Adam, What exactly is it that you are trying to achieve by doing this? If you wish to find the cell that was clicked and manipulate it you can also do it this way : Add clickHandler to table/grid Call getSource() on received clickEvent Cast source to grid/flextable Call

Re: MouseMove Events for CellTable / FlexTable

2011-05-12 Thread matttai
Maybe attach the handler to the table and get the cell source when the event is triggered. Get the row index from the returned cell, remove all highlight style from the table and add a highlight style to the row. Not sure how efficient this would be though given the event would need to be

testing codesplit on localhost

2011-05-06 Thread matttai
Hi guys, I'm working on a GAE + GWT project and i'm having difficulty getting a good breakdown of the chunks made when working on a local environment. When deployed to Appengine Firebug can give me a good picture of the size of each chunk / the order in which they are called etc. However in a

Re: testing codesplit on localhost

2011-05-06 Thread matttai
, matttai matt...@hotmail.com wrote: Hi guys, I'm working on a GAE + GWT project and i'm having difficulty getting a good breakdown of the chunks made when working on a local environment. When deployed to Appengine Firebug can give me a good picture of the size of each chunk

Re: Howto vertical center a Label within a SimplePanel?

2011-05-06 Thread matttai
From what I know a Label and SimplePanel both translate to a div on compilation, so what you are trying to achieve is centering a div within a div. What I think is happening is by default the inner div should take up the whole interior width so centering cannot occur. Try giving the inner div an

Re: Howto vertical center a Label within a SimplePanel?

2011-05-06 Thread matttai
both that the label does not gain the whole height of the outer SimplePanel. It has its own height and it's located at the top of the panel. Magnus On May 6, 3:35 pm, matttai matt...@hotmail.com wrote: From what I know a Label and SimplePanel both translate to a div on compilation

Re: Activities versus presenters - best practise

2010-11-26 Thread matttai
I think everyone is misinterpreting the statement in the documentation Activities are analogous to presenters the exact definition of analogous is : similar or equivalent in some respects though otherwise dissimilar the key part of what people are missing being 'otherwise dissimilar' it seems

Re: Assigning Minimum Height/Width to DockLayoutPanel?

2010-05-10 Thread matttai
, and however tall you want, and another one 1px tall and however wide you want. It'n not pretty, but it works well. On May 9, 5:27 am, matttai matt...@hotmail.com wrote: Hi Group, I am trying to assign a min-height / min-width attribute to the DockLayoutPanel attached to the base via

Assigning Minimum Height/Width to DockLayoutPanel?

2010-05-09 Thread matttai
Hi Group, I am trying to assign a min-height / min-width attribute to the DockLayoutPanel attached to the base via attaching a class styleName to it. It doesn't seem to have any effect at all. Does anyone have any hints as to how to have my base DockLayoutPanel bring up scrollers in the browser

Dom element returns null after uiBinder bound?

2010-03-27 Thread matttai
Here it is in a quick summary: - I have declared a html cell element td Id=unit / in the uibinder xml file. - In composite widget i then bind the xml via : initWidget(binder.createAndBindUi(this)); - Directly after this i then call : Dom.getElement(unit); This returns null. I am curious to

App Engine 1.3.1 Server GWT Shell Parameter

2010-02-14 Thread matttai
I am trying to add the below shell parameter to my run configuration from the command line but it says the class is missing: -server com.google.appengine.tools.development.gwt.AppEngineLauncher I am pretty sure this is for earlier versions of App Engine (1.2.6 and older) and that this class no

Re: jQuery

2010-02-09 Thread matttai
speed the gwt compiler has a mind boggling amount of optimization On Feb 9, 8:53 pm, mariyan nenchev nenchev.mari...@gmail.com wrote: What does Gquery give you that gwt can't? On Tue, Feb 9, 2010 at 10:30 AM, dougx douglas.lin...@gmail.com wrote: There's no magic to this; just add jquery

Re: jQuery

2010-02-09 Thread matttai
The GWT Extreme video from the 08 Google IO details everything pretty well: http://www.youtube.com/watch?v=2ScPbu8ga1Q On Feb 9, 9:07 pm, mariyan nenchev nenchev.mari...@gmail.com wrote: Could you be more detailed :) On Tue, Feb 9, 2010 at 12:06 PM, matttai matt...@hotmail.com wrote

Re: Debugging a maven GWT project in Eclipse with gwt-maven-plugin

2010-02-05 Thread matttai
I ahve been able to get it to work with this setup: http://claudiushauptmann.com/tutorial-gwt-maven-and-eclipse-with-m2eclipse.html I am now trying to get it to work with -server com.google.appengine.tools.development.gwt.AppEngineLauncher but unsuccessfully You may also get problems with class

Re: UiHandlers in Extended Abstract Class

2010-02-02 Thread matttai
I don't have access to the xml at the moment but let me know what you are wanting to see from it and i'll do my best to answer off the top of my head. I am using GWT 2.0 and it is the first time I have been using UIBinder so I have no experience with it in any other revision. On Feb 2, 7:39 pm,

Re: UiBinder and abstract class

2010-02-01 Thread matttai
You are probably setting setWidget(uiBinder.createAndBindUi(this)); in the extended class. I don't see your bind statement for the second class so i cannot tell so it is just a guess. Bind the loginbox content for the LoginDialogBox as a widget and pass it in for your bind in the

UiHandlers in Extended Abstract Class

2010-02-01 Thread matttai
Having trouble having UiHandlers register when extending from an abstract class. I can register UiHandlers in the abstract class fine, however the extending class cannot register it's handles. Sample code below: Abstract Class: public abstract class GenericWidget extends Composite {

Re: UiHandlers in Extended Abstract Class

2010-02-01 Thread matttai
Hi Damien, I thought u were just asking about binding UI elements across extended and abstract classes which I have been able to successfully do (example code above). The UIHandlers however are a different story and don't work. On Feb 2, 6:11 pm, damians dsu...@o2.pl wrote: Hello matttai

Clearing all PopupPanels with one command (Not root panel)

2009-05-06 Thread matttai
Hi guys, I have an interesting issue. I am trying to do a command similar to clear screen. Where from the main entry point I pretty much create every widget in the app on several levels into a single panel main. When it comes to clearing the screen it is simple to call main.clear() However,

Re: How to cast object to Widget type?

2009-05-05 Thread matttai
Actually i've tried it stopping at the getClass() as well. But i realised doing this shouldnt be necessary in what i was trying to do (implementation of observer pattern). Passing in the interface as an argument would give objects access to the unique method of each interface thus rendering the

How to cast object to Widget type?

2009-05-04 Thread matttai
Hi guys, here is my problem. How do i get the type of a widget and cast it. I am currently trying something like this but of course it does not work. Any help will be appreciated. Thanks! for(Widget widget:array) { ((this.getParent().getClass().getName()) widget).someMethod (this); }

Re: Maven2 + Eclipse + GWT

2009-04-27 Thread matttai
Hi all, There seems to be a fair bit of discussion and what looks like intermediary solutions for maven build at the moment. Is there currently any solutions or examples for importing these project structures into eclipse and being able to run them? I do miss some features of an idea such as

Deferred Bind on Login to load different user interface

2009-04-14 Thread matttai
Hi everyone, Been checking out alot of the deferred binding tutorials that seem to involve reading from the meta data in the html before loading the appropiate module. If i wanted to load a deferred binding class after a user logs in (eg. after the user logs in load the same app with a

Re: Deferred Bind on Login to load different user interface

2009-04-14 Thread matttai
: On Apr 14, 9:09 am, matttai matt...@hotmail.com wrote: Hi everyone, Been checking out alot of thedeferredbinding tutorials that seem to involve reading from the meta data in the html before loading the appropiate module. If i wanted to load adeferredbinding class after a user logs

Re: Two clients one session

2009-04-14 Thread matttai
I was unsure if this topic title was a clever play on a popular video circulating the internet. If so very clever :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Unit Testing in IntelliJ

2009-04-09 Thread matttai
Hi just wondering can anyone give a good example of how to setup and run a unit test on GWT in IntelliJ? It would be much appreciated. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: adding listener when scrollBar has finished scrolling

2009-04-07 Thread matttai
I know that the above post might provide a solution for the user's problem, but i'm actually interested in detecing when a scrollBar reaches the bottom of a page as well to implement something like: When user scrolls to the very bottom of the page popup with message X. Thanks. On Apr 7, 11:48 

Re: How to get internal widget to notify its parent widget when clicked (and have the parent execute something)

2009-04-06 Thread matttai
, matttai wrote: As per the title :) How to get internal widget to notify its parent widget when clicked (and have the parent execute something)? I think it has something to do with sinking and unsinking events but I haven't been able to find a very good example of doing this. Any

How to get internal widget to notify its parent widget when clicked (and have the parent execute something)

2009-04-04 Thread matttai
As per the title :) How to get internal widget to notify its parent widget when clicked (and have the parent execute something)? I think it has something to do with sinking and unsinking events but I haven't been able to find a very good example of doing this. Any help would be appreciated!

Re: Reverse direction of suggestions in suggestBox

2009-03-22 Thread matttai
: On 21 mar, 12:11, matttai matt...@hotmail.com wrote: Hi everyone, just wondering is this possible? I haven't been able to find a way to get this to work. Just use a SuggestOracle that returns thesuggestionsin the order you like. If you want the default oracle behavior, but inreverse

Reverse direction of suggestions in suggestBox

2009-03-21 Thread matttai
Hi everyone, just wondering is this possible? I haven't been able to find a way to get this to work. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to