GWT custom tree with styling.

2011-04-12 Thread xworker
Hi all Struggling a bit with styling a gwt tree to fit a design I got handed by some people who actually know this stuff. Posted a question on Stackoverflow: http://stackoverflow.com/questions/5623097/gwt-tree-styling For instance, how do I get the leaf images on the right side instead of

Tree with I18N

2010-11-05 Thread xworker
Hi I am wondering how to build a TreeItem with I18N and not have different tokens for a menu item. If I build a TreeItem like this: @UiField Tree tree; TreeItem customer = new TreeItem(customerGroup); customer.addItem(searchCustomer); customer.addItem(create);

Injecting EventBus with GIN

2010-11-01 Thread xworker
Hi all Trying to inject the eventbus into a component but I'm getting the has no default (zero args) constructor. error. Any clues what I'm doing wrong? Very new to GIN, so it might be trivial.. Here is my code: module: public class MyWidgetClientModule extends AbstractGinModule {

Plugin failed to connect to hosted mode server at 127.0.0.1:9997 Weblogic

2010-10-13 Thread xworker
Hi Running an GWT app on weblogic. How I deployed: Went into the weblogic console, - deployments, browsed to the location of the project/war dir. It deployed fine. When trying the url i get Plugin failed to connect to hosted mode server at 127.0.0.1:9997 the url was

Ui:msg I18N and Dictionary/HashMap

2010-09-03 Thread xworker
Hi Is it possible to use the ui:msg tag with Dictionary? Right now I have stored my text resources in a HashMapString,String which is a Singleton because I could not figure out how to convert it into a Dictionary... I'm getting the values from the server which gets it from a databse via

I18N with texts from db.

2010-09-02 Thread xworker
Hi all I want to build a system with I18N where the texts in key/value pairs wich I want to load from a webservice and cached in the server part of GWT. I have done this before in JSF applications with hashmaps and now I'm about to implement it in GWT. Which I18N construct would be best to use

Store information in Cookies?

2010-08-27 Thread xworker
Hi How do I go about and save information between views on the client? I have a dropdown with values, when the user selects something I want to use that information when showing another view later on, but I dont want to switch to that view directyly. Is the only way to store the information in

Re: Views without presenters - how should they handle events?

2010-07-28 Thread xworker
Hi For now I'm putting events on the eventbus from the view. Then in the entrypoint class handle all the events. I send the eventbus in the constructor to the view since I have'nt put in GIN yet. I will look into the new AcitvityManager concept from the 2010 IO and the PlaceManager. /A On 28

Re: DockLayoutPanel MVP and events

2010-07-21 Thread xworker
t.bro...@gmail.com wrote: On 8 juil, 10:39, xworker blomqvist.andr...@gmail.com wrote: Hi Very new to GWT and MVP. Trying to expand the contacts example with a DockLayoutPanel with a tree navigation in the west section. Using MVP and ui:bindings. Got an DockLayoutPanelView and Presenter

@UiHandler with Tree component

2010-07-13 Thread xworker
Hi all Can't get this to work: declaring a tree: @UiField Tree tree = new Tree(); then declaring a handler: @UiHandler(tree) void onTreeSelect(SelectionEventTreeItem event) { Window.alert(You clicked the tree); } Wont fire. Why? /A P.S

Re: handling events in MVP with containers

2010-07-12 Thread xworker
Is there really no comments on this? Am I doing something wrong or does GWT handle events this way. Doesn't seem right that I have to handle everything in the DockPresenter. Could someone please point me in the right direction Thanks A On 9 Juli, 14:43, xworker blomqvist.andr...@gmail.com wrote

GWT 2.1 Simple Place example

2010-07-12 Thread xworker
Hi all Strugling with finding documentation and a simple example with the new Place concept. Can anyone shed some light? Most examples point to generated scaffold code with roo. Not easy to read, and at this point I dont want to use Roo. Just want a simple example or explanation about the new

handling events in MVP with containers

2010-07-09 Thread xworker
Hi all. Got this setup: Dock (DockLayoutPanel) --Tree (Tree) --Content. (SimplePanel) DockPresenter creates and bind the presenters for tree and content like so: public DockPresenter(ContactsServiceAsync rpcService, HandlerManager eventBus, Display view) {

DockLayoutPanel MVP and events

2010-07-08 Thread xworker
Hi Very new to GWT and MVP. Trying to expand the contacts example with a DockLayoutPanel with a tree navigation in the west section. Using MVP and ui:bindings. Got an DockLayoutPanelView and Presenter. Inside is a tree component to the west and a content component in center. How will I get the

DockLayoutPanel and MVP

2010-07-07 Thread xworker
Hi I want to create a simple app with a DockLayoutPanel with a tree for navigation west and a content panel center which switches when selection a node in the tree. I'm using the MVP pattern with Presenters,Views and ui bindings. All my components work by them selfs but when I try to load the

Re: DockLayoutPanel and MVP

2010-07-07 Thread xworker
Please ignore this... OFC I was using the RootPanel instead of the RootLayoutPanel. /A On 7 Juli, 15:58, xworker blomqvist.andr...@gmail.com wrote: Hi I want to create a simple app with a DockLayoutPanel with a tree for navigation west and a content panel center which switches when

Re: Problem with eclipse plugin.

2010-06-28 Thread xworker
the existing launch configuration (Run Run configurations) and then re-running. If you can reproduce this behavior from a blank slate, please file a bug. Thanks, jason On Thu, Jun 24, 2010 at 7:24 AM, xworker blomqvist.andr...@gmail.comwrote: Hi I have created a GWT project in Eclipse

Re: Problem with eclipse plugin.

2010-06-28 Thread xworker
site since I'm behind corp. firewall. Will continue to search for a newer zip version of the plugin. /x On 28 Juni, 12:48, xworker blomqvist.andr...@gmail.com wrote: Hi Tried deleting the run configuraitons but the error is the same. I'm running Eclipse 3.5 with the  Google Plugin

Re: Problem with eclipse plugin.

2010-06-28 Thread xworker
Found the RC2 eclipse plugin. Works. Case closed. /x On 28 Juni, 12:48, xworker blomqvist.andr...@gmail.com wrote: Hi Tried deleting the run configuraitons but the error is the same. I'm running Eclipse 3.5 with the  Google Plugin for Eclipse 3.5 1.1.0.v200907291526

Problem with eclipse plugin.

2010-06-24 Thread xworker
Hi I have created a GWT project in Eclipse as a Dynamical webproject. When I choose Run- Web Application (with the google plugin) I get this error: Unknown argument: -style Google Web Toolkit 2.0.3 DevMode [-noserver] [-port port-number | auto] [-whitelist whitelist- string] [-blacklist