If an application is a building full of rooms (classes), then an EntryPoint
is a way into the building (application).

You need an entry point or no-one can get in to use the rooms.

You need to create an app, with an entry point, which looks for tags, and
puts widgets in them.

Sometimes there is only one tag, maybe the <body> tag, and that gets the
whole application shoved in it.

Or you can have lots of tags, and the application sticks lots of little
widgets wherever it sees fit.

But without an entry point, the app won't run.

Ian

2008/8/25 Sam <[EMAIL PROTECTED]>

>
> Hi
> I have a class named GCAComponent and this class has a method
> drawMenuBar(String location) . In this method I have written a code to
> draw the menubar, at specified loacation (using the API
> RootPanel.get(location).add(menubar)). Note that the class
> GCAComponent DOES NOT implent EntryPoint interface. Its just a
> reusabel component that I have ceated.
> Now I want to make the use of this component in jsp1, jsp2 and jsp3.
> Is it compulsory for me to write a class which implements EntryPoint
> interface and give the implementation of onModulLoad() method in such
> a way that it will invoke the method drawMenuBar(String location) in
> class GCAComponent and then add the corresponding <module-
> name>.gwt.nocache.js file in all my jsps i.e. jsp1, jsp2, jsp3.
> Is it possible to do something e.g.writting a tag or something which
> could avoid writting a class which implement the EntryPoint
> interface , and reuse the component as and when required in different
> JSPs.
>
> Thnak
> Samir
>
> >
>


-- 
Ian
http://examples.roughian.com
___________________________________

Life is either a daring adventure or nothing.
Security is mostly a superstition.
It does not exist in nature.
- Helen Keller
___________________________________

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to