Custom mapper for mapping entity to rf proxy

2012-04-20 Thread -sowdri-
Hi, RF automatically maps entities to RF Proxy. Is there a way in which we could pass a custom mapper? 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

Re: Custom mapper for mapping entity to rf proxy

2012-04-20 Thread -sowdri-
PM UTC+5:30, Thomas Broyer wrote: On Friday, April 20, 2012 11:16:30 AM UTC+2, Thomas Broyer wrote: On Friday, April 20, 2012 10:56:02 AM UTC+2, -sowdri- wrote: RF automatically maps entities to RF Proxy. Is there a way in which we could pass a custom mapper? Almost everything

Re: Custom mapper for mapping entity to rf proxy

2012-04-20 Thread -sowdri-
As you were doing in your project, this kind of supplying a custom mapper for proxy to entity mapping could be a common requirement. Any thoughts on whether it would be appropriate to file a bug requesting this feature in RF? On Friday, April 20, 2012 3:14:02 PM UTC+5:30, -sowdri- wrote

Re: Custom mapper for mapping entity to rf proxy

2012-04-20 Thread --sowdri--
) which are only the mirror of the entities. It is just like a proxy layer that is same as entity layer. Thanks, On Fri, Apr 20, 2012 at 3:53 PM, Thomas Broyer t.bro...@gmail.com wrote: On Friday, April 20, 2012 11:45:48 AM UTC+2, -sowdri- wrote: As you were doing in your project, this kind

Re: Custom mapper for mapping entity to rf proxy

2012-04-20 Thread -sowdri-
the role to DTOs) which are only the mirror of the entities. It is just like a proxy layer that is same as entity layer. Thanks, On Friday, April 20, 2012 3:36:44 PM UTC+5:30, Thomas Broyer wrote: On Friday, April 20, 2012 11:44:02 AM UTC+2, -sowdri- wrote: For properties on proxies, you can

Re: how to specify the id to a span element with a ui:field using UI binder?

2012-03-19 Thread -sowdri-
Did you try styleName tag?? in case 'class' would do.. On Tuesday, March 20, 2012 12:48:20 AM UTC+5:30, Stevko wrote: I am using span id=mySpanId within my UI Binder ui.xml files along with the debugId I also use span ui:field=mySpan to identify dynamic elements available to the

Re: Acivities and Places - passing by reference

2012-02-02 Thread -sowdri-
Hi, If you want activities to be talking to each other, one way of achieving them is via encapsulating the data in the Place, as mentioned above. Imagine a complex application, where in a lot of objects are required by different activities. In events like that, you have to pass on all the

Re: GWT SimpleBeanEditorDriver - generate editor class

2012-01-19 Thread -sowdri-
This is possible! But you have to write a GWT Generator for to achieve that. For example: class Customer { // field1 .. field10; } // This still has to be written, to semantically determine what type of widget you are planning to use in your editor interface CustomerView implements

Re: GWT SimpleBeanEditorDriver - generate editor class

2012-01-19 Thread -sowdri-
If I were you, I'd rather write a generator outside GWT; Thanks Thomas for pointing this out! Now I could understand that Generators are not the only way of using reflection in GWT. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: How to Update Entity with Editors RequestFactory

2012-01-19 Thread -sowdri-
This usually doesn't happen, as the entities with existing id will be only merged rather than creating the new instance. Try checking your equals and hashcode implementations for 'Articulo' class, as that plays a central role in merge mechanism. If you still want a workaround, public void

Re: Problem with generic type

2012-01-05 Thread -sowdri-
You cannot use Reflection in GWT! -- 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/-/TV8B0NWv8tcJ. To post to this group, send email to

Re: Java for back end coding

2011-12-25 Thread -sowdri-
GWT certainly is for people who know java. I never used Java for back end coding tho. If you are planning to learn Java through GWT, then I strongly recommend you to reconsider! -sowdri- -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group

Re: SuggestBox doesn't work with Editor Framework (well not like ValueListBox does)

2011-12-25 Thread -sowdri-
Is there anything that 's preventing you from creating a ValueListBoxDepartmentProxy)?? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Caused by: java.lang.IllegalArgumentException: Cannot fetch unpersisted entity

2011-12-25 Thread -sowdri-
Can you post the class firing the below request? requests.find(proxyId).with(resource, action, subjects).fire(callback); -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Is GWT preferable for large scale projects similar to FB?

2011-12-20 Thread -sowdri-
in a large application the code size could easily cross 1.5 MB which might take a long time to load. If the former is of importance(which actually makes the app interactive) then GWT is definitely the way to go. -sowdri- -- You received this message because you are subscribed to the Google Groups

Re: Where does standard.css get genrated?

2011-12-18 Thread -sowdri-
native GWT widgets like calender for example. So make sure you copy the relevant portions of it to your default.css. Thanks, -sowdri- -- 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

Re: Multiple gwt-rpc calls and UI

2011-12-14 Thread -sowdri-
Mike, this is exactly where DTO pattern has to be used. 1. Just create a DTO which encapsulated all the objects required at startup. 2. And expose a new service, which would do all the sequential calls on the server and construct the dto and return. Hope this helps! -- You

Re: Multiple gwt-rpc calls and UI

2011-12-14 Thread -sowdri-
Mike, this is exactly where DTO pattern has to be used. 1. Just create a DTO which encapsulated all the objects required at startup. 2. And expose a new service, which would do all the sequential calls on the server and construct the dto and return. Remember, a server call

Re: compiling about try catch block

2011-12-13 Thread -sowdri-
Could you paste the actual code? -- 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/-/qDcURn1hVnkJ. To post to this group, send email to

Re: How to access javabean in gwt module( client + server) from outside gwt module?

2011-12-07 Thread -sowdri-
Add the jar containing the bean as dependency and use it directly. Being a GWT module doesn't change anything when it comes to server-side. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: LazyPanel and lazy loading

2011-12-07 Thread -sowdri-
, is used for code splitting, ie to introduce split points. If you look at the simple example with just creation of widget inside the runAsync block, it may look like a better version of LazyPanel, but its not. -sowdri- -- You received this message because you are subscribed to the Google Groups

Re: Object deep copy or serialization

2011-12-06 Thread -sowdri-
Autobean directly have a clone() method: clone() An AutoBean http://code.google.com/p/google-web-toolkit/wiki/AutoBean and the property values stored within it can be cloned. The clone() method has a boolean parameter that will trigger a deep or a shallow copy. Any tag values associated with

Re: Places and Tabs

2011-12-05 Thread -sowdri-
Inside TAB1, I have a tree on the left. Make the activity that is displaying the tree listen to PlaceChangeEvent. Now you know whenever the place changes, such that you can highlight the required item in the tree based on the place. Thanks, -- You received this message because you are

Re: how to post data from one page to another

2011-12-05 Thread -sowdri-
?com/google/gwt/core/client/GWT.html for accomplishing this. For changing pages within the module, use PlaceController.goTo(new MyNewPlace()); -sowdri- -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web

Re: Is there any way I can add a Chart widget into cells in a celltable?

2011-12-03 Thread -sowdri-
Good the hear that! Ya the image charts are static by nature,, But you will lose the interactivity though :( -sowdri- -- 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

Re: Stuck in the StockWatch tutorial

2011-12-01 Thread -sowdri-
if no such element was found* Looks like your host html is missing an element with id stockList, so either add it to your host page or Use the following line, without the id param, RootPanel.get().add(mainPanel); Thanks, -sowdri- -- You received this message because you are subscribed to the Google

Re: Is there any way I can add a Chart widget into cells in a celltable?

2011-12-01 Thread -sowdri-
can embed this into the celltable. But you will lose the interactivity though :( Hope this helps, -sowdri- -- 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

Re: GWT - Spring Security

2011-11-21 Thread -sowdri-
If you are looking at Authentication and Authorization, then spring security is the de facto standard (of course this is all for the server side)! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Loading javascript on Uibinder

2011-11-21 Thread -sowdri-
UiBinder is not the place to load external js files. For more info on when and where its appropriate to load external js refer: http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/FAQ_WhenDoModulesLoad -sowdri- -- You received this message because you are subscribed to the Google Groups

Re: Multipage gwt app

2011-11-19 Thread -sowdri-
I need to know how to make a rpc call from module2 to module1. I have server class running in module1 and i have to invoke the methods in module1 from client of module2. In GWT each module could define the client and server packages that must include. In your case, make sure you include the

Re: Multipage gwt app

2011-11-17 Thread -sowdri-
module, pass it as url parameter. If you are using Activities/Places, then the parsing will take place in the PlaceTokenizer for the DefaultActivity. Hope this helps, -sowdri- -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view

Re: EntityProxy equals

2011-11-15 Thread -sowdri-
For you context-less collection of objects, get away from EntityProxy equality semantics by wrapping/translating the objects in a class that has the equality semantics that you define. Building upon Robert's solution: The process of adding and removing proxies to collections could be

Re: EntityProxy equals

2011-11-14 Thread -sowdri-
I use this class for copying proxies across contexts. May be helpful in your case too: /** * Convenience method to copy an entity proxy to another request context. * * @author sowdri * */ public class RequestFactoryUtils { public static T extends BaseProxy T copy(ClassT clazz, T proxy

Re: Sessions and Activities and Places

2011-11-13 Thread -sowdri-
Have your tried moving login part to a separate GWT module, with a different url (consequently a separate host html) and let the container handle the session management? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Re: Places Activities any suggestion?

2011-10-18 Thread -sowdri-
Hi Rohan, I guess you are trying to user PlaceController in isolation. PlaceController control = new PlaceController(eventBus); This is not supposed to work. Have you referred the documentation on Activities and Places? Have you run the sample application given in the below link?

Re: PlaceHistoryHandler for URL with multiple args

2011-10-17 Thread -sowdri-
http://localhost:8080/#place-name:key1=value1key2=value2key3=value3 (as many nvpairs as you require) Once you hit this url, the place tokenizer will take care of parsing the url and you can directly access the values of the params, using place.hasParameter() and place.getParameter() as

Re: PlaceHistoryHandler for URL with multiple args

2011-10-17 Thread -sowdri-
When you are creating the place, pass this using the constructor. Ex: placeController.goTo(new MyPlace(key1, value1, key2, value2, key3, value3)); Rest must be automatically taken care of! When your MyPlace extends AbstractBasePlace, make sure, you also expose all the constructors of

Re: Places Activities any suggestion?

2011-10-17 Thread -sowdri-
Activities and Places are in first place to make navigation simple. *To Navigate to other url on clicking a hyperlink. * Hyperlink link = new Hyperlink(Navigate to Chemical, thePlaceToken); Instead, Create a gwtanchor, and in the click handler, call placeController.goTo(new

Re: Thoughts on Adding Widgets

2011-10-13 Thread -sowdri-
Did you thought about using HTMLPanel, with handlers for keyboard input? such that you can have a complete control over the area and this will also enable you to add any kind of widget dynamically. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: PlaceHistoryHandler for URL with multiple args

2011-10-12 Thread -sowdri-
public abstract class AbstractBasePlace extends Place { private static final Logger logger = Logger.getLogger(AbstractBasePlace.class.getName()); private static final String VALIDATE_TOKENS_MESSAGE_PREFIX = Missing token(s): ; private String url; private MapString, String params = new

Re: PlaceHistoryHandler for URL with multiple args

2011-10-12 Thread -sowdri-
// place and placetokenizer for your reference public class AgencyPlace extends AbstractBasePlace { public AgencyPlace(String token) { super(token); } @Prefix(agency-place) public static class Tokenizer implements PlaceTokenizerAgencyPlace { @Override public AgencyPlace getPlace(String token)

Re: JDO Key Serialize

2011-10-10 Thread -sowdri-
Did you try RequestFactory? -- 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/-/aVhDDIFkHvIJ. To post to this group, send email to

Re: PlaceHistoryHandler for URL with multiple args

2011-10-03 Thread -sowdri-
Are you using PlaceTokenizerhttp://google-web-toolkit.googlecode.com/svn/javadoc/latest/index.html?com/google/gwt/core/client/GWT.html? If yes, they you can achieve what you are looking for using that. One idea I can see is to make the place token the entire argument list. So, in the above

Re: Request for help with Request Factory and Spring MVC integration

2011-09-29 Thread -sowdri-
Sorry that was a typo, *RequestVoid persist(); // correct* * * and while calling, RequestVoid createReq = request.persist().using(newEmployee); // wrong request.persist(newEmployee).fire(); // correct I suggest you read the RF documentation! -- You received this message because you are

Re: Request for help with Request Factory and Spring MVC integration

2011-09-29 Thread -sowdri-
Are you using the EntityLocator/AppServiceLayerDecorator/AppRequestFactoryServlet solution? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: RequestFactoryEditorDriver returns empty array for getPaths

2011-09-29 Thread -sowdri-
.with(view.editorDriver().getPaths()).fire(); Assuming: // on the server class Config ... { ListLanguage languageList; } This could be simply be .with(*languageList*).fire(); I thought maybe it wasn't working because I use using the simple version of

Re: AutoBean Deserialization of JSON that can be an Array or single Object

2011-09-29 Thread -sowdri-
but I cannot guarantee the JSON format. What library are you using on the server? Should I look to change my JSON server output so that even if a single object is returned it is still wrapped in an array? Yes! -- You received this message because you are subscribed to the Google Groups

Re: UiBinder errors not very helpful -- am i missing a compiler option?

2011-09-28 Thread -sowdri-
One occasion in which UiBinder errors are misleading is when you add custom xml namespace like, *xmlns:c=urn:com.google.gwt.user.cellview.client*, in this case i 've actually missed xmlns:*import*:c, the compiler would just say it cannot find a matching element on the xml file. A better

Re: Request for help with Request Factory and Spring MVC integration

2011-09-28 Thread -sowdri-
http://jsinghfoss.wordpress.com/2011/08/10/gwt-2-2-0-requestfactory-spring-3-0-x-integration/ . The solution presented in the above blog, suggests RF integration using DispatcherServlet, but there actually there is another way of integrating directly with your spring container. I'll put

Re: Edit an object in a List without a ListEditor

2011-09-26 Thread -sowdri-
Thanks, HasRequestContext is in fact the right way to do it! -- 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/-/qOAvwhYiyHIJ. To post to this group,

Re: Edit an object in a List without a ListEditor

2011-09-25 Thread -sowdri-
In the code above: The RC which creates the LanguageProxy is different from the one which is used to fire the request on ConfigProxy. That could be the reason why your LanguageProxy is not presisted on the server. In the commented code thats not the case, thats why its working. To overcome

Re: Edit an object in a List without a ListEditor

2011-09-24 Thread -sowdri-
Your editor for ConfigProxy would be a ValueAwareEditor. It'll receive the ConfigProxy in setValue so you could push the LanguageProxy to a widget of your choice (actually you could even use a sub editor driver). In the flush method, you'd manually flush the LanguageProxy to the ConfigProxy.

Re: too much code: GWT Development with Activities and Places

2011-09-23 Thread -sowdri-
Once you know the stack, which might vary from company to company, one option is to write a Maven Archetype that generates the boilerplate required to get started. Which could well include your gwt-commons library, and a rich set of BaseClasses for places and activities.. which is what we are

Re: Edit an object in a List without a ListEditor

2011-09-23 Thread -sowdri-
Even I'm struggling with ValueAwareEditors! According to my understanding, onPropertyChange of Editors implementing ValueAwareEditors, must be called automatically, by the driver, but so far no success with it,, A simple sample wil be a great help! -- You received this message because you

Re: The import cannot be resolved

2011-09-23 Thread -sowdri-
Eclipse has 2 notions of classpath. 1. Classpath: Modify this in the Project properties BuildPath settings 2. Runtime classpath: Modify this in Project properties run/debug configuration settings Almost every Eclipse classpath (ClassNotFoundException could be solved this

Re: Could not initialize class com.google.web.bindery.requestfactory.server.ReflectiveServiceLayer

2011-09-22 Thread -sowdri-
Maven or Ant build? And what version of GWT you are using (I could see web.bindery, 2.3 or 2.4)? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: GWT Cell Table Re sizing

2011-09-22 Thread -sowdri-
Do not try to resize the celltable, resize the div (Flowpanel or similar) that is holding the celltable. By default say I raw a cell table with 25 rows and when the the window is shrink ed in size to show 20 rows , then scroll bar should automatically appear on the table . The browser must

Preserve the state of the UI in RequestFactoryEditorDriver?

2011-09-21 Thread -sowdri-
Hi, I've SearchCriteriaView which is an EditorSearchCriteriaProxy, one the user clicks on 'Search', i fire the request to the server with the bound proxy. If the user has to search again, I create new Proxy using new RC and have to bind the new proxy and fire the new RC. Now the previous

Re: Preserve the state of the UI in RequestFactoryEditorDriver?

2011-09-21 Thread -sowdri-
Thanks Thomas! I like this idea: clone your proxies using an AutoBeanVisitor (create a new proxy, visit the old one –get its AutoBean using AutoBeanUtils–, and for each property, update the new one) Is it possible to use the proxy created using the above method as a parameter in the

Re: Preserve the state of the UI in RequestFactoryEditorDriver?

2011-09-21 Thread -sowdri-
Would it be possible to have a rc.copy(xxx) feature?? CustomerProxy new = *rc1*.create(CustomerProxy.class); // modified by user action CustomerProxy copy = *rc2*.clone(old); // this should be as good as created using *rc2* * * Thanks, -- You received this message because you are subscribed

Re: Preserve the state of the UI in RequestFactoryEditorDriver?

2011-09-21 Thread -sowdri-
This is exactly what I'm looking for, thanks! As suggested, I've used AutobeanCodex to convert my proxy to json. And upon receiving it on the server side, I could re-create the Proxy using AutoBeanFactorySource. Now I've to convert the proxy to concrete type. *// this works!*

Re: Preserve the state of the UI in RequestFactoryEditorDriver?

2011-09-21 Thread -sowdri-
Hi Jeff, thank you so much for sharing the code! Even I've got a lot of use cases. Just that, they were TODOs so for.. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Questions about GWT suitability

2011-09-21 Thread -sowdri-
GWT doesn't care about how you design your application. It depends upon the mockup you create (Plain old HTML and CSS). Checkout #UiBinder, which is designed precisely to separate design and implementation concerns. -- You received this message because you are subscribed to the Google Groups

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-20 Thread -sowdri-
If you would like to have a non-invasive workaround (where-in the size of the child entities you are loading is not so heavy), you can go for this! And I do agree with your view! Thanks, -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

How to copy/clone ValueProxy?

2011-09-20 Thread -sowdri-
Hi, I would like to clone ValueProxy/EntityProxy to preserve the state of the UI, which is maintained by Editor? e; I tried to solve it using AutoBean.clone() without success (and its is depricated). I got the following exception: Caused by: java.lang.AssertionError: Unfrozen bean with null

Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.

2011-09-19 Thread -sowdri-
Hi Tiago, I faced similar issues with hibernate, RF and lazy initialization. Finally I found that it was because of proxying that is done by hibernate. I finally solved it by using the @Proxy(lazy=false) annotation. @Entity @Table(name = CALL_TABLE) @Proxy(lazy=false) public class Call

Re: remember places

2011-09-16 Thread -sowdri-
While a Place can hold any data structure, including other places, as you said once you refresh the browser, the data is lost. To circumvent this, Place must be considered to be a special kind of object in GWT, such that, the state of the place must be represented as part of url. This is the

Re: SOLVED: An IncompatibleRemoteServiceException was thrown

2011-09-16 Thread -sowdri-
Rob,, The fundamental reason for the problem is, as you have rightly guessed there were residues. But what caused these residues? If you are using GPE, the first time you run it, it would ask for webapp directory. Select *target/web-app-name* for that. Do not use *src/main/webapp *which is

Re: DevMode warning: Clobbering appcache.nocache.manifest to allow debugging. Recompile before deploying your app!

2011-09-04 Thread -sowdri-
Any updates on this issue?? -- 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/-/Y8H6VYMM59UJ. To post to this group, send email to

Setting CellTable#setEmptyTableWidget using uibinder???

2011-09-04 Thread -sowdri-
Hi, Is is possible to setEmptyTableWidget using uibinder?? 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/-/qSUTay-rb_AJ. To post to

Re: HTML5 Offline Web-Application

2011-09-03 Thread -sowdri-
Hi, The above solution was working fine, i even deployed a version and tested it live! But suddenly i've started getting this error: DevMode warning: Clobbering appcache.nocache.manifest to allow debugging. Recompile before deploying your app! And the appcache.nocache.manifest_*user-agent

DevMode warning: Clobbering appcache.nocache.manifest to allow debugging. Recompile before deploying your app!

2011-09-03 Thread -sowdri-
Hi, Using SimpleAppCacheLinker from GWT trunk for generating HTML5 offline manifest, results in the error DevMode warning: Clobbering appcache.nocache.manifest to allow debugging. Recompile before deploying your app! Any ideas on this?? Thanks -- You received this message because you are

Re: DevMode warning: Clobbering appcache.nocache.manifest to allow debugging. Recompile before deploying your app!

2011-09-03 Thread -sowdri-
I tried creating a custom run configuration, just for the compiler and tried with both 'GWTCompiler' and 'Compiler' as the main class, but still i'm getting the same warning. And this happened when the application is compiled by GPE for deploying to appengine: ## Compiler output

Re: DevMode warning: Clobbering appcache.nocache.manifest to allow debugging. Recompile before deploying your app!

2011-09-03 Thread -sowdri-
Interestingly, 1. This project is a maven build, running mvn clean install also produces the same error. 2. The same linker has worked for me once. 3. The same linker when used with a fresh project (ant build, defaut GPE sample project) works as expected. Am I missing

Re: HTML5 Offline Web-Application

2011-09-02 Thread -sowdri-
Thanks Shawn and Stefan! This post helped a lot in designing this linker. A linker based on the discussion above could be found here: GWT HTML5 Offline Manifest Generation Linker http://pastebin.com/JHi7NEuA Thanks, -- You received this message because you are subscribed to the Google Groups

Re: HTML5 Offline Web-Application

2011-09-02 Thread -sowdri-
You must also add this file in the same package as the above class for this to work: appcache.manifest.template http://pastebin.com/ipWSVDS9 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

HTML5 Storage: How-to serialize entityproxies using RF#ProxySerializer??

2011-08-30 Thread -sowdri-
Hi All, Regarding serializing the EntityProxies, I use AutoBeans directly. I tried using RF ProxySerializer with no luck. // from the docs... To create a self-contained message that encapsulates a proxy: // taken from the javadocs RequestFactory myFactory = ...; MyFooProxy someProxy =

Re: HTML5 Storage: Is it possible to expose/use the serializer/de-serializer used by GWT-RPC internally on the client??

2011-08-29 Thread -sowdri-
@Thomas GWT-RPC is not a symmetric protocol, ... Guess, we cant straight away use the existing serializer/de-serializer! Any plans for official support for serializer/de-serializer for the purpose of HTML5 storage?? Thanks, -- You received this message because you are subscribed to the

Re: Aw: HTML5 Storage: Is it possible to expose/use the serializer/de-serializer used by GWT-RPC internally on the client??

2011-08-29 Thread -sowdri-
I completely agree with the fact that RequestFactory is the way to go! I use RF in all my projects. But I also use RPC along side, esp. when it comes to Google Collections (Table DS for instance). Or to put the question other way around: *Is it possible to make ValueProxies, which can embed

Re: AutoBean deserialization facing problem with EntityProxyIdUserProxy stableId()

2011-08-28 Thread -sowdri-
To create a self-contained message that encapsulates a proxy: RequestFactory myFactory = ...; MyFooProxy someProxy = ...; DefaultProxyStore store = new DefaultProxyStore(); ProxySerializer ser = myFactory.getSerializer(store); // More than one proxy could be serialized String *key* =

Re: RequestFactory - Working with Enums

2011-08-28 Thread -sowdri-
I believe you have already converted your existing code into a gwt module. (With that this is not possible) and finally in the module's gwt.xml file include the path of the package which contains the enum. Then it will be available on the client code! Hope this helps! -- You received this

AysncDataProvider few concerns!

2011-08-28 Thread -sowdri-
Hi, I've been working with AsyncDataProvider for celltable, and the implementation is fantastic! Yet I've a few concerns: *Use existing data:* Each time the range change event is fired,

HTML5 Storage: Is it possible to expose/use the serializer/de-serializer used by GWT-RPC internally on the client??

2011-08-28 Thread -sowdri-
Hi, For utilizing HTML5 storage, we have to serialize/de-serialize object(s) on the client. But the output need not be necessarily human readable, so is it possible to utilize GWT-RPC serializer/de-serializer for this purpose, such that we could serialize RPC-serializable types, (including

Re: How to hide column in Cell table GWT?

2011-08-18 Thread -sowdri-
Hi, Use SingleSelectionModel or MultipleSelectionModel depending upon your requirement. And refer http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html#selection for more info on adding handlers for

RPC call succeeded after renaming the DTO!

2011-07-21 Thread -sowdri-
Dear All, I was trying to make an RPC call and it was failing with IncompatibleRemoteServiceException After removing the arraylists present in the return type DTO, the error changed to *Invalid type signature *exception. After hours together of debugging, *renaming the DTO made RPC to

Re: How to set ListBox selection with UiBinder?

2011-07-12 Thread -sowdri-
Did you try doing the same with g:ListBox *uifield=myListbox* g:item value='1' first /g:item g:item value='2' selected='true' second /g:item g:item value='3' third /g:item /g:ListBox @UiField *Listbox myListbox;* public constructor(){ //...

Jexl or equivalent for GWT???

2011-05-30 Thread -sowdri-
Can someone suggest using JEXL or similar library on client side?? 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,

Re: RequestFactory and Editors with Bean Update.

2011-05-17 Thread -sowdri-
(com.google.gwt.requestfactory.shared.RequestFactory, E) to allow a modified EventBus../../../../../com/google/gwt/event/shared/EventBus.html to be monitored for subscription services. I guess this must help you to notify changes to the bean. Thanks,-sowdri- -- You received this message because you are subscribed

Ideas to get Current Active Element in DOM?

2011-05-16 Thread -sowdri-
Dear All, I would like to get the current element that has focus in the DOM. But couldn't find a way. Any help is appreciated!!! Thanks in advance, -sowdri- -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Can GPE automatically generate EntityProxy for Entity types? Similar to UiBinder wizard.

2011-05-12 Thread -sowdri-
Hi, Can this feature be implemented? If yes, how to raise a request to the GPE team?? This could save a lot of time and boilerplate code. 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

Re: Can GPE automatically generate EntityProxy for Entity types? Similar to UiBinder wizard.

2011-05-12 Thread -sowdri-
That's wonderful, Thanks Thomas! -- 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

ListEditor broken in GWT 2.3

2011-05-12 Thread -sowdri-
was working properly in GWT 2.2, I migrated the code to 2.3 today, and I'm facing this issue. * Any help (or *workaround*) is appreciated. Thanks, -sowdri- -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

Re: RequestFactoryEditorDriver example?

2011-05-12 Thread -sowdri-
Dear All, Actual code reduced to demonstrate the problem. // widget public interface LocationPrefEditView extends IsWidget, EditorLocationPrefProxy, HasMask, HasPresenterPresenter, HasVisibility { ValueListBoxString state(); ValueListBoxString city(); // .. omitted

Re: Package structure question

2011-05-11 Thread -sowdri-
on the client side :) Thanks, -sowdri- -- 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

Re: Using request factory to keep the object graph up to date

2011-05-01 Thread -sowdri-
To create a new contact: ContactRequest cr = rf.contactRequest(); // create contact here ContactProxy contact = cr.create(ContactProxy.class); // populate the proxy here, you need not verify, it is created here, just that it is not sent to the server contact.setAddress(xyz); // now send this

Re: com.google.gwt.user.client.rpc.SerializationException

2011-04-28 Thread -sowdri-
Could you post the contents of the file GWTRPCServiceExporter.java Thanks, -sowdri- -- 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

Re: RF for CRUD and RPC for others?

2011-04-28 Thread -sowdri-
be a natural fit. Thanks, -sowdri- -- 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

Re: RF for CRUD and RPC for others?

2011-04-28 Thread -sowdri-
In fact RF is simple compared to RPC! -- 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

Re: Why only Spring support in Roo?

2011-04-23 Thread -sowdri-
to your default ant project. I've been using this for quite sometime and the integration is seamless. Thanks, -sowdri- -- 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

Re: gwt-maven-plugin woes

2011-04-23 Thread -sowdri-
to your default ant project. I've been using this for quite sometime and the integration is seamless. Thanks, -sowdri- -- 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

  1   2   >