keyboardlistener calling clicklistener?

2009-04-02 Thread alan m
Hi all, MyFocusPanel extends FocusPanel and has a working ClickListener: public MyFocusPanel(ClickListener listener) { super(); initFocusPanel(); addClickListener(listener); } I also want to listen for keyboard events in

Re: PopupPanel Align Right

2009-04-02 Thread alan m
FWIW the CSS syntax is text-align:right; You could also try float:right; depending on what else is going on in the layout. hth Alanj On Thu, Apr 2, 2009 at 4:23 PM, cj curtis.jen...@gmail.com wrote: Thanks.  I was hoping to avoid handling resize events. All I want to do is align an image

Re: PopupPanel Align Right

2009-04-02 Thread alan m
with the AbsolutePanel, but that only aligns with the left and is even less functional when it comes to re-sizing. On Apr 2, 8:43 am, alan m alan.jame...@gmail.com wrote: FWIW the CSS syntax is text-align:right; You could also try float:right; depending on what else is going on in the layout. hth Alanj

Re: widgets within widgets

2009-04-01 Thread alan m
? On Wed, Apr 1, 2009 at 10:28 AM, alan m alan.jame...@gmail.com wrote: Thanks Luke, But actually  doing that in MyDiv causes a compilation error: cannot find symbol symbol  : method addClickListener(anonymous com.google.gwt.user.client.ui.ClickListener) location: class

Re: widgets within widgets

2009-04-01 Thread alan m
That's it, thanks Paul! I guess using this.button = new MyButton(); makes button a property of MyDiv so I can then use button's methods from this class - this.button.addClickListener et.c. Is this conceptually correct? I'm still learning OOP as you can tell! ;-) Much obliged, Alanj On Wed, Apr

Re: widgets within widgets

2009-04-01 Thread alan m
Thanks Luke, But actually doing that in MyDiv causes a compilation error: cannot find symbol symbol : method addClickListener(anonymous com.google.gwt.user.client.ui.ClickListener) location: class com.dds.gwt.widgets.client.ui.MyDiv Just to be clear, MyButton already has listeners set up

Re: widgets within widgets

2009-04-01 Thread alan m
I hear you. Apologies to list for noob-ishness. Thanks for your help. Regards, Alanj On Wed, Apr 1, 2009 at 11:38 AM, Paul Robinson ukcue...@gmail.com wrote: alan m wrote: That's it, thanks Paul! I guess using this.button = new MyButton(); makes button a property of MyDiv so I can then use

Re: strange behavior for float numbers

2009-02-25 Thread Alan Hadsell
On Feb 24, 1:52 pm, tony.p.. tony.t@gmail.com wrote: This seems like a bug in JS, more than just the way it handles float. Because I'm not doing any calculations on the GWT (JS) side, I'm just printing what comes from the server. So if 15.2 if printed as 15.20, that would be

Re: gwt compilation error with XmlSeeAlso and XmlElement annotation.

2008-12-06 Thread Alan
Hi, Jason. Does commenting out @XmlSeeAlso affected on your xml binding? I'm not jaxb guru, but I think it can brake marshalling of that class. On Oct 9, 9:01 am, jason [EMAIL PROTECTED] wrote:  The real problem is the @XmlSeeAlso.    I commented it out from Paragarph.class.  Gwt still report

Re: gwt compilation error with XmlSeeAlso and XmlElement annotation.

2008-12-06 Thread Alan
ObjectFactory classes to create JAXBContext. So JAXBContext has references for all classes generated by JAXB. On Dec 6, 1:42 pm, Alan [EMAIL PROTECTED] wrote: Hi, Jason. Does commenting out @XmlSeeAlso affected on your xml binding? I'm not jaxb guru, but I think it can brake marshalling of that class

Re: JAXB generated classes under GWT

2008-12-03 Thread Alan
I believe, that classes generated by JAXB are just annotated beans, so if we could make GWT ignore some JAXB specific statements, we could use them to pass data from server to client? May be GWT have some annotation like @GWTIgnore? On 2 дек, 12:13, Alan [EMAIL PROTECTED] wrote: Hi all

JAXB generated classes under GWT

2008-12-02 Thread Alan
Hi all, This is my first post to this group and I am not native English speaker, so please sorry for my possible mistakes.. I am trying to use JAXB generated classes on server and client side. I've added source for generated classes and annotations used by jaxb to the GWT source tree. And my

Tip for reducing the size of the compiled app

2008-08-29 Thread Alan Williamson
the produced app isn't huge? Is there certain JDK libraries we should avoid using? Certain methods that causes a lot of JS bloat? All advice gratefully and carefully received! thx a -- Alan Williamson Registrationless email/sms reminders: http://yourli.st/ blog: http://alan.blog-city.com

<    1   2   3