gwt maven archetype - When to run Package

2013-06-28 Thread Kathiravan Tamilvanan
Hi, I am running the steps described here https://github.com/tbroyer/gwt-maven-archetypes. But the compiled client code (nocache.js) is not deployed to the server when i run the tomcat:run. I had to run the mvn package. Is there any way to automate this step. I have also tried tomcat:run-war

Re: gwt-maven-archetype modular-webapp giving 404 Error

2013-06-28 Thread Kathiravan Tamilvanan
Broyer wrote: > > > > On Friday, June 28, 2013 1:35:36 AM UTC+2, Kathiravan Tamilvanan wrote: >> >> The error was because of the port being used by another application. This >> all works beautifully with multiple shared components with web , client and >> service

Re: gwt-maven-archetype modular-webapp giving 404 Error

2013-06-27 Thread Kathiravan Tamilvanan
classifier sources dependency. Thanks Thomas for the wonderful plugin. On Wednesday, June 26, 2013 3:19:51 PM UTC-7, Thomas Broyer wrote: > > > > On Wednesday, June 26, 2013 11:14:53 PM UTC+2, Kathiravan Tamilvanan wrote: >> >> I have just used the gwt-maven-archetypes to

gwt-maven-archetype modular-webapp giving 404 Error

2013-06-26 Thread Kathiravan Tamilvanan
I have just used the gwt-maven-archetypes to create a modular-webapp. When i followed the steps to run the application. Everything seems to be successfully running but the page throws a 404 error on http://localhost:8080 when launched. I have not changed anything from the archetypes output. Ap

Re: GWT meets iOS: Gwt4Titanium Mobile 1.0 coming soon

2011-08-12 Thread Kathiravan Tamilvanan
Do you have a beta. Would love to give it a try :-) -- 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/-/ZkK5XGA1zAMJ. To post to this group, send em

How to use RequestFactory .with for self referencing entities.

2011-06-27 Thread Kathiravan Tamilvanan
All, I am trying to retrieve an entity graph using request factory using .with and the entities are self referencing. For example, I have got Version entity and each version has a parent version. I am trying to do the following to get the parentVersion .with("parentVersion"). The issue i get

Re: JSON Illegal token error

2011-06-07 Thread Kathiravan Tamilvanan
The problem is occuring due to the pojo field extendDir which is a "char". And the value in the json array is "extendDir":R. Isnt this supposed to be a single character string like "extendDir":"R". Is this a Bug? Any ideas? -- You received this message because you are subscribed to the Google

JSON Illegal token error

2011-06-07 Thread Kathiravan Tamilvanan
When i try to use requestfactory to retrieve a POJO from server side, i get this error. How do we debug this? The json returned from the server is the following {"O":[ {"P": {"primaryKey":"2000", "ampliconLength":94, "assayNumber":"1", "dnStrmSnpCapturePrimerTag":"ACGTTGGATG", "downStreamSnpCa

Re: How do you create a CellTable Column with a Composite Cell with two ClickableTextCells?

2011-05-26 Thread Kathiravan Tamilvanan
Any luck with compositecell? -- 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...@googlegrou

How to add CompositeCell to the CellTable

2011-05-26 Thread Kathiravan Tamilvanan
I am trying to CompositeCell with three checkboxes and a button hasCells.add(new HasCell() { private CheckboxCell cell = new CheckboxCell(); @Override public Cell getCell() { return cell; }

Using request factory to keep the object graph up to date

2011-05-01 Thread Kathiravan Tamilvanan
We are using RequestFactory to create the object based on the user action. For example, Person has many Contact . We are using a contacts view to create the Contacts for the Person. When the user clicks on "Create" we are using ContactProxy and ContactRequest to create the object. When the

Channel API for GWT

2011-04-14 Thread Kathiravan Tamilvanan
Is this already available. I could not find any info on this. -- 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-w

Re: Unit Testing RequestFactory with ServiceLocator

2011-03-18 Thread Kathiravan Tamilvanan
David, That was a good start for me. But i am getting few issues with the test, req.designRequest().findDesign(1L).fire(new Receiver() { @Override public void onSuccess(DesignProxy response) { System.out.println("Response " + response

Re: RequestFactory+Service Layer with User ID in the HTTP Header

2011-03-18 Thread Kathiravan Tamilvanan
Thomas, can you provide some code snippet on how you have done using Guice? We are not using Spring MVC in our project. I dont know how would i be able to inject the user id from the Servlet to the spring layer. I can access the spring application context from the servlet but not vice versa.

Re: RequestFactory+Service Layer with User ID in the HTTP Header

2011-03-18 Thread Kathiravan Tamilvanan
Requestcontext method signatures should match with the service layer method signature by default. So when we call it from the client code it uses the server method with the same signature. I don't know how to intercept this call and add the user ID . -- You received this message because you ar

RequestFactory+Service Layer with User ID in the HTTP Header

2011-03-17 Thread Kathiravan Tamilvanan
In our application we have implemented the following 1. User security by extending the RequestFactoryServlet and *overriding the doPost* method for validating the user session. 2. If the user is logged in the request is proceeded further 3. If the user is not logged in Error is sent

Unit Testing RequestFactory with ServiceLocator

2011-03-17 Thread Kathiravan Tamilvanan
We have used EntityLocator and ServiceLocator with our Application's RequestFactory. Now that we want to unit test the implementation, What is the best way to unit test ? I have looked at RequestFactoryMagic which creates InProcessRequestFactory but not quiet sure how that applies to a ServiceLo

Errai Bus or GWT-comet

2011-03-12 Thread Kathiravan Tamilvanan
We are evaluating the Errai Bus and Gwt-comet for adding server push to our applications. Has anyone used any of the two? Can you provide your thoughts on the two libraries?. Greatly appreciate it. -- You received this message because you are subscribed to the Google Groups "Google Web Toolki

How to access ui:image programmatically

2011-03-10 Thread Kathiravan Tamilvanan
I have defined my image resources in the ui binder as follows I can use this inside the ui binder file successfully. How to access the same image resource programmatically to set it on a view. I want to use it on a Image on the source code as image.setImageResouce( ) -- You received this mes

Re: EntityProxy with Enum

2011-03-10 Thread Kathiravan Tamilvanan
hmm.. when i changed the path to path="server" it worked but not when i did path="server.domain" -- 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 fro

EntityProxy with Enum

2011-03-10 Thread Kathiravan Tamilvanan
I have created the entityproxy with the Enum return type. The enum is on the server side domain object. public interface StepProxy extends EntityProxy { abstract TypeEnum getType(); } I get an error when i run the application i get the error. No source code is available for type TypeEnum; di

Re: Editor Framework for large set of properties

2011-03-09 Thread Kathiravan Tamilvanan
Thanks Thomas. I am returning a List from the RequestFactory. Is it the correct that ListEditor can only have homogeneous children widget types? The requirement for me is to use different widget types based on the Parameter types. ( could be text field, checkbox and so on). We have already got

Generic EntityLocator

2011-03-09 Thread Kathiravan Tamilvanan
We have created a BaseEntity with the following fields, - primary key - version - date I have created an ApplicationEntityLocator to get the getID, getVersion, find(Entity) instead of writing them on each entity object. public class EntityLocator extends Locator { @Override

Re: Editor Framework for large set of properties

2011-03-09 Thread Kathiravan Tamilvanan
I have some properties which are getters and setters. But i also have a map of properties which are to be shown on the UI. Is there anyway to use the editor driver to connect the map of properties to the UI fields. -- You received this message because you are subscribed to the Google Groups "

Editor Framework for large set of properties

2011-03-08 Thread Kathiravan Tamilvanan
I have read the Editor framework tutorial and looked at Dynatablerf example. I would like to use the Editor approach for a large number of properties in an application. We have a large set of key-value properties and have created the UI using UIBinder. The properties can be of different types

Re: is BasicPlace still available?

2011-03-05 Thread Kathiravan Tamilvanan
Yeah it looks like they meant the user to create the basicplace. thanks -- 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 t

is BasicPlace still available?

2011-03-04 Thread Kathiravan Tamilvanan
http://code.google.com/webtoolkit/doc/trunk/DevGuideMvpActivitiesAndPlaces.html#Places explains we can extend BasicPlace if the place does not maintain any state. I couldnt find that class in GWT 2.1.1 or GWT 2.2 -- You received this message because you are subscribed to the Google Groups "Go

Re: Using JSNI for login RPC call

2011-03-03 Thread Kathiravan Tamilvanan
I have tried doing like this. I have two websites. One javascript based and one GWT based. I would like to login to the GWT based application from the Javascript application. I thought i could use JSNI to export the login method from the GWT application and call it from the other javascript a

Re: Using JSNI for login RPC call

2011-03-03 Thread Kathiravan Tamilvanan
I have tried doing like this. I have two websites. One javascript based and one GWT based. I would like to login to the GWT based application from the Javascript application. I thought i could use JSNI to export the login method from the GWT application and call it from the other javascript a

Using JSNI for login RPC call

2011-03-03 Thread Kathiravan Tamilvanan
Is it a good idea to use JSNI to call a LoginRPCImpl to login to a GWT applcation from a HTML page. http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html#DevGuideJavaScriptNativeInterface -- You received this message because you are subscribed to the Google Groups "Google Web Too

Re: how to secure RequestFactory in GWT 2.2

2011-03-03 Thread Kathiravan Tamilvanan
Ooops..we both were posting at the same time. I dont think I understand the PayLoad concept properly. Is setting information on the Session with setAttribute termed as "PayLoad". If thats the case, your explanation makes total sense to me. can you also look at my response to JN's post. I may

Re: how to secure RequestFactory in GWT 2.2

2011-03-03 Thread Kathiravan Tamilvanan
JN, I am summarizing below what i understood from the discussion 1. User logins to the Application - The session id is created on the server side and sent back to the client. 2. For every request from the client, the client sends the session id as part of the request. ( can't be co

Re: how to secure RequestFactory in GWT 2.2

2011-03-03 Thread Kathiravan Tamilvanan
KaffineComa, I just looked at your Stackoverflow solution. I understand it to some extent but i am new to web development, here is my doubt, According to the http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ , it is good to send the session information on the payload

Re: how to secure RequestFactory in GWT 2.2

2011-03-02 Thread Kathiravan Tamilvanan
Jeff, Do you have any idea how to do session validation with RequestFactory approach. I am using RequestFactory with a ServiceLocator to locate my spring service layer. I would like to validate the session, when a request is made through the RequestFactory, before invoking the Spring service

Re: how to secure RequestFactory in GWT 2.2

2011-03-02 Thread Kathiravan Tamilvanan
I am also looking for some recommendation for this. I have read this link http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ and also wanted to implement the security with RequestFactory. But as the article suggests, the session id should be sent on the payload of the

Access Service Layer inside RequestFactory EntityLocator

2011-03-01 Thread Kathiravan Tamilvanan
Hi, I am using RequestFactory with Locator and ServiceLocators. The ServiceLocator on the RequestContext works perfect. I can access the Spring Service Layer and get the data. But how do i access the service layer from the Entity Locator? The locator is newly instantiated by the RequestFactory u