Re: Observer pattern on this design, yes or no/how and why?

2008-11-19 Thread mives29
svn/javadoc/1.5/com/google/g... > > You would get your single entry point and the designer would get their > window. > > -sre > > On Nov 19, 11:38 am, mives29 <[EMAIL PROTECTED]> wrote: > > > To gregor, > > > 1)We dont want to use dialogbox because it o

Re: Observer pattern on this design, yes or no/how and why?

2008-11-18 Thread mives29
wrote: > > > > That's a "Windows" way of looking at things. Check the link I gave, > > > and there are others both on this group and around the net, that > > > explain better than I can why you should maybe reconsider that idea. > > > > On Nov

Re: Observer pattern on this design, yes or no/how and why?

2008-11-17 Thread mives29
x27;s > own module.gwt.xml file) and have this inherited by the > com.try.client.Page1.java module. That way it would be compiled as > part of your main application (making your problem go away) but still > be usable in other applications as well. As I say, what is your > motivation fo

Re: Observer pattern on this design, yes or no/how and why?

2008-11-17 Thread mives29
d on the second composite, not the first one, so I cant add the first entrypoint's composite as a listener of the second entrypoint's composite. Anyone knows a work around/alternative method of implementing observer pattern on my problem? On Nov 17, 4:00 pm, mives29 <[EMAIL PROTECTED]&g

Re: Observer pattern on this design, yes or no/how and why?

2008-11-17 Thread mives29
I tested it on same module, this implementation of the observer pattern works. however, when using this on two modules it doesn't. Do I need to do deferred binding here? I hope not coz I dont know how to. =) On Nov 17, 1:29 pm, mives29 <[EMAIL PROTECTED]> wrote: > oops CnP mistake

Re: Observer pattern on this design, yes or no/how and why?

2008-11-16 Thread mives29
oops CnP mistake. on this line: buttons.addChangeListener(this); //where "this" pertains to Page1Compo1 i meant xx.addChangeListener(this);//where "this" pertains to Page1Compo1 On Nov 17, 1:22 pm, mives29 <[EMAIL PROTECTED]> wrote: > Hi. I tried your recom

Re: Observer pattern on this design, yes or no/how and why?

2008-11-16 Thread mives29
   is (sender instanceof ConfigPanel) { > >              ConfigPanel configPanel = (ConfigPanel) sender; > >              // call whatever methods you need > >          } > > > } > > > Don't forget you have to register Comp1 as a lister with ConfigPanel > > somewhere or it won't work

Re: Observer pattern on this design, yes or no/how and why?

2008-11-15 Thread mives29
> >          is (sender instanceof ConfigPanel) { > >              ConfigPanel configPanel = (ConfigPanel) sender; > >              // call whatever methods you need > >          } > > > } > > > Don't forget you have to register Comp1 as a lister w

Re: Observer pattern on this design, yes or no/how and why?

2008-11-14 Thread mives29
i meant static methods, not static classes (2nd paragraph 2nd line) On Nov 14, 4:43 pm, mives29 <[EMAIL PROTECTED]> wrote: > I'd go straight to what I want to do. > > I have 3 composites in 1 panel, in 1 entrypoint. I have another > entrypoint that pops up when you

Observer pattern on this design, yes or no/how and why?

2008-11-14 Thread mives29
easily extensible and not that good of a design. Now, is it wise to use the observer pattern(personally, I think it is)? If yes, how do you implement that on GWT 1.5? (we use GWT 1.5.2) thanks in advance mives29 --~--~-~--~~~---~--~~ You received this message because

Re: Reading XML file from localhost

2008-11-13 Thread mives29
em a bit more when i have time. unfortunately, my team decided to implement a singleton on the server- side to parse, then transfer the data onto beans, which will then be accessed by services. but this has been a great learning experience for me, thanks to all tho

Re: Reading XML file from localhost

2008-11-10 Thread mives29
essage(), ex); >             } >         } > > } > > For more information about async problems, it's related to RPC, but applicable > to the RequestBuilder as well: > > http://lemnik.wordpress.com/2008/07/04/gwt-rpc-is-called-aynchronous-... > > mives29 wrote: > > okay

Re: Reading XML file from localhost

2008-11-10 Thread mives29
yes. you got my problem right. now probably tommorow or the day after that, I'll have the chance to re-do my code. For now, back to reading some company documents. Will get back here as soon as I've redone the code. Thanks Jason, mives29 On Nov 10, 5:58 pm, Jason Morris <[EM

Re: Reading XML file from localhost

2008-11-10 Thread mives29
> should not be executed in the onload-routine but in the > onResponseReceived()-method (or in any other procedure that you call > out of it). > > On 10 Nov., 07:12, mives29 <[EMAIL PROTECTED]> wrote: > > > hi all. ive re-done my c

Re: Reading XML file from localhost

2008-11-09 Thread mives29
hi all. ive re-done my code just a while ago(been a busy week) and my code kinda bothers me. here's the code re-done: Entrypoint onModuleLoad() method: doc = getDoc(); //(where doc is a Document object) String subject = doc.getElementsByTagName("Image").item(0).getChildNodes().item(1).toString(

Re: Reading XML file from localhost

2008-11-05 Thread mives29
Oh. I didnt know that! Thanks a lot! Will try to modify it. Thanks again. mives29 On Nov 5, 3:31 pm, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote: > mives29 schrieb: > > > requestBuilder = new RequestBuilder(RequestBuilder.GET,url); > > requestBuilder.sendReque

Re: Reading XML file from localhost

2008-11-04 Thread mives29
e been tinkering with my codes for almost an hour and I cant fix it. thanks! On Nov 5, 12:34 pm, Sammi <[EMAIL PROTECTED]> wrote: > Hi mives29, >    I just solve the problem. It's quite direct and easy. > > 1. upload your xml file to any webserver, e.g.http://a.b.c/test.xml &g

Re: Reading XML file from localhost

2008-11-04 Thread mives29
sammi, thanks for the reply. will try that asap. On Nov 5, 12:34 pm, Sammi <[EMAIL PROTECTED]> wrote: > Hi mives29, >    I just solve the problem. It's quite direct and easy. > > 1. upload your xml file to any webserver, e.g.http://a.b.c/test.xml > > 2. use Reque

Reading XML file from localhost

2008-11-04 Thread mives29
example was on php.) Any idea how can I implement this properly? Thanks mives29 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web