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

--~--~---------~--~----~------------~-------~--~----~
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