Re: GWT designing

2010-05-24 Thread Thamizh Arasu
Hi,

GWT design is different from normal old style web application. Here
there is no page navigation concept. Everything is a kind of view. You
can switch from one view to another view.

In your case if you click the link, you can create your new view
object and add this into rootpanel.

Before add the new object, you need to remove the existing view.

Thanks,
Thamizharasu S

On May 22, 10:32 am, Rajalakshmi Subramanian 
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 
>
>
> > 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 
> > 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+unsubscr...@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-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT designing

2010-05-24 Thread Thomas Broyer


On 22 mai, 07:18, Shyam Visamsetty  wrote:
>
> Window.open(linkURL, "_self", "")

Window.Location.assign(linkURL)


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



Re: GWT designing

2010-05-24 Thread Paul Robinson
The OP said he has two classes in one package, not multiple entry points
in one module. His problem is more likely just an error in the code he's
written, but without seeing any source code, there's no chance to help.

Paul

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



Re: GWT designing

2010-05-24 Thread aditya sanas
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
 
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 .
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.sm...@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...@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 
>> 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-tool...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@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-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT designing

2010-05-21 Thread Rajalakshmi Subramanian
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  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 
> 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+unsubscr...@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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT designing

2010-05-21 Thread Shyam Visamsetty

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



GWT designing

2010-05-21 Thread Rajalakshmi Subramanian
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.