Re: Serious Bug or some Type Erasure I don't understand ???

2011-02-22 Thread Riyaz Mansoor
Thanks Thomas I have looked through the source for #addHandlerToSource et al. I do believe that this is what I'm looking for. However, I'm not clear what the source object should be. Is it the Object (instance) of the class(es) that fires this event? Appreciate any help. On Feb 22, 3:15 pm,

Serious Bug or some Type Erasure I don't understand ???

2011-02-21 Thread Riyaz Mansoor
Use case: Register an event (2nd snippet) using extending classes AEntity, BEntity, CEntity Refresh a specific table - create one event and fire it (1st snippet) === the three handlers of AEntity, BEntity, CEntity are fired. Why ? Expected Case: If BEntity is refreshed - only BEntity handler

Re: Serious Bug or some Type Erasure I don't understand ???

2011-02-21 Thread Riyaz Mansoor
all three wouldn't have their listeners triggered.  The event they registered for did get fired. -Ben On Feb 21, 12:52 pm, Riyaz Mansoor riyaz.mans...@gmail.com wrote: Use case: Register an event (2nd snippet) using extending classes AEntity, BEntity, CEntity Refresh

Re: Serious Bug or some Type Erasure I don't understand ???

2011-02-21 Thread Riyaz Mansoor
their listeners triggered.  The event they registered for did get fired. -Ben On Feb 21, 12:52 pm, Riyaz Mansoor riyaz.mans...@gmail.com wrote: Use case: Register an event (2nd snippet) using extending classes AEntity, BEntity, CEntity Refresh a specific table - create one event and fire

MVP Cell click position

2011-01-09 Thread Riyaz Mansoor
Hi I have the following requirement: to display a popup below the cell that was clicked. The FieldUpdater does not receive the position info (elem that was clicked). The closest (that I could find) was the onEnterKeyDown in AbstractXXXCell (which has elem). So my current implementation extends

RPC ing Annotations

2010-06-12 Thread Riyaz Mansoor
Hi GWT 2 docs mention that data enhanced objects (JDO) can now be RPC ed. It also mentions a few annotations by name. http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypes However, there is very little information available AFAIK. Does the GWT 2

Re: Connecting to site 127.0.0.1

2009-03-27 Thread Riyaz Mansoor
Have had this same issue - working on Netbeans 6.5 Restarting the IDE works but that's to long. I'll check out Lothars suggestion On Mar 27, 2:49 am, Roberts M. roberts.men...@gmail.com wrote: One workaround could be to change GWT port on every run, using command line option -port 8889

Re: file upload from popup

2009-03-22 Thread Riyaz Mansoor
I have added onSubmit and onSubmitComplete handlers and both fire successfully. Have checked the url as well. But nothing is being submitted to the servlet. I checked this with a log() statement in my servlet service method. what should i do? On Mar 22, 12:59 am, Riyaz Mansoor riyaz.mans

Re: file upload from popup

2009-03-22 Thread Riyaz Mansoor
I found my mistake. It a single character misspelled in the form panel action url !!! Regardless, it would help if the onSubmitComplete or elsewhere an exception is thrown. On Mar 22, 2:16 pm, Riyaz Mansoor riyaz.mans...@gmail.com wrote: I have added onSubmit and onSubmitComplete handlers

file upload from popup

2009-03-21 Thread Riyaz Mansoor
The form panel below is in a vertical panel which has submit link. The vertical panel is in a popup panel. Clicking submit has no effect! The examples seem to show formpanel being added to rootpanel. can't use popup? Grid grid = new Grid(3, 2); grid.setCellSpacing(8);

H-Panel mouse click

2009-03-15 Thread Riyaz Mansoor
I have attached a ClickHandler to a HorizontalPanel and it recieves events. How can I find the index of the cell that generated the event? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: Custom widget theme?

2009-03-15 Thread Riyaz Mansoor
to the Widget you could just use .setStyleName(style) to remove the old ones and use this new style. On Mar 11, 11:44 pm, Riyaz Mansoor riyaz.mans...@gmail.com wrote: Have widget that I have stylized using CSS. But I have no idea how to theme this widget. I want some CSS differences to be seen

Probably not strictly GWT but ....

2009-03-14 Thread Riyaz Mansoor
In the following code; Types T, E are the same. But I cannot change E to T as it won't compile, hence the explicit type cast in the onSuccess method. Maybe there is a way to use the same generic type T for the inner class ??? The different types make it difficult to read. public abstract class

Re: Probably not strictly GWT but ....

2009-03-14 Thread Riyaz Mansoor
Never mind. Simple mistake protected class EntityCallbackE implements AsyncCallbackE { protected class EntityCallback implements AsyncCallbackT { On Mar 14, 10:40 pm, Riyaz Mansoor riyaz.mans...@gmail.com wrote: In the following code; Types T, E are the same. But I cannot change E to T

1.6 key event

2009-03-13 Thread Riyaz Mansoor
The following code generates keydown, keypress, keyup events in the CASE statement. How to get the press event only? popup = new DecoratedPopupPanel(true) { @Override protected void onPreviewNativeEvent(NativePreviewEvent event) { switch

Custom widget theme?

2009-03-11 Thread Riyaz Mansoor
Have widget that I have stylized using CSS. But I have no idea how to theme this widget. I want some CSS differences to be seen by the user, when different themes are selected. Can this be done? --~--~-~--~~~---~--~~ You received this message because you are

Re: Announcing GWT 1.6 Milestone 2

2009-03-05 Thread Riyaz Mansoor
What version of Jetty is included with 1.6 ? Specifically, which version of the Servlet API does it support ? I hope 2.4 is supported. On Mar 5, 8:24 am, Riyaz Mansoor riyaz.mans...@gmail.com wrote: Just installed M2 and took a look around. I must say I like it - feels more natural to me

Re: Announcing GWT 1.6 Milestone 2

2009-03-04 Thread Riyaz Mansoor
Just installed M2 and took a look around. I must say I like it - feels more natural to me. For a new project I wanted to start in 1.6, I didn't want to migrate in the middle and update all the deprecated stuff. Haven't put it through its paces yet. But first thing - I have control of web.xml :)

GWT RIA s ?

2008-12-16 Thread Riyaz Mansoor
I'm not looking for rich widget sets (Ext, Smart, etc) but rather is there a GWT framework that provides basics for a RIA. One that handles the grunt work such as providing; status bar, xml or other configurable menu, error logging report, authentication, security etc This maybe reaching for

Panel streeeetching

2008-12-15 Thread Riyaz Mansoor
I'm sure this is a simple thing :) --- but maybe long hours :( VerticalPanel VP has { a Grid G and HorizontalPanel HP } The VP to hug G (from the outside) as G columns are added (width increases). I want HP to stretch upto the VP - HP width should hug VP from the inside. currently - VP has no

Re: Better i18n support in post 1.6?

2008-12-15 Thread Riyaz Mansoor
The link mentions only 2 new widgets. Can we expect more? specifically are any table type widgets going to be released as part of 1.6 ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: Generators and Generics

2008-12-14 Thread Riyaz Mansoor
I don't know the answer to your question - I'm guessing generic markers are not possible? But, I simplified a similar problem by launching the generator on the real type - in your case Customer; you can still extend your implementation of MySubSubSubInterface in the generator. :) On Dec 14,

MenuBar selected item

2008-12-13 Thread Riyaz Mansoor
Hi Whenever the mouse moves over the menu bar menu items, the selected menu item changes to whatever is under the mouse - even though I have not clicked it. Can we ensure that the selected item remains selected unless another menu item is clicked? Riyaz

Re: how to set default button?

2008-12-11 Thread Riyaz Mansoor
For a PopupPanel take a look at onKeyPressPreview - handle ENTER, ESC etc key events there. Generally, you are looking at over-riding onEventPreview to handle the keyboard events you want. There is no magical setDefaultButton method. In fact, the default button formatting (if required) you

PopupPanel closing

2008-11-30 Thread Riyaz Mansoor
Hi What's the easiest way to catch a popup panel close/hide event ? I can't find any handler to catch it. override the hide() method ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: Masked Input

2008-11-30 Thread Riyaz Mansoor
I'm interested in this as well. On Nov 29, 12:15 am, jsantaelena [EMAIL PROTECTED] wrote: Hi Someone knows libe withmaskedwidgets? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit

Theme ?

2008-11-28 Thread Riyaz Mansoor
How does one theme a custom widget with panels? where the panels have some customized formatting. For that matter, how does one theme any widget? Riyaz --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web

Generators - create multiple classes?

2008-11-24 Thread Riyaz Mansoor
For a widget I'm creating I've got a generator which creates the required class. Now I have a requirement to create another class (and possibly more) for the same generator marker interface. Can this be done? ie - can a single generator return more than 1 created class? I really won't to avoid

Re: SmartGWT 1.0 Released

2008-11-24 Thread Riyaz Mansoor
Hey Sanjiv Great work as always. Good to see you back - involved in GWT development work. Riyaz On Nov 24, 12:34 am, Sanjiv Jivan [EMAIL PROTECTED] wrote: Hi Fransceso, If you found a library that meets your needs, then good for you. Compile output size and runtime performance are two

Re: Theming a custom widget

2008-11-15 Thread Riyaz Mansoor
Hoping to get a response as I didn't get any before. For a custom widget with panels, I would like to stylize the panels based on the selected theme - ie different styles for different themes. How could I do this? On Nov 13, 7:45 pm, Riyaz Mansoor [EMAIL PROTECTED] wrote: Yes this is my

Re: Theming a custom widget

2008-11-13 Thread Riyaz Mansoor
Yes this is my problem. I've got panels that I am styling with css. I would like to detect what is currently selected/applied theme and apply appropriate styles to these panels so that there is a formatting consistency when the theme is changed to, say, Chrome. have panels and tables in your

Theming a custom widget

2008-11-12 Thread Riyaz Mansoor
I have got 3 stylesheets for my widget, standard, dark chrome. When the Standard theme is loaded I want my standard theme applied to my custom widget. My widget applies the custom-widget style - but how do I pick which style sheet to link ? What am I missing here?

History

2008-09-19 Thread Riyaz Mansoor
Confusion confusion onHistoryChanged is deprecated - but HistoryListener whose only method is onHistoryChanged is not deprecated. Even the History class javadoc is using onHistoryChanged method !!! Anyways my question is how can I recieve browser history events (Back/ Forward) without using

Re: RichTextToolbar

2008-09-19 Thread Riyaz Mansoor
totally agree On Sep 19, 7:52 am, Michael Neale [EMAIL PROTECTED] wrote: Is there any reason why RichTextToolbar is not including as part of GWT but is only as a sample ? (in the Showcase project)? Shouldn't this really be part of GWT itself, I mean the text area is not terribly helpful

Hyperlink Event Propagation

2008-09-15 Thread Riyaz Mansoor
I have got a Hyperlink with a ClickListener + History is enabled. When the Hyperlink is clicked the ClickListener should be able to stop event propagation in to History (when certain conditions are met). Currently, as there is no stopping of the event propagation, the onHistoryChange is called

Re: GWT 1.5 Now Available

2008-09-13 Thread Riyaz Mansoor
This bug still exists in 1.5.2 Actually I didn't know it was a bug - except when I saw this post :) On Sep 12, 1:26 pm, Schimki86 [EMAIL PROTECTED] wrote: Maybe you know the Bug, that the ScrollPanel doesn't work inside an TabPanel, because it grows up instead showing scrollbars. Now we are

Widget Style

2008-09-02 Thread Riyaz Mansoor
Hi HorizontalPanel don't have any styles. How can I add padding horizontally to the cells in HP ? How to reduce the size of DecoratedPanel border ? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google

Stylized Decorator Panel

2008-08-28 Thread Riyaz Mansoor
Hi Maybe not the most appropriate news group - sorry - but CSS is not my strong point :( I would like to customise the color of the border and background. I'll be doing many colors. Dark red with very light red, Dark green with very light green background .. and so on. What's the easiest way