Re: Adding Java modules as dependencies in GWT Maven project with plugin 2.7.0

2016-06-29 Thread Sai Manoj Athota

Hi Team,

Can anyone help me on this.

Thanks
Sai


On Saturday, June 25, 2016 at 11:51:28 AM UTC+5:30, Sai Manoj Athota wrote:
>
> If possible can you post an example.
>
> Thanks
> Sai
>
> On Saturday, June 25, 2016 at 11:40:28 AM UTC+5:30, Sai Manoj Athota wrote:
>>
>> Hi J,
>>
>> Thanks for the quick reply. Still I am not able to build my project. Can 
>> you please have a look at my code as below,
>>
>> 
>> com.ex
>> ccmscommon
>> 0.0.1-SNAPSHOT
>> sources
>> 
>> 
>> com.ex
>> ccmscommon
>> 0.0.1-SNAPSHOT
>> 
>>
>> Where ccmscommon is the common project.
>>
>> com/ccmscommon.gwt.xml
>>
>> 
>> 
>> 
>> 
>>
>> i kept ccmscommon.gwt.xml in package com.
>>
>> I am inheriting the ccmscommon module in ccms.gwt.xml as below,
>>
>> 
>>
>> If you need more information, Please let me know.
>>
>> Kindly help me to resolve this. Thanks in advance.
>>
>> Thanks
>> Sai
>>
>> On Friday, June 24, 2016 at 7:12:46 PM UTC+5:30, Jens wrote:
>>>
>>> GWT also needs source files so you need to add a second dependency to 
>>> the source artifact using sources.
>>>
>>> You also need a GWT module for your common project and inherit it in 
>>> your 2nd project's GWT module. Otherwise GWT compiler will not see the code 
>>> of your common project. The common.gwt.xml file does not have to be bundled 
>>> in the common artifact, it just needs to be on classpath (e.g. you can 
>>> place it into your 2nd project's source/resource directory)
>>>
>>> -- J.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Adding Java modules as dependencies in GWT Maven project with plugin 2.7.0

2016-06-29 Thread Sai Manoj Athota
Hi Team,

We have 3 maven projects where the 2 are pure java module called 
"ccmscommon" and "projectscheduling" which are used by some other pure java 
maven projects also.
And the 3rd is Gwt maven module. I want to include the 1st 2 modules in gwt 
module as maven dependency.  Can you please provide the steps to do it. I 
tried as below,

Included 1st 2 projects as dependency in 2nd project's pom as below,


com.ex
ccmscommon
0.0.1-SNAPSHOT



com.ex
projectscheduling
0.0.1-SNAPSHOT


But getting the error as below,

 No source code is available for type com.ex.Example did you forget to 
inherit a required module?

Where com.ex.Example is the Java class from 1st maven module.

Kindly assist me to achieve this. 

Thanks
Sai

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Adding Java modules as dependencies in GWT Maven project with plugin 2.7.0

2016-06-25 Thread Sai Manoj Athota
If possible can you post an example.

Thanks
Sai

On Saturday, June 25, 2016 at 11:40:28 AM UTC+5:30, Sai Manoj Athota wrote:
>
> Hi J,
>
> Thanks for the quick reply. Still I am not able to build my project. Can 
> you please have a look at my code as below,
>
> 
> com.ex
> ccmscommon
> 0.0.1-SNAPSHOT
> sources
> 
> 
> com.ex
> ccmscommon
> 0.0.1-SNAPSHOT
> 
>
> Where ccmscommon is the common project.
>
> com/ccmscommon.gwt.xml
>
> 
> 
> 
> 
>
> i kept ccmscommon.gwt.xml in package com.
>
> I am inheriting the ccmscommon module in ccms.gwt.xml as below,
>
> 
>
> If you need more information, Please let me know.
>
> Kindly help me to resolve this. Thanks in advance.
>
> Thanks
> Sai
>
> On Friday, June 24, 2016 at 7:12:46 PM UTC+5:30, Jens wrote:
>>
>> GWT also needs source files so you need to add a second dependency to the 
>> source artifact using sources.
>>
>> You also need a GWT module for your common project and inherit it in your 
>> 2nd project's GWT module. Otherwise GWT compiler will not see the code of 
>> your common project. The common.gwt.xml file does not have to be bundled in 
>> the common artifact, it just needs to be on classpath (e.g. you can place 
>> it into your 2nd project's source/resource directory)
>>
>> -- J.
>>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Adding Java modules as dependencies in GWT Maven project with plugin 2.7.0

2016-06-25 Thread Sai Manoj Athota
Hi J,

Thanks for the quick reply. Still I am not able to build my project. Can 
you please have a look at my code as below,


com.ex
ccmscommon
0.0.1-SNAPSHOT
sources


com.ex
ccmscommon
0.0.1-SNAPSHOT


Where ccmscommon is the common project.

com/ccmscommon.gwt.xml






i kept ccmscommon.gwt.xml in package com.

I am inheriting the ccmscommon module in ccms.gwt.xml as below,



If you need more information, Please let me know.

Kindly help me to resolve this. Thanks in advance.

Thanks
Sai

On Friday, June 24, 2016 at 7:12:46 PM UTC+5:30, Jens wrote:
>
> GWT also needs source files so you need to add a second dependency to the 
> source artifact using sources.
>
> You also need a GWT module for your common project and inherit it in your 
> 2nd project's GWT module. Otherwise GWT compiler will not see the code of 
> your common project. The common.gwt.xml file does not have to be bundled in 
> the common artifact, it just needs to be on classpath (e.g. you can place 
> it into your 2nd project's source/resource directory)
>
> -- J.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Adding Java modules as dependencies in GWT Maven project with plugin 2.7.0

2016-06-24 Thread Sai Manoj Athota
Hi Team,

We have 2 maven projects where the 1st is pure java module called "common" 
which is used by some other pure java maven projects also.
And the 2nd is Gwt maven module. I want to include the 1st module in gwt 
module as maven dependency.  Can you please provide the steps to do it. I 
tried as below,

Included 1st project as dependency in 2nd project's pom as below,


com.ex
example
0.0.1-SNAPSHOT


But getting the error as below,

 No source code is available for type com.ex.Example did you forget to 
inherit a required module?

Where com.ex.Example is the Java class from 1st maven module.

Kindly assist me to achieve this.

Thanks
Sai

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Strange compilation errors on linux platform

2014-02-03 Thread Sai Siddarth Muralidharan
I am running into the same issue now. Any idea how to fix this?

On Friday, October 15, 2010 10:44:59 AM UTC-4, bananos wrote:

 We have a pretty heterogeneous team which works with GWT on Mac, 
 Windows  linux machines. 
 One of our latest commit crashed the automatic build which runs on 
 linux box. 
 The problem is that GWT java source generator fails with 
 NullPointerException at different places with the same configuration 
 inputs, therefore it is very hard to reproduce bug or nail it down. 

 The only regularity we've found is that it fails at some point when 
 trying to generate client bundles from PNG files. 
 Here are few examples: 

 Case #1 

 [java]Scanning for additional dependencies: file:/home/bear-z/ 
 work/client/Application/src/com/project/client/common/bundles/ 
 CommonResources.java 
  [java]   Computing all possible rebind results for 
 'com.project.client.common.bundles.CommonResources' 
  [java]  Rebinding 
 com.project.client.common.bundles.CommonResources 
  [java] Invoking 
 com.google.gwt.dev.javac.StandardGeneratorContext@72af7016 
  [java][ERROR] Generator 
 'com.google.gwt.resources.rebind.context.InlineClientBundleGenerator' 
 threw threw an exception while rebinding 
 'com.project.client.common.bundles.CommonResources' 
  [java] java.lang.NullPointerException 
  [java] at 
 com.google.gwt.resources.rebind.context.InlineResourceContext.deploy(InlineResourceContext.java:
  

 40) 
  [java] at 
 com.google.gwt.resources.rebind.context.AbstractResourceContext.deploy(AbstractResourceContext.java:
  

 97) 
  [java] at 
 com.google.gwt.resources.rg.ImageResourceGenerator.maybeDeploy(ImageResourceGenerator.java:
  

 369) 
  [java] at 
 com.google.gwt.resources.rg.ImageResourceGenerator.createFields(ImageResourceGenerator.java:
  

 176) 
  [java] at 
 com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.createFieldsAndAssignments(AbstractClientBundleGenerator.java:
  

 328) 
  [java] at 
 com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.createFieldsAndAssignments(AbstractClientBundleGenerator.java:
  

 385) 
  [java] at 
 com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.generate(AbstractClientBundleGenerator.java:
  

 245) 
  [java] at 
 com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGeneratorContext.java:
  

 418) 
  [java] at 
 com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java: 
 38) 
  [java] at com.google.gwt.dev.shell.StandardRebindOracle 
 $Rebinder.tryRebind(StandardRebindOracle.java:108) 
  [java] at com.google.gwt.dev.shell.StandardRebindOracle 
 $Rebinder.rebind(StandardRebindOracle.java:54) 
  [java] at 
 com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
  

 154) 
  [java] at 
 com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
  

 143) 
  [java] at com.google.gwt.dev.Precompile 
 $DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(Precompile.java:
  

 317) 
  [java] at 
 com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:
  

 95) 
  [java] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox 
 $CompilerImpl.process(AbstractCompiler.java:200) 
  [java] at 
 org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444) 
  [java] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox 
 $CompilerImpl.compile(AbstractCompiler.java:123) 
  [java] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox 
 $CompilerImpl.compile(AbstractCompiler.java:234) 
  [java] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox 
 $CompilerImpl.access$200(AbstractCompiler.java:109) 
  [java] at 
 com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java: 
 522) 
  [java] at 
 com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:
  

 112) 
  [java] at 
 com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:
  

 47) 
  [java] at 
 com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:
  

 430) 
  [java] at 
 com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java: 

 32) 
  [java] at 
 com.google.gwt.dev.Precompile.precompile(Precompile.java:522) 
  [java] at 
 com.google.gwt.dev.Precompile.precompile(Precompile.java:414) 
  [java] at com.google.gwt.dev.Compiler.run(Compiler.java:201) 
  [java] at com.google.gwt.dev.Compiler$1.run(Compiler.java: 
 152) 
  [java] at 
 com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87) 
  [java] at 
 

Immediately Need Salesforce Consultants

2013-10-23 Thread Sai Kanth
Hi Partners,



Hope you are doing good. Please have a look over the below position and
please send me your most updated resume ASAP….



*Job Title:** Salesforce.com System Analyst/Technology Lead*

*Location:** El Segundo, Los Angeles, US*

*Duration** : 6 months*



*Min IT Experience:** 10 years***

* *

*Min Salesforce.com Technology Experience:* 5 years

* *

*Responsibilities:*

Should liaise with business teams to understand CRM business requirements
and translate into Salesforce.com design

Perform fit-gap analysis and detailed estimation for Salesforce.com projects

Delivery ownership of Functional and Technical Design for SFDC projects

Lead the development team for high quality and timely deliverables

Experience in Global Delivery Model working with Offshore teams

End to End ownership of complex Salesforce.com projects including
deployment and post deployment support

Perform preventive and corrective maintenance practices like root cause
analysis to remove and prevent defects

* *

*Skill Requirement:*

Certified in Salesforce.com Sales and Service clouds

Strong hands-on Apex programming and Visual Force pages development
capability

Good Java programming skills

Hands-on with job scheduling and Integration of Salesforce.com using Web
Services

Knowledge of Informatica Cloud, database.com, sites.com and CTI

Experienced in handling data migration and code deployment using data
loader and Eclipse respectively in SFDC environments

Well versed in Salesforce.com Fit gap analysis,  creation of SFDC design
and entity models

Good understanding of solution implementation on Force.com

Experienced in SFDC Release Management/deployment activities

Strong functional knowledge of CRM functions like Lead Management and
Campaign Management

Knowledge of testing tools and techniques to write scripts and set up test
environment for development and Integration environments

Strong customer interfacing skills, written and Verbal Communication skills

Working Experience in agile development projects



Thanks  Regards



Sai Kanth



*TekisHub Consulting Services LLC***

1000 N West Street, Suite 1200, Wilmington, Delaware, 19801

(D) 302 613 2500 Ext: 106 (F) 617 830 0525



Under Bill s.1618 Title III passed by the 105th U.S. Congress this mail
cannot be considered Spam as long as we include contact information and a
remove link for removal from our mailing list. To be removed from our
mailing list reply with *REMOVE FROM THE MAILING LIST* in the subject
heading and your email address in the body. Include complete address and/or
domain/ aliases to be removed. If you still get the emails, please call us
at the numbers given above.



 P Please consider the environment and do not print this email unless
absolutely necessary.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: GWT 2.0.2 and Firefox

2013-08-08 Thread Sai Srinivas
This did not work for me, have you had this issue again? if so, is thre any 
other way to fix it. 

On Friday, March 12, 2010 8:43:51 AM UTC-6, Ronan wrote:

 The problem seems to be in the Firefox plug-ins I had installed.

 I did this to solve the problem:
 - uninstalled Firefox
 - restarted Windows (not sure this is mandatory, but maybe)
 - Re-installed Firefox 3.6 without any plug-in

 Then it worked.

 Hope this will help someone.

 Regards

 Ronan



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




TypeError: $doc.body.attachEvent is not a function

2013-08-08 Thread Sai Srinivas
I'm running my application on the firefox, i get this error. 

I've followed a post in forum, uninstalled firefox  restart machine  re 
install  try the application  get the same error mentioned above. 

Was anyone able to fix this issue?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Debug in Custom project structure

2013-08-07 Thread Sai Srinivas
Hello,

I'm trying to debug GWT application which has custom structure. I've hit a 
couple of issues even when I followed a couple of suggestions in one of the 
group post.

1. I have had classpath issue to find the .gwt.xml file. I went to the 
runconfig  classpath 'set the com.something.big.path.gwt' as the class 
path folder. 
2. When I set that, i've started having another problem, 'The declared 
package does not match the expected package client. 
3. I assumed that *.gwt.xml file has the source tag pointing to a wrong 
folder, so, pointed to a absolute path of the client folder 
com.something.big.path.gwt.client

changed source path='client'/ to source path='
com.something.big.path.gwt.client'/

Now I get compilation errors. Unable to find type  
com.something.big.path.gwt.client.App 
(this is the entry point mentioned in the .gwt.xml file)

I've done a lot of research, i've found a few topics, but they did not help 
me much. 

*Project structure is as below*

App.gwt.xml file is under

 com.something.big.path.gwt

client files are under 
 com.something.big.path.gwt.client

*Run configuration*
classpath - pointing to 
App/src
com.something.big.path.gwt

*compiler args*
-noserver  com.something.big.path.gwt.client http;//localhost:9081/App/

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Debug in Custom project structure

2013-08-07 Thread Sai Srinivas
I've figured it out,

I left the class path as is, but i'd to change the compiler arguments here. 

-war C:\Workspaces\x\war -startupUrl 
http://localhost:9081//index.jsp -remoteUI 
${gwt_remote_ui_server_port}:${unique_id} -logLevel ALL -codeServerPort 
9997 -noserver com.something.big.path.gwt.AASWeb

Also, project  rightclick  properties  google  web application 
'select this project a war directory and point to the directory'

I also deleted the .gwt.xml file from the run config and re added it there.



On Wednesday, August 7, 2013 10:19:50 AM UTC-5, Sai Srinivas wrote:

 Hello,

 I'm trying to debug GWT application which has custom structure. I've hit a 
 couple of issues even when I followed a couple of suggestions in one of the 
 group post.

 1. I have had classpath issue to find the .gwt.xml file. I went to the 
 runconfig  classpath 'set the com.something.big.path.gwt' as the class 
 path folder. 
 2. When I set that, i've started having another problem, 'The declared 
 package does not match the expected package client. 
 3. I assumed that *.gwt.xml file has the source tag pointing to a wrong 
 folder, so, pointed to a absolute path of the client folder 
 com.something.big.path.gwt.client

 changed source path='client'/ to source path='
 com.something.big.path.gwt.client'/

 Now I get compilation errors. Unable to find type  
 com.something.big.path.gwt.client.App 
 (this is the entry point mentioned in the .gwt.xml file)

 I've done a lot of research, i've found a few topics, but they did not 
 help me much. 

 *Project structure is as below*

 App.gwt.xml file is under

  com.something.big.path.gwt

 client files are under 
  com.something.big.path.gwt.client

 *Run configuration*
 classpath - pointing to 
 App/src
 com.something.big.path.gwt

 *compiler args*
 -noserver  com.something.big.path.gwt.client http;//localhost:9081/App/



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Vaadin Calendar is Free now, But How?

2013-02-24 Thread sampath sai
Hi ,

Can Someone please help me with Vaadin Calendar free for everyone. how can
i use it my GWT project? can i integrate with GWT with my own event
handling?

https://vaadin.com/blog/-/blogs/vaadin-calendar-is-now-free-for-everyone


https://vaadin.com/directory#addon/vaadin-calendar

Thank you,
Sai

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Alert user when they hit the browser back button /forward button /refresh button

2013-01-24 Thread Darsha Sai
Hi Thomas,

Thanks for your response.

I am not using MVP .I am not using  PlaceController . So I only relay on 
 History.addValueChangeHandler. 

What problem I am facing is ...

In GWT have History ,HistoryImpl classes. 

HistoryImpl class have newItem() , newItemOnEvent() these two  final 
methods will change the $wnd.location.hash value when we click on browser 
back button.

Moreover, GWT have different HistoryImpl   classes for browser specific 
 and  contain native methods to update the $wnd.location.hash .
Like under package com.google.gwt.user.client.impl

HistoryImpl
HistoryImplIE6
HistoryImplMozilla
HistoryImplSafari
HistoryImplTimer


*For Example :* In Mozilla browser , if I click on browser back 
button,control is going to  HistoryImplMozilla (see below GWT 
implementation in History.gwt.xml) and change the the browser URL in 
nativeUpdate method  and then control will come to   
History.addValueChangeHandler (onValueChange())   at this time the browser 
URL already modified and difficult to get the original URL from here.

History.gwt.xml

  !-- Mozilla has a slightly different history implementation than the 
--
  !-- standard case.   
--
  replace-with class=com.google.gwt.user.client.impl.HistoryImplMozilla
when-type-is class=com.google.gwt.user.client.impl.HistoryImpl/
any
when-property-is name=user.agent value=gecko1_8/
when-property-is name=user.agent value=gecko/
/any
  /replace-with

How to show the alert message  in this time ? in Alert message if user 
clicks to NO button means wants to stay in same page then its difficult to 
get the original URL . because original URL already modified.

In which place is suitable for showing Alert message to the user  if form 
is dirty and clicks on browser back button.

Its difficult to customize the HistoryImpl class for newItem() , 
newItemOnEvent() these are final methods can't over ride in sub classes. If 
i do that (copy entire class and done the customize) I need to customize 
History ,HistoryImpl ,HistoryImplIE6,HistoryImplMozilla , HistoryImplSafari 
,HistoryImplTimer.

Can you please suggest the best way to handle this problem ?

Thanks










On Tuesday, January 22, 2013 2:56:17 PM UTC+5:30, Thomas Broyer wrote:



 On Monday, January 21, 2013 6:31:12 PM UTC+1, Darsha Sai wrote:

 Hi ,

 I want to display alert message when user click on browser back 
 button/forward button/refresh buttons if form is dirty.

 How to capture  browser back button/forward button in gwt ?


 You can't. You can only react to navigation, either within the app 
 (History.addValueChangeHandler) or out of the app 
 (Window.addWindowClosingHandler).
 There are APIs that wrap them both though: adding a 
 PlaceChangeRequestEvent.Handler to the eventbus if you use the 
 PlaceController, or implementing mayStop() in your activity if you use 
 activities.


-- 
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.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Alert user when they hit the browser back button /forward button /refresh button

2013-01-21 Thread Darsha Sai
Hi ,

I want to display alert message when user click on browser back 
button/forward button/refresh buttons if form is dirty.

How to capture  browser back button/forward button in gwt ?


Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/gD-w-sJZl3oJ.
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.



ListBox widget behaves differently in FF12,IE7 and Chrome

2012-07-04 Thread Sai
public void onModuleLoad() {
ListBox widget = new ListBox();
widget.addStyleName(demo-ListBox);
widget.addItem(One);
widget.addItem(Two);
widget.addItem(Three);
widget.addItem(Four);
widget.addItem(Five);
widget.setSelectedIndex(-1);
VerticalPanel panel = new VerticalPanel();
panel.addStyleName(demo-panel-padded);
panel.setSize(200px, 120px);
panel.add(widget);
RootLayoutPanel.get().add(panel);
}

FF12:  Initially ListBox widget is displayed with no value in it.

IE7 and Chrome:  Initially ListBox widget is displayed with first
value in it, in this   case One.

I would like to have the FF behavior even in IE and Chrome.

Thanks in advance!
Saida




-- 
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: Call for action: Time to rethink a road-map and more frequent updates for GWT.

2012-04-13 Thread sampath sai
+1.

Lets do small rally!!. I know it sounds weird.but at least group of 20
people in front of Google head office. let me know. we can create poll who
ever is interested can join. Google will at least get some attention...


On Fri, Apr 13, 2012 at 3:39 AM, Nagin Kothari naginkoth...@gmail.comwrote:

 ++1


 On Thu, Apr 12, 2012 at 7:58 PM, Jmscavaleiro jmscavale...@gmail.comwrote:

 +1

 On Apr 2, 4:19 pm, Joshua Kappon shuky.kap...@gmail.com wrote:
  With the rise of the new developers.google.com, and with Google trying
 to
  rally up developers using Google technologies and products, and the
 rise of
  Dart and unclear future of GWT, I think it's about time that Google will
  rethink the all We don't and won't have a road map, and there are no
  release dates for new GWT versions and embrace the GWT developers
  community.
 
  What do you guys think? (if you agree, +1 this)
 
  Best,
  Josh

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



Code Coverage : How to integrate selenium,cobertura with gwt client project for code coverage report.

2012-03-29 Thread Darsha Sai
Hi,

I am using gwt client application.

I interested in selenium automated test case in my project.

I want to use cobertura for code coverage in my project with Selenium
auto mated test case .

How can integrate these two tools for my gwt client project ?

Thanks in advance.

-- 
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: Basic question on activity and places

2012-01-03 Thread sampath sai
Hi Jens,

I have question on activities. I have multiple areas like Master and
Detail. Cell table will display data in master, when I select row in the
master, I can going to detail place. But problem is again master activity
mapper is being invoked. Please help.

Thanks in advance,

Sai

On Tue, Jan 3, 2012 at 11:26 AM, Jens jens.nehlme...@gmail.com wrote:

 If you have multiple display areas in your app you would have multiple
 ActivityMappers (one per display area, e.g. a master area and a detail
 area). Now if you go to a Place each ActivityMapper can return a different
 Activity based on the Place. So its more like one-to-number of activity
 mappers. A common example is that you have a ListEmailActivity that shows
 a list of emails and a EMailDetailsActivity that actually shows the
 selected email's content. Both can be started at the same time if the list
 of emails and the contents of the selected email are visible at the same
 time. If an ActivityMapper does not need to return an Activity for a place
 it can return null or return a default Activity that displays a message or
 something. You could use both methods, e.g. if you return null it means
 hide the entire display area because I don't need it for that place and
 if you want to show a message return a MessageActivity instead.

 It can also happen that an ActivityMapper can start the same Activity for
 different places. For example you could have a single ListActivity that
 defines a general set of features for a list style view (for example
 searching the list, list ordering, etc.) but uses a ListAdapter to manage
 the displayed objects. If you now have EmailListPlace, PersonListPlace,
 etc. they all would start a ListActivity but for each Place the
 ListActivity would use a different ListAdapter, e.g. EmailAdapter,
 PersonAdapter, etc.

 -- J.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/ahsrTNbpg8gJ.

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



STS Dynamic web project vs GWT project

2011-12-20 Thread sampath sai
Hi ,

I am using Spring STS to build GWT and Spring web application. I created
dynamic project and added GWT to it. when i am compile i am getting below
error. Please help, if i am missing anything.

Compiling module com.base.HelloWorld
[ERROR] Unexpected internal compiler error
java.lang.NoSuchFieldError: warningThreshold
at
com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:413)
at
com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.init(JdtCompiler.java:228)
at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:700)
at
com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:235)
at
com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:447)
at
com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:370)
at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:360)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:252)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:233)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
at com.google.gwt.dev.Compiler.run(Compiler.java:232)
at com.google.gwt.dev.Compiler.run(Compiler.java:198)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
at com.google.gwt.dev.Compiler.main(Compiler.java:177)


Thanks,
Sai

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



MASTER-DETAIL with MVP

2011-12-16 Thread sampath sai
Hi,


I am trying to implement Master and Details using activities and places.
Below are code snippets



 g:FlowPanel

g:SimplePanel styleName=*{style.entityDetails}* ui:field=*
'master'*/g:SimplePanel

  /g:FlowPanel

g:SimplePanel styleName=*{style.entityDetails}* ui:field=*
'details'*/g:SimplePanel

  /g:FlowPanel





Attached each activity mappers for views

*final* ActivityManager masterActivityManager = *new* ActivityManager(
applicationMasterActivities, eventBus);



masterActivityManager.setDisplay(shell.getMasterPanel());







  *final* ActivityManager detailsActivityManager =
*new*ActivityManager(
applicationDetailsActivities, eventBus);



  detailsActivityManager.setDisplay(shell.getDetailsPanel());





Problem is when I got any place both the activities are getting evoked.  I
want details activity only when someone  selects on celltable(which will be
attached to master display)



Thanks,
Sai

-- 
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: Road Map for GWT?

2011-10-26 Thread sampath sai
Thank you.
Sai

On Wed, Oct 26, 2011 at 6:28 AM, Anton DS anton.ds.alexe...@gmail.comwrote:

 http://code.google.com/p/google-web-toolkit/w/list, here you can get a
 list of new features, some time.

 On Oct 26, 5:40 am, sampath sai vsampath@gmail.com wrote:
  Hi ,
 
  Any one has RoadMap for GWT 2012? Please provide some links..
 
  Thanks,
  Sai

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



Road Map for GWT?

2011-10-25 Thread sampath sai
Hi ,

Any one has RoadMap for GWT 2012? Please provide some links..

Thanks,
Sai

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



Fitting Activities and Places in current architecture

2011-10-20 Thread sampath sai
Hi ,
Right now I have app without any gwt activities and places. Can add
activity and places in current application? Or do I need rewrite
entire application? Please help.
If yes, I can mix and match, best approaches.


Thanks,
Sai

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



Modifying Mail App.. Help.

2011-10-11 Thread sampath sai
Hi ,


I need some help/suggestions with architecture.  I started GWT slowly
getting old of it.

My idea is to enhance current Mail app to fit my application.

I want to add following features

1)  User registration (link will appear at the top panel).

2)  Login application (link will appear at the top panel).

3)  Update profile information (center panel).

4)  Display Menu on West Panel.

Following questions, I need help/suggestions

1)  To display user registration is popup panel is best way or display
on central panel.

2)  Once user registers and login need to reload all panels, right now I
am passing menu and detail panel reference to top panel and as others, so
that they can make it visible widgets based on user login...

topPanel.setMailDetail(mailDetail);

topPanel.setShortcuts(shortcuts);

3)  After successful user logs in, will make update profile link on
toppanel visible as I have access to central panel, I will display update
profile widget.



Is it right way to do?


Thanks,

Sai

-- 
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: Is there a limitation with GWT2.4 plugin for Eclipse3.4

2011-09-26 Thread Sai
Hi Sudhakar,

One observation is, when I have a fresh eclipse which does not know
anything about GWT at all, and if try do Project-- Properties --
Google--Web Toolkit--Configure , I will not be able to find Google
option. in that case how do we proceed getting GWT2.4 in the
environment.

Thanks!


On Sep 21, 12:05 pm, Sudhakar Abraham s.abra...@datastoregwt.com
wrote:
 There is no limitation with GWT2.4 plugin for Eclipse3.4.  Download
 the gwt-2.4.0.zip from the link http://code.google.com/p/google-web-
 toolkit/downloads/detail?name=gwt-2.4.0.zip.  To extract the
 gwt-2.4.0.zip to your directory, in eclipse 3.4 (Ganymede) IDE try the
 following, Project-- Properties --Google--Web Toolkit--Configure
 SDks..--ADD--Installation directory using Browse button.

 S. Abrahamwww.DataStoreGwt.com
 Persist objects directly in GAE

 On Sep 21, 7:57 am, Sai dhana@gmail.com wrote:







  I am trying to install latest GWT version 2.4 on eclipse 3.4.

  I read the document at following 
  URLhttp://code.google.com/eclipse/docs/getting_started.html,
  but this
  document does not state any URL for eclipse 3.4 (Ganymede).

  Question here:  Is there plug-in ready for eclipse 3.4 to download the
  latest version of GWT or eclipse has to be migrtaed to 3.5/3.6/3.7 to
  use GWT latest version(2.4)

  I have also seen at other places that there is also a Google Plugin
  for Eclipse3.4 URLhttp://dl.google.com/eclipse/plugin/3.4 this is giving me 
  a problem
  saying No Repository Found

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



Getting “No Repository Found” error in Eclipse (Ganymede) while trying to install google plugins (GWT)

2011-09-20 Thread Sai
I am trying to install latest version of GWT( which is 2.4) on eclipse
3.4(Ganymede).

Using following plugin update URL given in GWT docs:
http://dl.google.com/eclipse/plugin/3.4

and getting No Repository Found error.


Update works for other versions of Eclipse 3.5/3.6/3.7 but does not
work with 3.4, is there any problem with this partuclar eclipse plug-
in or problem at my end.

Please advise what is wrong with this.

Thanks and Regards,
Saida.

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



Not able download archived gwt plugin for eclipse 3.4(Ganymede)

2011-09-20 Thread Sai

I am trying to download the archived gwt2.4 plugin for eclipse
3.4(Ganymede)

Open this URL http://code.google.com/eclipse/docs/install-from-zip.html

and click on the link Download the latest update site archive for
Eclipse 3.4.
at the heading For Eclipse 3.4
after clicking on the link it tries to access below URL
http://dl.google.com/eclipse/plugin/3.4/zips/gpe-e34-latest-updatesite.zip

and gives following error:

404. That’s an error.
The requested URL /eclipse/plugin/3.4/zips/gpe-e34-latest-
updatesite.zip was not found on this server. That’s all we know.

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



Is there a limitation with GWT2.4 plugin for Eclipse3.4

2011-09-20 Thread Sai
I am trying to install latest GWT version 2.4 on eclipse 3.4.

I read the document at following URL 
http://code.google.com/eclipse/docs/getting_started.html,
but this
document does not state any URL for eclipse 3.4 (Ganymede).

Question here:  Is there plug-in ready for eclipse 3.4 to download the
latest version of GWT or eclipse has to be migrtaed to 3.5/3.6/3.7 to
use GWT latest version(2.4)

I have also seen at other places that there is also a Google Plugin
for Eclipse3.4 URL
http://dl.google.com/eclipse/plugin/3.4  this is giving me a problem
saying No Repository Found

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



Can domain objects be interfaces as opposed to concrete classes in GWT RPC

2011-04-07 Thread Sai
Hi,

I am trying re-use the existing domain objects for my GWT based GUI.

I have all domain interfaces in one jar and all implementations in
another jar.

I am trying to use the interfaces jar in GWT client by having its
source code jar.

I am not successful in translating the interfaces to java script
during GWT compile.

I am using GWT RPC for client-server communication.

During the GWT compile it gives a problem saying interfaces are not
instantiable and fails in generating serialization policy.

Need help!

Thanks in advance!
Saida.


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



No available instantiable subtypes. reached via type

2011-04-06 Thread Sai
Hi,

I have a requirement where I wanted to use my existing dto/models
available to build new UI using GWT.

To achieve above statement I followed:
step 1: Created a separate java project contains all interfaces for
the existing dto/models. and I also put Models.gwt.xml file to use dto/
models in GWT client.

step2: generated a source jar for the above project

step3: added the above source jar into GWT projects classpath

step4: inherited the Models module in a GWT module.

step5: Performed GWT Compile on the GWT modules which inherits the
Models module.

I have ModelTest interface in the above source jar and ModelTest
implementation is available as byte code in another jar.

basically, In the GWT client code I am using ModelTest reference.

During the GWT compilation process I get the following error saying:

Generating the client proxy for remote service interface
'ModelTest has  no available  instantiable subtypes. (reached via
ModelTest)
Subtype ModelTest in not instantiable.

I am using GWT2.2.0.

I have no clue about this error.

Please share your thoughts on this.

Thanks in advance!

Saida.Dhanavath



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



com.google.gwt.junit.client.GWTTestCase can not be found in source packages

2011-03-07 Thread Sai
Hi,

I have down loaded StockWatcher to understand GWT RPC better.

I have imported the project into my eclipse work space and I get the
following problem:

 com.google.gwt.junit.client.GWTTestCase can not be found in source
packages. Check the inheritance chain from your module; it may not be
inheriting a required module or a module may not be adding its source
path entries properly 

Tried doing:
1. Exceptionally added gwt-user.jar and gwt-dev.jar to the classpath

2. added inherits name=com.google.gwt.junit.JUnit/ to .gwt.xml
file

still the problem persists.

I use GWT2.1.1, I dont think version matters for this problem, shared
for the information.

Appreciate your reply!

Thanks and Regards,
-Saida Dhanavath.

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



Does GWT has any support for data binding?

2011-02-28 Thread Sai

Hi All,

I have a requirement to build GWT based User Interface and looking for
a very good data binding feature, meaning binding a java object model
to a UI form.
like Struts Form bean/JSF backing bean feature. I went through GWT
docs but didn't find anything on data binding, If you guys have used
any third-party solution for the same please guide me how to go about
it?

Thanks in advance!
Saida.

-- 
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: same-origin security restriction

2009-06-28 Thread sai surya kiran
Hi,
What port of service do you suggest to use ? I am a complete newbie and
please suggest on how to make a proxy.

currently authentication server runs on 6828. and GWT runs on , so
please suggest the change here.

On Sun, Jun 28, 2009 at 12:29 PM, Marcelo Emanoel B. Diniz 
marceloeman...@gmail.com wrote:


 the problem is with the port that serves the authentication code...
 SOP takes to account server and port you'll have to write a proxy
 or change the port of the service...

 On Jun 27, 3:48 am, Surya master...@gmail.com wrote:
  I have tomcat server running on port 6828. I have GWT hosted mode
  running on jetty .
 
  When i try to access tomcat on 6828 for spring authentication using
  the code :::
 
  RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, url);
  builder.setHeader(Content-Type,
 application/x-www-form-
  urlencoded);
  builder.setHeader(Expires,0);
 
  try {
 
  builder.sendRequest(postData, this);
  } catch (RequestException e) {
  console.addMessage(Exception during
 authentication  + e.getMessage
  ());
  }
 
  I get the following exception on the builder.sendRequest
  (postData,this) line.
 
  com.google.gwt.http.client.RequestPermissionException: The
 URLhttp://localhost:6828/xx/j_spring_security_checkis invalid or
  violates the same-origin security restriction
  Detailed Message : Access is denied.
 
  I am really running short of time. Some one please help me out.
 


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