From: lam on
Hi,
It is stated in the developer's manual that all classes with
onmoduleload() must implement implements EntryPoint.
However, I tried to run a project without this and it worked.
Is it nessesary or recomended?
Thank you
From: Richard Cornford on
On Jul 6, 10:40 am, lam wrote:
> Hi,
> It is stated in the developer's manual that all classes with
> onmoduleload() must implement implements EntryPoint.

Javascript doesn't have classes (or it only has one class, depending
on how you want to look at it), and there isn't (to the best of my
knowledge) any developer's manual for the language (certainly not an
officially sanctioned one for ECMAScript).

> However, I tried to run a project without this and it worked.
> Is it nessesary or recomended?

You are either asking this question in the wrong place or failing to
be anywhere near specific enough about what it is your question
relates to.

Richard.
From: Lasse Reichstein Nielsen on
lam <lama.ghusn(a)gmail.com> writes:

> It is stated in the developer's manual that all classes with
> onmoduleload() must implement implements EntryPoint.
> However, I tried to run a project without this and it worked.
> Is it nessesary or recomended?

I assume you are talking about a GWT project. GWT is outside the
scope of this group, so you are unlikely to get a useful response
here.

A few minutes of google'ing suggests to me that it's possible to
make GWT modules without any EntryPoint (and, indeed, reusable
library modules are likely to have no EntryPoints).
(That's starting from zero knowledge of what an EntryPoint is,
so don't trust me on that :)

You can try asking for more details at the GWT group
(http://groups.google.com/group/Google-Web-Toolkit?pli=1)

/L
--
Lasse Reichstein Holst Nielsen
'Javascript frameworks is a disruptive technology'

From: Garrett Smith on
On 2010-07-06 06:54 PM, Garrett Smith wrote:
> On 2010-07-06 08:34 AM, Lasse Reichstein Nielsen wrote:
>> lam<lama.ghusn(a)gmail.com> writes:
>>

[...]

> Instead, read the RTM,

Badly edited, sorry.