Initialization Parameter in GWT

2011-05-25 Thread Nitish Upreti
Hello Everyone I am working on establishing Database connection in my GWT Application with MySQL. I want the database to read a set of 'init' parameters so as I dont need to 'hand code' DB URL and Usernames and Passwords. I googled a while for possible solutions but got a bit overwhelmed by the

GWT Serialization--Default Constructor Presence

2011-05-24 Thread Nitish Upreti
I noticed that all the Model classes which need to implement 'Serializable' interface need to have a default constructor in order to work properly. The Serialization otherwise fails. Why is it so? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Built in GWT Widgets that require Constructor Arguments

2011-05-18 Thread Nitish Upreti
The docs Describle what to do when you have a *custom* widget that requires a constructor argument. However what to do when your using an existing GWT widget with constructor argument. For example -- Tree(Tree.Resources resources) Constructs a tree that uses the specified ClientBundle

Working on a Tree with Uibinder

2011-05-17 Thread Nitish Upreti
Hi everyone I have been struggling to get Tree widget working on my web application, I am following the 'Mail' sample by Google. However as the code is not done declarative with UiBinder, I am working with my own ideas too. However the Tree wont render in my Application. :( Code--

GWT Uibinder support for Tree

2011-05-17 Thread Nitish Upreti
I get to hear that UiBinder does not support building Tree declaratively, also the Mail sample has everything declarative apart from this. Some mailing list post also gives similar hints. Is it true? I am trying to work on my Tree implementation with UiBinder without success. :( -- You received

Nesting of Panels

2011-05-17 Thread Nitish Upreti
I would want to learn more on nesting of Panels. Should I put a vertical panel in a scroll panel or scroll panel in vertical panel? And If I want to use HTML too where should I put in HTMLPanel. Its very basic but I am a bit confused. -- You received this message because you are subscribed to

Tree Example with UiBinder

2011-05-16 Thread Nitish Upreti
I am having a tough time with building a tree structure declaratively using uibinder. The showcase also has no declarative code. Is there anywhere I can look out for resources and examples for building Tree with UiBinder? -- You received this message because you are subscribed to the Google

Styling in GWT

2011-05-16 Thread Nitish Upreti
I am new to web development and GWT. I have a simple question related to GWT styling. What is the difference in styling *g:HTMLPanel styleName='{style.xyz}'* and *g:HTMLPanel div class={ style.xyz}: /div /g:HTMLPanel * Or both of them are equivalent? -- You received this message because

Tree widget in Mail Sample

2011-05-14 Thread Nitish Upreti
I want a beginner learning GWT and was browsing the Mail sample. I noticed that the UI has been made all declaratively using UiBinder but the Tree implementation is not declarative and done programatically in * Mailboxes.java* , why is it so? Any reason? For my own implementation of Tree can I

UiBinder Concept

2011-05-13 Thread Nitish Upreti
In the sample code when building GUI with UiBinder the following declaration are very common-- xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui' However now when we declare an Image,we do it as *ui*:image field='logo' src='logo.png'/ why *ui

A detailed Resource for learning UiBinder

2011-03-15 Thread Nitish Upreti
Hello folks I have gone through the official tutorials of UiBinder but I found them quite precise and feel I am still lacking on my basics and a complete knowledge of declarative UI. I am really new to this. Are there any more detailed web resources available online? Regards Nitish -- You