Re: support F5 to load current page

2010-07-20 Thread Muhammad Saifullah
pls use Window.addWindowCloseHandler( new WindowCloseHandler(event) { event.setMessage(your message here); } ); in your onModuleLoad() function. when F5 button is pressed then custom message will be displayed if you press OK button then reloads but if you press the cancel then no reload. OK

Re: GWTCanvas not working on IE6?

2010-07-05 Thread Muhammad Saifullah
/GWTCanvasDemo.html nothing works, even in quirks mode? On Jul 3, 10:07 am, Qian Qiao qian.q...@gmail.com wrote: On Sat, Jul 3, 2010 at 16:56, Muhammad Saifullah msaif.muham...@gmail.com wrote: in IE how can i use quirks mode? can you give me some syntax of quirks mode where i can write

Re: GWTCanvas not working on IE6?

2010-07-03 Thread Muhammad Saifullah
in IE how can i use quirks mode? can you give me some syntax of quirks mode where i can write On Sat, Jul 3, 2010 at 3:39 AM, Flemming Boller flemming.bol...@gmail.comwrote: i use it on ie6. it works both in development and deploy mode. remember that in IE you must use quirks mode. in strict

Re: GWT front-end with PHP backend

2010-06-12 Thread Muhammad Saifullah
gwt created js is nothing but a normal JS ,executed in browser. so backend is either PHP or Java. if you use ajax in GWT and server side is PHP then you use RequestBuilder Class. if server side is Java then you may use either RequestBuilder/GWT.create(abc.class); On Sat, Jun 12, 2010 at 2:17 AM,

gwt

2010-05-15 Thread Muhammad Saifullah
how can i check that browser supports JS or cookie from 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

PHP servlet in memory database

2010-05-04 Thread Muhammad Saifullah
i have some problem noticed below. i need to load data as array to memory in PHP.but in PHP if i write *$array= array(1,2);* in test.php then this $array variable is initialized every time user requests.if we request test.php 100 times by clicking 100 times browser refresh button then this $array

gwt click event

2010-04-18 Thread Muhammad Saifullah
i need to register a cross platform and version independent click event to the document. that means i have a two text box and submit button but when i click outside of the two text box and submit button then alert will be displayed .how can i achive this by gwt document.get().addMouseClick ???

Re: Give GWT Text box a value with Div tag in jsp page

2010-03-31 Thread Muhammad Saifullah
if you try to apply value on textbox it is simple but if you use fully GWT textbox component then there are two solutions 1. div id=textBox/divinput type=hidden id=textBoxValue value=?= Constant.TextBoxValue; ?/ Constant.TextBoxValue is located in your server side Java Model and JSP file has

Re: Give GWT Text box a value with Div tag in jsp page

2010-03-31 Thread Muhammad Saifullah
if you try to apply value on textbox it is simple but if you use fully GWT textbox component then there are two solutions 1. div id=textBox/divinput type=hidden id=textBoxValue value=?= Constant.TextBoxValue; ?/ Constant.TextBoxValue is located in your server side Java Model and JSP file has

Re: Give GWT Text box a value with Div tag in jsp page

2010-03-31 Thread Muhammad Saifullah
if you try to apply value on textbox it is simple but if you use fully GWT textbox component then there are two solutions 1. div id=textBox/divinput type=hidden id=textBoxValue value=?= Constant.TextBoxValue; ?/ Constant.TextBoxValue is located in your server side Java Model and JSP file has

Re: notification of server side shutdown within Servlet

2010-03-29 Thread Muhammad Saifullah
Every servlet is HttpServlet so destroy() method resides in HttpServlet. so you need to override that destroy() in your class and before shutting down of your application server instruction pointer of VM automatically enters into the overrided destroy() method and if you write resource cleaning