hi,
you are seemed to little confuse with exactly what you want to do.
In GWT which is module base, which loads a single class which override a
method onModuleLoad() from entry point and which we specify in the module
using
<entry-point class='com.weshine.intelltest.client.Admin'/>
and it is not possible to have two entry points for one module.
so what you are saying is not possible but i can suggest you if you want to
show the content from java file B then you can have class B extends <some
widget>.
and now you will be able use functionality from class B in the class A.
--
Aditya
On Sat, May 22, 2010 at 11:02 AM, Rajalakshmi Subramanian <
[email protected]> wrote:
> Hello sir,
>
>
> I have two GWT java files in one package.... From file A using
> onModuleLoad() method i want to call another java file B.
> I created object for B and call the method..but it dosen't works. How to
> call that method when i clicked the hyperlink which is created in java file
> A.
>
> Regards,
> Raji
>
>
>
>
>
>
> On Sat, May 22, 2010 at 10:48 AM, Shyam Visamsetty <
> [email protected]> wrote:
>
>>
>> GWT is based on modules not files.
>>
>> Do you mean you wanted to redirect to another html file or a module in
>> Java?
>>
>> If a HTML page you can use the following command.
>>
>> Window.open(linkURL, "_self", "")
>>
>> HTH.
>>
>> -Shyam,
>>
>> On May 21, 6:55 am, Rajalakshmi Subramanian <[email protected]>
>> wrote:
>> > Hi..
>> >
>> > I have created one gwt application. In the client package i inculded
>> > two java file contains gwt coding. In the first java program i
>> > included one Hyperlink when this Hyperlink is clicked it should
>> > redircted to Second file which also contains some GWT coding. I dont
>> > know how to redirect the java file.
>> >
>> > Help me on this issue...
>> >
>> > Regards,
>> > Raji
>> >
>> > --
>> > 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]<google-web-toolkit%[email protected]>
>> .
>> > For more options, visit this group athttp://
>> groups.google.com/group/google-web-toolkit?hl=en.
>>
>> --
>> 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]<google-web-toolkit%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>
>
> --
> RAJI
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
--
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.