ListBox on Safari browser

2012-10-12 Thread Raja Shekhar
Hi,

I have a form with a listbox and a push button named "Add".
When button Add is clicked, it would add numbers/data to the listbox
dynamically.
Listbox is empty on form load.

Case 1:(Failure)
When ListBox is empty, place the cursor on listbox and click Add button.
Then it is adding data to the listbox, but it is not showing/reflecting on
UI.

Case 2: (Successful)
When ListBox is empty and click Add button.
Then it is adding data to the listbox, and showing/reflecting on UI
immediately

This is happening on Safari v5.0.5 version Windows 7 OS.
Could anyone please try this and let me know the resolution.

Thanks,
Raja

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



PasswordTextBox: Making password character visible for a moment

2011-10-19 Thread Raja Shekhar
Hi,

I would like to make my PasswordTextBox shows typed character for a moment
and then change to masking character.
This behavior we generally see in Mobiles. Password Character will be shown
for small amount of time.
Is this possible in GWT ? if so, how can i do that? Can someone please
provide me a piece of code to do that.
Is there a way to change password masking char for passwordTextBox? For
example, i would like to use '#' character as masking character for my
PasswordTextBox

-- 
Thanks,
Raja

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



Dependency classes for com.google.gwt.logging.server.RemoteLoggingServiceImpl

2011-10-10 Thread Raja Shekhar
Hi,

Are there any tools to find dependency classes
for com.google.gwt.logging.server.RemoteLoggingServiceImpl class.
I'm using CDA for this. but it is taking too long to analyze.Started
yesterday, still continuing.

-- 
Thanks,
Raja

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



GWT remote Logging

2011-10-04 Thread Raja Shekhar
Hi

http://code.google.com/webtoolkit/doc/latest/DevGuideLogging.html#Remote_Logging

As per the document, if i wish to have remoteLogging, do i need to write a
servlet class remoteLoggingServlet?

if so, could someone please provide me an example how it will look like?
if not, what do i need to do on the server end? is that servlet already
available?

Thanks,
Raja

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



Please suggest me what widgets are suitable to have the attached UI

2011-09-12 Thread Raja Shekhar
Hi,

I need to have the mentioned UI design for my application.
i'm unable to find appropriate widgets to draw such containers.

Please let me know what widgets that will help in designing my UI.

Thanks,
Raja

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

<>

native implementation of com.google.gwt.core.client.JavaScriptObject

2011-08-25 Thread Raja Shekhar
Hi,

Could anyone please provide me the location where i can the implementation
of com.google.gwt.core.client.JavaScriptObject in GWT?

Or

I would like to create MOCK implementation
for com.google.gwt.core.client.JavaScriptObject, please guide me on how to
do this?

-- 
Thanks,
Raja

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



JUnit testcase with SmartGwt

2011-08-22 Thread Raja Shekhar
Hi,

i'm using SmartGwt for xpath.
i'm able to execute it successfully in webapplication.
i have written a GWTTestcase to test this.
when i run that testcase, it is failing in runtime by throwing runtime
exception.

could someone please help me resolving this issue

here is the exception info:

java.lang.RuntimeException: Remote test failed at 10.64.123.39 / Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.0.19) Gecko/2010031422
Firefox/3.0.19

at
com.google.gwt.junit.JUnitShell.processTestResult(JUnitShell.java:1288)

at
com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1408)

at
com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1309)

at
com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:650)

at
com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:441)

at junit.framework.TestCase.runBare(TestCase.java:130)

at junit.framework.TestResult$1.protect(TestResult.java:106)

at
junit.framework.TestResult.runProtected(TestResult.java:124)

at junit.framework.TestResult.run(TestResult.java:109)

at junit.framework.TestCase.run(TestCase.java:120)

at
com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:296)

at junit.framework.TestSuite.runTest(TestSuite.java:230)

at junit.framework.TestSuite.run(TestSuite.java:225)

at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)

at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)

at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)

at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)

at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)

at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

Caused by: java.lang.Exception:
com.google.gwt.core.client.JavaScriptException: (null): null

at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237)

at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:132)

at
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)

at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)

at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)

at
com.smartgwt.client.data.XMLTools.selectString(XMLTools.java)

.. ... 


-- 
Thanks,
Raja

-- 
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: Regular expressions in GWT

2011-08-22 Thread Raja Shekhar
Thanks.

+Raja

On Mon, Aug 22, 2011 at 2:51 PM, Jim Douglas  wrote:

>
> http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/regexp/shared/RegExp.html
>
> On Aug 21, 11:57 pm, Raja Shekhar  wrote:
> > Hi,
> >
> > Can we use java.util.regex.Pattern in GWT?
> > i'm getting the following error.
> >
> > [ERROR] [esms] - Line 31: No source code is available for type
> > java.util.regex.Pattern; did you forget to inherit a required module?
> >
> > I included JRE.
> >
> > --
> > Thanks,
> > Raja
>
> --
> 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.
>
>


-- 
Thanks,
Raja

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



Regular expressions in GWT

2011-08-21 Thread Raja Shekhar
Hi,

Can we use java.util.regex.Pattern in GWT?
i'm getting the following error.

[ERROR] [esms] - Line 31: No source code is available for type
java.util.regex.Pattern; did you forget to inherit a required module?

I included JRE.

-- 
Thanks,
Raja

-- 
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: JUnit testing with GWT

2011-08-18 Thread Raja Shekhar
Hi,

i have already gone through that link.

apart from the text class, do i need to have any xml file for configuration?
i'm using smartgwt library for xpath functions.
i can't understand how to debug the error.


here is my code:

*public* *boolean* isPasswordExpired() {


  *int* expire = Integer.*parseInt*(XMLTools.*selectString*(
credentialXML, "//domain:credential/user/passwd/@expire",namespace));

  *int* days = Integer.*parseInt*(XMLTools.*selectString*(credentialXML,
"//domain:credential/user/passwd/@days",namespace));

  *if*( expire == 1 && days <= 0 )

*return* *true*;

  *return* *false*;

}

my test case:

*public* *void* testisPasswordExpired(){

Abc cr = Abc.*getInstance*();
*assertTrue*("Password Expired, Test Failed "
,cr.isPasswordExpired());

}


here is the error that i'm getting:

java.lang.RuntimeException: Remote test failed at 10.64.123.39 / Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.0.19) Gecko/2010031422
Firefox/3.0.19

at
com.google.gwt.junit.JUnitShell.processTestResult(JUnitShell.java:1288)

at
com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1408)

at
com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1309)

at
com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:650)

at
com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:441)

at junit.framework.TestCase.runBare(TestCase.java:130)

at junit.framework.TestResult$1.protect(TestResult.java:106)

at
junit.framework.TestResult.runProtected(TestResult.java:124)

at junit.framework.TestResult.run(TestResult.java:109)

at junit.framework.TestCase.run(TestCase.java:120)

at
com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:296)

at junit.framework.TestSuite.runTest(TestSuite.java:230)

at junit.framework.TestSuite.run(TestSuite.java:225)

at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)

at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)

at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)

at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)

at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)

at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

Caused by: java.lang.Exception:
com.google.gwt.core.client.JavaScriptException: (null): null

at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237)

at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:132)

at
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)

at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)

at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)

at
com.smartgwt.client.data.XMLTools.selectString(XMLTools.java)

at
com.verifone.isd.client.Credential.isPasswordExpired(Credential.java:82)

at
com.verifone.isd.client.eSMSTest.testisPasswordExpired(eSMSTest.java:27)

at
com.verifone.isd.client.__eSMSTest_unitTestImpl.doRunTest(__eSMSTest_unitTestImpl.java:10)

at junit.framework.TestCase.runTest(TestCase.java:62)

at
com.google.gwt.junit.client.GWTTestCase.runBare(GWTTestCase.java:188)

at
com.google.gwt.junit.client.GWTTestCase.__doRunTest(GWTTestCase.java:129)

at
com.google.gwt.junit.client.impl.GWTRunner.runTest(GWTRunner.java:389)

at
com.google.gwt.junit.client.impl.GWTRunner.doRunTest(GWTRunner.java:318)

at
com.google.gwt.junit.client.impl.GWTRunner.access$9(GWTRunner.java:312)

at
com.google.gwt.junit.client.impl.GWTRunner$TestBlockListener.onSuccess(GWTRunner.java:107)

at
com.google.gwt.junit.client.impl.GWTRunner$InitialResponseListener.onSuccess(GWTRunner.java:63)

at
com.google.gwt.junit.client.impl.GWTRunner$InitialResponseListener.onSuccess(GWTRunner.java:1)

at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:232)

at
com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)

at
com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

at
sun.