Monday, May 24, 2010

Re: GWT designing

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 <raji.smani@gmail.com> 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 <shyamsunder.03@gmail.com> 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 <raji.sm...@gmail.com>
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 google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
> 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment