Re: How to minimize browser using GWT ?

2009-10-29 Thread Rinku

Thanks for your replies.


On Oct 29, 2:10 pm, Kris  wrote:
> In that case, some kind of custom-written, browser-specific plugin is
> your only option.  Firefox would probably be the easiest to write for.
> If it has to work with all browsers, you have a huge task ahead of
> you.
>
> But on the information you've given us, I agree - it sounds like it's
> time to question the requirement. Sometimes people say, "It must have
> a minimize button," when what they really mean is, "it should work the
> way other stuff does."
>
> On Oct 28, 4:47 pm, Rinku  wrote:
>
> > Thanks for your reply Kris and DaveS.
> > But I have requiement to provide my own mimimize and maximize button.
>
> > On Oct 28, 7:39 pm, DaveS  wrote:
>
> > > Why not just use the browser's own minimise button?
>
> > > I'm sure you won't be able to minimise the browser from inside
> > > JavaScript code.
>
> > >   Dave.
>
> > > On Oct 28, 1:24 pm, Rinku  wrote:
>
> > > > Please help me.
> > > > It is very urgent.
>
> > > > Thanks in advance.
>
> > > > On Oct 28, 9:42 am, Rinku  wrote:
>
> > > > > Thanks for your replies.
> > > > > First I am explaining my requirement :-
>
> > > > > I created my own minimize and maximize button in my Application.
> > > > > When I click on minimize button, my application should minimize like
> > > > > our application
> > > > >  (If we minimize any application in our PC, that application is
> > > > > displaying in our taskbar)
> > > > > I want my application should display in taskbar after minimize.
>
> > > > > I know how to resize the application to its minimum size.
> > > > > But resize is not ful filling  my requirement.
>
> > > > > Please help me.
>
> > > > > On Oct 27, 7:07 pm, "ganesh.shirsat"  wrote:
>
> > > > > > i tried this but javascript not provide any solution for minimize 
> > > > > > the
> > > > > > window.
>
> > > > > > On Oct 27, 7:00 pm, Lothar Kimmeringer  wrote:
>
> > > > > > > Rinku schrieb:
>
> > > > > > > > How to minimize browser using GWT ?
>
> > > > > > > If you replace GWT with HTML/Javascript and know the answer,
> > > > > > > you can answer that for yourself. I don't know the answer, but
> > > > > > > doubt that this is possible.
>
> > > > > > > Regards, Lothar
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: How to minimize browser using GWT ?

2009-10-28 Thread Rinku

Thanks for your reply Kris and DaveS.
But I have requiement to provide my own mimimize and maximize button.



On Oct 28, 7:39 pm, DaveS  wrote:
> Why not just use the browser's own minimise button?
>
> I'm sure you won't be able to minimise the browser from inside
> JavaScript code.
>
>   Dave.
>
> On Oct 28, 1:24 pm, Rinku  wrote:
>
> > Please help me.
> > It is very urgent.
>
> > Thanks in advance.
>
> > On Oct 28, 9:42 am, Rinku  wrote:
>
> > > Thanks for your replies.
> > > First I am explaining my requirement :-
>
> > > I created my own minimize and maximize button in my Application.
> > > When I click on minimize button, my application should minimize like
> > > our application
> > >  (If we minimize any application in our PC, that application is
> > > displaying in our taskbar)
> > > I want my application should display in taskbar after minimize.
>
> > > I know how to resize the application to its minimum size.
> > > But resize is not ful filling  my requirement.
>
> > > Please help me.
>
> > > On Oct 27, 7:07 pm, "ganesh.shirsat"  wrote:
>
> > > > i tried this but javascript not provide any solution for minimize the
> > > > window.
>
> > > > On Oct 27, 7:00 pm, Lothar Kimmeringer  wrote:
>
> > > > > Rinku schrieb:
>
> > > > > > How to minimize browser using GWT ?
>
> > > > > If you replace GWT with HTML/Javascript and know the answer,
> > > > > you can answer that for yourself. I don't know the answer, but
> > > > > doubt that this is possible.
>
> > > > > Regards, Lothar
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: How to minimize browser using GWT ?

2009-10-28 Thread Rinku

Please help me.
It is very urgent.

Thanks in advance.

On Oct 28, 9:42 am, Rinku  wrote:
> Thanks for your replies.
> First I am explaining my requirement :-
>
> I created my own minimize and maximize button in my Application.
> When I click on minimize button, my application should minimize like
> our application
>  (If we minimize any application in our PC, that application is
> displaying in our taskbar)
> I want my application should display in taskbar after minimize.
>
> I know how to resize the application to its minimum size.
> But resize is not ful filling  my requirement.
>
> Please help me.
>
> On Oct 27, 7:07 pm, "ganesh.shirsat"  wrote:
>
> > i tried this but javascript not provide any solution for minimize the
> > window.
>
> > On Oct 27, 7:00 pm, Lothar Kimmeringer  wrote:
>
> > > Rinku schrieb:
>
> > > > How to minimize browser using GWT ?
>
> > > If you replace GWT with HTML/Javascript and know the answer,
> > > you can answer that for yourself. I don't know the answer, but
> > > doubt that this is possible.
>
> > > Regards, Lothar
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Window Focus on chrome

2009-10-28 Thread Rinku

I am also looking for this solution.


On Oct 28, 2:15 pm, "ganesh.shirsat"  wrote:
> hi any one tell me
> how we focus on chrome browser using gwt.
> Javascript issue? window.focus() doesn't work in Chrome!
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: How to minimize browser using GWT ?

2009-10-27 Thread Rinku

Thanks for your replies.
First I am explaining my requirement :-

I created my own minimize and maximize button in my Application.
When I click on minimize button, my application should minimize like
our application
 (If we minimize any application in our PC, that application is
displaying in our taskbar)
I want my application should display in taskbar after minimize.

I know how to resize the application to its minimum size.
But resize is not ful filling  my requirement.

Please help me.


On Oct 27, 7:07 pm, "ganesh.shirsat"  wrote:
> i tried this but javascript not provide any solution for minimize the
> window.
>
> On Oct 27, 7:00 pm, Lothar Kimmeringer  wrote:
>
> > Rinku schrieb:
>
> > > How to minimize browser using GWT ?
>
> > If you replace GWT with HTML/Javascript and know the answer,
> > you can answer that for yourself. I don't know the answer, but
> > doubt that this is possible.
>
> > Regards, Lothar
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



How to minimize browser using GWT ?

2009-10-27 Thread Rinku

How to minimize browser using GWT ?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: How to get file seperator in gwt ?

2009-01-30 Thread Rinku

Thanks Lothar.
I will try it.

On Jan 30, 2:37 pm, Lothar Kimmeringer  wrote:
> Rinku schrieb:
>
> > I am using FileUploadWidget to upload a file.
> > After uploading file I am adding the uploaded filename in a ListBox to
> > display the uploaded filename to the user.
> >>From server side I am returning the complete path of the file where I
> > created uploaded file on the server. Code is given below :-
>
> If you are in control of what is returned, why don't you simply
> replace the system.specific file-separator by '/'. So in your
> servlet you simply do a
> return localPath.replace(File.separatorChar, '/');
>
> That way you don't have to cope with the separator at all.
> java.io.File takes all kinds of separators, i.e. if you create
> an instance of File with "\Users\User\Documents\whatever.txt"
> this will happily work independent if that happens on a Windows
> or Linux or AS/400-system. The same is valid for the use of
> slashes ('/') on Windows-systems.
>
> If you want to show the path using the separators used by the
> client, you might check out the User-Agent-Header on the servlet-
> side to find out what operating system the client is using. On
> the other side, who cares if there are backslashes or slashes?
>
> Regards, Lothar
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: How to get file seperator in gwt ?

2009-01-29 Thread Rinku

Thanks for your reply.
Let me explain the scenario in which i want to get the file seperator.

I am using FileUploadWidget to upload a file.
After uploading file I am adding the uploaded filename in a ListBox to
display the uploaded filename to the user.
>From server side I am returning the complete path of the file where I
created uploaded file on the server. Code is given below :-

response.setContentType("text/html");
String path = filePath+System.getProperty("file.separator")+fileName;
response.getWriter().write(path);

On client side
public void onSubmitComplete(FormSubmitCompleteEvent event)
{
   //--- Get the complete path of uploaded file ---
String fileUrl= event.getResults();
int idx = fileUrl.lastIndexOf("\\");
String fileName = null;

if (idx != -1)
{
//--- Get the filename from the url. ---
fileName = fileUrl.substring(idx + 1);
//--- listAttachments is a ListBox in which I
am adding filename. ---
this.listAttachments.addItem(fileName,
fileUrl);
}

}


This code is working fine on Windows Operating System but not working
on Linux.
Because Windows using "\" as a fileseperator and Linux using "/" as
fileseperator.

So what I will use to get the file seperator in the code given below,
which will work on both Windows and Linux.
  int idx = fileUrl.lastIndexOf("\\");

Is there any substitue of System.getProperty("file.separator") which I
will use on client side to get the seperator, which will work on cross
platform ?


On Jan 30, 3:16 am, danox  wrote:
> Which file separator do you want to get?
>
> If it is the client file separator, the only way I could think would
> be to run a trusted java applet in the client and use javascript to
> invoke a call to System.getProperty(). This would involve the user
> having to agree to let the applet run and so on.
>
> If you wanted the file separator on the server, you could always make
> an Async call to a service that called System.getProperty();
>
> I can't help feeling, though,  that the fact that you want to get the
> file separator in the client would suggest that what you are trying to
> do with it isn't going to work.
>
> On Jan 30, 4:34 am, Rinku  wrote:
>
> > How to get file seperator in gwt to because System.getProperty
> > ("file.separator") is not working on client side ?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



How to get file seperator in gwt ?

2009-01-29 Thread Rinku


How to get file seperator in gwt to because System.getProperty
("file.separator") is not working on client side ?

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



Re: onHistoryChange(String token) is not working.

2008-12-22 Thread Rinku


Hi Sumit,
I am using both IE and Firefox.
On both browser I am facing this issue.

On Dec 22, 9:59 pm, Sumit Chandel  wrote:
> Hi Rinku,
>
> Which browser does this occur on? I think the problem you're experiencing is
> related to Issue #624 that Thomas mentioned above, but yours is probably an
> IE case where a single form panel will work through history but multiple
> form panels trigger the bug.
>
> I would recommend updating the issue report with your case and posting some
> sample code to help us reproduce to problem on our side. Issue #624 is
> slated for 1.6, so hopefully we can get this fix in by the next release.
>
> Issue #624:http://code.google.com/p/google-web-toolkit/issues/detail?id=624
>
> Hope that helps,
> -Sumit Chandel
>
> On Wed, Dec 17, 2008 at 10:03 PM, Rinku wrote:
>
>
>
> > Can anybody help me to solve this bug ?
>
> > On Dec 17, 10:30 am, Rinku  wrote:
> > > Similar issue is reported in this thread also.
> >http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...
>
> > > On Dec 17, 10:18 am, Rinku  wrote:
>
> > > > Hi Thomas,
> > > > Thanks for reply.
>
> > > > Yes. single vs. multiple is affecting the history.
> > > > I am using History.back() to move on the previousHistoryToken which is
> > > > only working when I am uploading single file.
> > > > Please reply soon.
>
> > > > On Dec 16, 7:04 pm, Thomas Broyer  wrote:
>
> > > > > On 11 déc, 14:43, Rinku  wrote:
>
> > > > > > Hi,
> > > > > > I am using FileUpload Widget to upload a file.
> > > > > > When I am upolading more than one  files  with FileUploadWidget and
> > > > > > after uploading  the files  I am using History.back on a click of a
> > > > > > button then onHistoryChange() method is not invoking.
>
> > > > > See issue 624
> >http://code.google.com/p/google-web-toolkit/issues/detail?id=624
>
> > > > > > When I am uploading a single file then onHistoryChange() method is
> > > > > > calling.
>
> > > > > That sounds weird; I can't understand how single vs. multiple would
> > > > > affect history...
>
> > > > > > It is necessary for me to call History.back() method after
> > uploading
> > > > > > files to display the previous view.
>
> > > > > Can't you rather use some other mean of communicating the previous
> > > > > history token and then doing a History.newItem(previousHistoryToken)?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Found bug in Gwt 1.5.3 History class

2008-12-22 Thread Rinku

Hi Arthur,
I have a problem with both; browser's back button and History.back().


On Dec 18, 7:12 pm, "Arthur Kalmenson"  wrote:
> Oh, nevermind, there's already an 
> issue:http://code.google.com/p/google-web-toolkit/issues/detail?id=624
>
> It looks like it'll be fixed in GWT 1.6.
>
> --
> Arthur Kalmenson
>
> On Thu, Dec 18, 2008 at 9:10 AM, Arthur Kalmenson  
> wrote:
> > Hmm, do you have problems when you use the browser's back button or is
> > only a problem when you call History.back() programmatically? I'd file
> > a bug report in the GWT issue tracker
> >http://code.google.com/p/google-web-toolkit/issues/list
>
> > --
> > Arthur Kalmenson
>
> > On Thu, Dec 18, 2008 at 1:02 AM, Rinku  wrote:
>
> >> Can anybody help me to solve this bug ?
>
> >> On Dec 17, 11:21 am, Rinku  wrote:
> >>> Please pay attention to this bug.
>
> >>> The similar bug is reported in this thread 
> >>> :-http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...
>
> >>> On Dec 16, 3:33 pm, Rinku  wrote:
>
> >>> > Hi,
> >>> > I am using FileUploadWidget, when ever I am uploading more that one
> >>> > files with file upload widget, History.back() is not working. It is
> >>> > not calling onHistoryChanged(String token) method.
>
> >>> > If I am using uploading one file from FileUploadWidget then
> >>> > History.back() is working fine.
> >>> > What is issue ?
> >>> > Please help me to solve this bug.
>
> >>> > Thanks,
> >>> > Ashish Kushwaha
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: onHistoryChange(String token) is not working.

2008-12-17 Thread Rinku

Can anybody help me to solve this bug ?

On Dec 17, 10:30 am, Rinku  wrote:
> Similar issue is reported in this thread 
> also.http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...
>
> On Dec 17, 10:18 am, Rinku  wrote:
>
> > Hi Thomas,
> > Thanks for reply.
>
> > Yes. single vs. multiple is affecting the history.
> > I am using History.back() to move on the previousHistoryToken which is
> > only working when I am uploading single file.
> > Please reply soon.
>
> > On Dec 16, 7:04 pm, Thomas Broyer  wrote:
>
> > > On 11 déc, 14:43, Rinku  wrote:
>
> > > > Hi,
> > > > I am using FileUpload Widget to upload a file.
> > > > When I am upolading more than one  files  with FileUploadWidget and
> > > > after uploading  the files  I am using History.back on a click of a
> > > > button then onHistoryChange() method is not invoking.
>
> > > See issue 
> > > 624http://code.google.com/p/google-web-toolkit/issues/detail?id=624
>
> > > > When I am uploading a single file then onHistoryChange() method is
> > > > calling.
>
> > > That sounds weird; I can't understand how single vs. multiple would
> > > affect history...
>
> > > > It is necessary for me to call History.back() method after uploading
> > > > files to display the previous view.
>
> > > Can't you rather use some other mean of communicating the previous
> > > history token and then doing a History.newItem(previousHistoryToken)?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Found bug in Gwt 1.5.3 History class

2008-12-17 Thread Rinku

Can anybody help me to solve this bug ?

On Dec 17, 11:21 am, Rinku  wrote:
> Please pay attention to this bug.
>
> The similar bug is reported in this thread 
> :-http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...
>
> On Dec 16, 3:33 pm, Rinku  wrote:
>
> > Hi,
> > I am using FileUploadWidget, when ever I am uploading more that one
> > files with file upload widget, History.back() is not working. It is
> > not calling onHistoryChanged(String token) method.
>
> > If I am using uploading one file from FileUploadWidget then
> > History.back() is working fine.
> > What is issue ?
> > Please help me to solve this bug.
>
> > Thanks,
> > Ashish Kushwaha
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Found bug in Gwt 1.5.3 History class

2008-12-16 Thread Rinku

Please pay attention to this bug.

The similar bug is reported in this thread :-
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/deed65e63d12aea3/f654432e3a2be126?lnk=gst&q=History.back+issue#f654432e3a2be126

On Dec 16, 3:33 pm, Rinku  wrote:
> Hi,
> I am using FileUploadWidget, when ever I am uploading more that one
> files with file upload widget, History.back() is not working. It is
> not calling onHistoryChanged(String token) method.
>
> If I am using uploading one file from FileUploadWidget then
> History.back() is working fine.
> What is issue ?
> Please help me to solve this bug.
>
> Thanks,
> Ashish Kushwaha
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: onHistoryChange(String token) is not working.

2008-12-16 Thread Rinku

Similar issue is reported in this thread also.
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/deed65e63d12aea3/f654432e3a2be126?lnk=gst&q=History.back+issue#f654432e3a2be126

On Dec 17, 10:18 am, Rinku  wrote:
> Hi Thomas,
> Thanks for reply.
>
> Yes. single vs. multiple is affecting the history.
> I am using History.back() to move on the previousHistoryToken which is
> only working when I am uploading single file.
> Please reply soon.
>
> On Dec 16, 7:04 pm, Thomas Broyer  wrote:
>
> > On 11 déc, 14:43, Rinku  wrote:
>
> > > Hi,
> > > I am using FileUpload Widget to upload a file.
> > > When I am upolading more than one  files  with FileUploadWidget and
> > > after uploading  the files  I am using History.back on a click of a
> > > button then onHistoryChange() method is not invoking.
>
> > See issue 
> > 624http://code.google.com/p/google-web-toolkit/issues/detail?id=624
>
> > > When I am uploading a single file then onHistoryChange() method is
> > > calling.
>
> > That sounds weird; I can't understand how single vs. multiple would
> > affect history...
>
> > > It is necessary for me to call History.back() method after uploading
> > > files to display the previous view.
>
> > Can't you rather use some other mean of communicating the previous
> > history token and then doing a History.newItem(previousHistoryToken)?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: onHistoryChange(String token) is not working.

2008-12-16 Thread Rinku

Hi Thomas,
Thanks for reply.

Yes. single vs. multiple is affecting the history.
I am using History.back() to move on the previousHistoryToken which is
only working when I am uploading single file.
Please reply soon.


On Dec 16, 7:04 pm, Thomas Broyer  wrote:
> On 11 déc, 14:43, Rinku  wrote:
>
> > Hi,
> > I am using FileUpload Widget to upload a file.
> > When I am upolading more than one  files  with FileUploadWidget and
> > after uploading  the files  I am using History.back on a click of a
> > button then onHistoryChange() method is not invoking.
>
> See issue 624http://code.google.com/p/google-web-toolkit/issues/detail?id=624
>
> > When I am uploading a single file then onHistoryChange() method is
> > calling.
>
> That sounds weird; I can't understand how single vs. multiple would
> affect history...
>
> > It is necessary for me to call History.back() method after uploading
> > files to display the previous view.
>
> Can't you rather use some other mean of communicating the previous
> history token and then doing a History.newItem(previousHistoryToken)?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: onHistoryChange(String token) is not working.

2008-12-16 Thread Rinku

Hi Gabriel,

Thanks for reply.

Yes I registed HistoryListener to the class.
History.back() is not working only in one case which is :-
When I am uploading  more than one files with FileUploadWidget.
Else every where my implementation is working fine.
Even when I am uploading one file then it works.

Only History.back() is creating problem when I am uploading multiple
file by FileUploadWidget ?
Please reply soon.


On Dec 16, 10:10 am, Gabriel Gutierrez  wrote:
> di u register it?
>
> History.addHistoryListener(this);
>
> this = EntryPoint class
>
> Regards,
>
> On Dec 15, 10:49 pm, Rinku  wrote:
>
> > On Dec 11, 6:43 pm, Rinku  wrote:
>
> > > Hi,
> > > I am using FileUpload Widget to upload a file.
> > > When I am upolading more than one  files  with FileUploadWidget and
> > > after uploading  the files  I am using History.back on a click of a
> > > button then onHistoryChange() method is not invoking.
>
> > > When I am uploading a single file then onHistoryChange() method is
> > > calling.
>
> > > It is necessary for me to call History.back() method after uploading
> > > files to display the previous view.
> > > Please help me to solve this problem.
>
> > Please pay attention to this Thread.
> > Help me.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Found bug in Gwt 1.5.3 History class

2008-12-16 Thread Rinku

Hi,
I am using FileUploadWidget, when ever I am uploading more that one
files with file upload widget, History.back() is not working. It is
not calling onHistoryChanged(String token) method.

If I am using uploading one file from FileUploadWidget then
History.back() is working fine.
What is issue ?
Please help me to solve this bug.

Thanks,
Ashish Kushwaha
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: onHistoryChange(String token) is not working.

2008-12-15 Thread Rinku



On Dec 11, 6:43 pm, Rinku  wrote:
> Hi,
> I am using FileUpload Widget to upload a file.
> When I am upolading more than one  files  with FileUploadWidget and
> after uploading  the files  I am using History.back on a click of a
> button then onHistoryChange() method is not invoking.
>
> When I am uploading a single file then onHistoryChange() method is
> calling.
>
> It is necessary for me to call History.back() method after uploading
> files to display the previous view.
> Please help me to solve this problem.

Please pay attention to this Thread.
Help me.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



onHistoryChange(String token) is not working.

2008-12-11 Thread Rinku

Hi,
I am using FileUpload Widget to upload a file.
When I am upolading more than one  files  with FileUploadWidget and
after uploading  the files  I am using History.back on a click of a
button then onHistoryChange() method is not invoking.

When I am uploading a single file then onHistoryChange() method is
calling.

It is necessary for me to call History.back() method after uploading
files to display the previous view.
Please help me to solve this problem.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---