Re: Problem with the function editRecord in a DynamicForm (SmartGwt)
I've been using this functionality with DateItem and it works fine. So unless you provide a minimal testcase that reproduces the problem there's not much I can suggest. On Fri, Mar 29, 2013 at 5:29 PM, sahli.sabr...@gmail.com wrote: Thank you so much for the reply, I works fine in the showcase but the problem is a don't use XML for managing data so i think that the problem is in type of formItem used for displaying Date in the DynamicForm. I used a FormItem and DateItem but i still had this problem but now i'm using DateTimeItem , and strangely it works fine!! :) Thank you, Le vendredi 29 mars 2013 01:06:56 UTC+1, Sanjiv Jivan a écrit : This functionality works fine even for Date type fields. You can see this by clicking any row in the grid which calls editRecord(..) on the form. http://www.smartclient.com/**smartgwt/showcase/#featured_**pattern_reusehttp://www.smartclient.com/smartgwt/showcase/#featured_pattern_reuse If you're still having problems then post your question on the SmartGWT forum including a minimal test case : http://forums.smartclient.** com/forumdisplay.php?f=14http://forums.smartclient.com/forumdisplay.php?f=14 Thanks, Sanjiv On Mon, Mar 25, 2013 at 5:58 AM, sahli@gmail.com wrote: i have in the GUI, a ListGrid and a DynamicForm. When i click on an element in the listGrid, i have to display the values of the edited record on the Dynamic form, for this, i use the EditRecord(Record r) of the dynamicForm public void updateInstanceDetailTabPane(**Record record){ this.editionForm.editRecord(**record); } it works however for the fields of type Date , the values displayed are the date of today and not the reel value of the field. My question is where is the problem and how can i display the values of type date with their reel values? thank you, -- 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-we...@**googlegroups.com. Visit this group at http://groups.google.com/** group/google-web-toolkit?hl=enhttp://groups.google.com/group/google-web-toolkit?hl=en **. For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out . -- 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. -- 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: Problem with the function editRecord in a DynamicForm (SmartGwt)
This functionality works fine even for Date type fields. You can see this by clicking any row in the grid which calls editRecord(..) on the form. http://www.smartclient.com/smartgwt/showcase/#featured_pattern_reuse If you're still having problems then post your question on the SmartGWT forum including a minimal test case : http://forums.smartclient.com/forumdisplay.php?f=14 Thanks, Sanjiv On Mon, Mar 25, 2013 at 5:58 AM, sahli.sabr...@gmail.com wrote: i have in the GUI, a ListGrid and a DynamicForm. When i click on an element in the listGrid, i have to display the values of the edited record on the Dynamic form, for this, i use the EditRecord(Record r) of the dynamicForm public void updateInstanceDetailTabPane(Record record){ this.editionForm.editRecord(record); } it works however for the fields of type Date , the values displayed are the date of today and not the reel value of the field. My question is where is the problem and how can i display the values of type date with their reel values? thank you, -- 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. -- 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: Is it possible to create screens at runtime?
Hi Thiago, With SmartGWT (Pro and above), you can save screen definitions in XML and load them at runtime: http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/rpc/RPCManager.html#loadScreen(java.lang.String , com.smartgwt.client.rpc.LoadScreenCallback, java.lang.String[]) So you could build some kind of editing interface that allows new screens to be designed, then save them to a database or file in XML, and be able to load them at runtime using loadScreen(). You can also dynamically generate XML DataSource definitions, which contain data validators and other business rule definitions, enforced on both client and server: http://www.smartclient.com/smartgwtee/server/javadoc/com/isomorphic/datasource/DataSource.html#addDynamicDSGenerator(com.isomorphic.datasource.DynamicDSGenerator ,java.lang.String) Sanjiv On Tue, Mar 5, 2013 at 10:58 AM, thiago borges martins tborgesmart...@gmail.com wrote: Good afternoon, colleagues, I'm on a project where I need to create screens using smart-gwt, but the creation of the screens will be in runtime system. This is possible using Smart-gwt? I thank everyone's attention. -- 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. -- 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: Is it possible to create screens at runtime?
There are samples of using XML screen definitions in the SmartGWT EE Showcase under the folder Component XML, but you have to download a 4.0 build to get them: http://smartclient.com/builds The Component XML overview explains how to provide dynamic Component XML that's stored in a DB - see Dynamic Component XML: http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/docs/ComponentXML.html On Tue, Mar 5, 2013 at 4:01 PM, Thiago borges martins tborgesmart...@gmail.com wrote: Hum understand, I had thought of something like that, but I was in doubt because GWT (smartgwt) and compiled to javascript and have part of the RF (RequestFactory), but I've thought a one implementation. Without wanting to abuse his good vontante you have an example of a loading screen. 2013/3/5 Sanjiv Jivan sanjiv.ji...@gmail.com Hi Thiago, With SmartGWT (Pro and above), you can save screen definitions in XML and load them at runtime: http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/rpc/RPCManager.html#loadScreen(java.lang.String , com.smartgwt.client.rpc.LoadScreenCallback, java.lang.String[]) So you could build some kind of editing interface that allows new screens to be designed, then save them to a database or file in XML, and be able to load them at runtime using loadScreen(). You can also dynamically generate XML DataSource definitions, which contain data validators and other business rule definitions, enforced on both client and server: http://www.smartclient.com/smartgwtee/server/javadoc/com/isomorphic/datasource/DataSource.html#addDynamicDSGenerator(com.isomorphic.datasource.DynamicDSGenerator ,java.lang.String) Sanjiv On Tue, Mar 5, 2013 at 10:58 AM, thiago borges martins tborgesmart...@gmail.com wrote: Good afternoon, colleagues, I'm on a project where I need to create screens using smart-gwt, but the creation of the screens will be in runtime system. This is possible using Smart-gwt? I thank everyone's attention. -- 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. -- You received this message because you are subscribed to a topic in the Google Groups Google Web Toolkit group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/whI-KxRs0_0/unsubscribe?hl=en . To unsubscribe from this group and all its topics, 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. -- Att. Thiago B. Martins *System Analyst* Fone: +55 34 9151-2635 -- 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. -- 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: How get widget width, after it's drawed ?
Since you're using SmartGWT, use addDrawHandler(..). The callback gets invoked after the widget is rendered. vLayout.addDrawHandler(new DrawHandler() { @Override public void onDraw(DrawEvent drawEvent) { .. } }) On Mon, Jan 21, 2013 at 9:09 AM, Michał Zakrzewski michal.zakrzewsk...@gmail.com wrote: I have that code in my app Scheduler.get().scheduleDeferred(new Scheduler.ScheduledCommand() { @Override public void execute() { try { answerPanelHeight = display.getAnswerPanel().getOffsetHeight(); display.getNextButtonPanel().setHeight(answerPanelHeight); display.getNextButtonPanel().redraw(); } catch (Exception e) { } } }); What argument I must add in Widget.addAttachHandler() ? Because I use SmartGwt and i dont have method onLoad(); -- 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/-/iI4QFhUWRsYJ. 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 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: GWT 2.4 DevMode almost always hangs at Checking for updates
How can this check be disabled? Thanks, Sanjiv On Fri, Aug 10, 2012 at 10:21 AM, Thomas Broyer t.bro...@gmail.com wrote: It's browser independent, but OS dependent. You can disable the update check though. -- 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/-/XOTHOZV1iaQJ. 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.
Re: GWT 2.4 DevMode almost always hangs at Checking for updates
It found the option : -XdisableUpdateCheck The reason I need to disable this is because of classloader issues I'm running into with a custom PreferencesFactory implementation that our app uses. The DevMode check for update initializes the Preferences class outside the web app context class loader and the Preferences class uses a static final member variable for the factory. On Tue, Nov 13, 2012 at 10:18 AM, Sanjiv Jivan sanjiv.ji...@gmail.comwrote: How can this check be disabled? Thanks, Sanjiv On Fri, Aug 10, 2012 at 10:21 AM, Thomas Broyer t.bro...@gmail.comwrote: It's browser independent, but OS dependent. You can disable the update check though. -- 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/-/XOTHOZV1iaQJ. 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.
Re: Client/Server communication. GWT-RPC ? GIlead ? Dozer ? RequestFactory ?
Hi fabio, I've shared my thoughts on this subject here : http://www.jroller.com/sjivan/entry/solving_the_dto_dilemma Sanjiv On Sat, Apr 7, 2012 at 7:44 AM, fabio njo...@gmail.com wrote: I'm just about to start a major web app project (rewriting the main product or a sofware vendor) . In the past I've been a project manager or a developer in some small GWT projects. I think GWT is a good choice for business app with a lot of tabular data and information. But still I have some concerns. - GWT-RPC was one of the reason, I chose GWT in the past because of the magic of using (almost) the same objects on the server and client sides. To cope with the serialization and HIbenrante Lazy loading issues, we 've been using 2 strategies : - 1/ A modified version of Dozer (powerful but needs tweaking) used to transtype HIbernate objects into a dedicated DTO layer - 2/ Directly buidling dedicated objects for GWT (infact on this project we even use the same genric structure for entities, a kind of enhanced map of properties with an additional type and id attributes. - Today there is a kind of fog around these questions: GILEAD is not maintained any more, the new RequestFactory API seems awkard to me (especially with all these loose conventions) So in a nutshell what guys do you recommend for client / server communication in GWT today ? -- 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/-/hsHStUExV5sJ. 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.
Re: [gwt-contrib] ResourceOracleImpl.onRefresh Question
You mean going the -noserver route? I like the convenience of starting the entire app within Jetty in dev mode. How about allowing a descriptor that specifies the jars required by GWT? Most apps probably require at most a handful of third-party GWT jars but have a large number of jars required by the server so the overhead of scanning all jars in the classpath is quite undesirable. On Thu, Jan 5, 2012 at 1:43 PM, Thomas Broyer t.bro...@gmail.com wrote: For a fairly large project, you'd probably better have separate server and client (and shared) projects. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: GWTTestCase possible issue (SmartGWT DMI call)
The the issues with GWTTestCase that relate to the second thread are 1) GWTTestCase does not execute the onModuleLoad() of EntryPoint's specified in any inherited module and 2) GWTTestCase does not execute any linkers specified in inherited modules Sanjiv On Wed, Jan 4, 2012 at 8:26 AM, Patrick pkelley...@gmail.com wrote: There seems to be cases where GWTTestCase fails. One example I have run into is when trying to do a SmartGWT DMI RPC call within the GWTTestCase. SmartClient seems to think there may be an issue in the GWTTestCase that is causing this. Here is a couple of posts referencing this on their forums. The error I am referencing is shown in these posts. http://forums.smartclient.com/showthread.php?t=18481 http://forums.smartclient.com/showthread.php?t=18356 Does anyone have any feedback or even better a solution on this? I would hate to have to introduce an additional tool to test this code. Thank you in advance, Patrick -- 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.
Re: In development mode `$entry(...)` converts `false` to `Boolean(false)` which can be evaluated to true
I hit the same issue as well. See the thread below which describes problem and a workaround. http://groups.google.com/group/google-web-toolkit-contributors/tree/browse_frm/month/2010-04/f728b64e7237b937?rnum=211_done=%2Fgroup%2Fgoogle-web-toolkit-contributors%2Fbrowse_frm%2Fmonth%2F2010-04%3F Sanjiv On Thu, Dec 29, 2011 at 4:32 PM, Ali ali.sak...@gmail.com wrote: Hi In following example (v2.3.0 development mode) `$entry()` converts returned `false` to `Boolean(false)` which can be evaluated to true if used immediately. public class Example { public boolean test() { return false; } public native void inject() /*-{ var self = this; $wnd.test = $entry(function(){ return se...@my.gwt.client.Example ::test()(); }); }-*/; } in js alert(test() + = + (test() ? true : false)); results in `false=true`. Is this a bug or I have used it incorrectly? -- 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/-/HqVtZcnQ4B4J. 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.
Re: Convert Java bean Object to JSON in GWT 2.4
Gere, Can you elaborate what you're trying to do here? What kind of datasource are you using in SmartGWT and where are you trying to convert the beans to JSON? If you're using RestDataSource then you're probably converting your beans to JSON on the server side and for this you can use a library like XStream or FlexJSON ( http://flexjson.sourceforge.net/ ). As Gal Dolber mentions, piriti can be used to convert beans to JSON on the client side but this might not be what you're looking for. Use of RequestFactory is not required or appropriate when working with Smart GWT datasources. Sanjiv On Thu, Oct 13, 2011 at 11:40 AM, GereMora gerem...@gmail.com wrote: I don't know Request Factory!.. Sounds good. In my case, I need work with Java beans with Smart GWT Dataousources. I'll investigate Request Factory. Thks! Gere. On Oct 12, 7:38 pm, Tomasz Gawel tomaszga...@op.pl wrote: As to JSON: Have you tried Google GSON library ? http://code.google.com/p/google-gson/ And second question: Do you really need JSON? RequestFactory does not suit your case? http://code.google.com/intl/pl/webtoolkit/doc/latest/DevGuideRequestF... -- 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.
Re: JAXB + GWT
If you're okay with using Smart GWT, it has inbuilt support for this. Have a look at this sample : http://www.smartclient.com/smartgwt/showcase/#featured_xsd_ds Sanjiv On Sat, Sep 3, 2011 at 2:21 PM, Kyle Anderson kyleanderso...@gmail.comwrote: I have an XML Schema defined in XSD format. Basically, there are a whole lot of objects with attributes associated with them. The attributes have various types (strings, enumerated types, integers). The restrictions on these attributes are all defined in the XSD format. I would like to create an editor in GWT which allows the user to edit a file in XSD format. The editor should be able to create a form using the XSD. For example, if there is an enumerated type attribute, the editor should create a drop down menu. I experimented with JAXB to generate the java bean classes from the XSD format. The problem with this is that you cannot do reflection in GWT, so there's no great way to view the attributes of the class in order to create the editor window. I imagine people have done similar things before. Thanks!! Kyle -- 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.
Re: EntityProxy, AutoBeanVisitor and Hibernate lazy properties.
Just curious to know what you're using for your persistence layer? On Fri, Sep 9, 2011 at 4:31 AM, Thomas Broyer t.bro...@gmail.com wrote: On Friday, September 9, 2011 9:23:51 AM UTC+2, Tiago wrote: Hello Thomas, On Sep 8, 11:38 am, Thomas Broyer t.br...@gmail.com wrote: I believe RF is not meant to be used with lazy-loading if you don't also use (and accept the consequences) OpenSessionInView. That would be a pity. I thought the point of RF was dealing with ORM entities without having to mind with stuff described here: https://code.google.com/**webtoolkit/articles/using_gwt_** with_hibernate.htmlhttps://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html Actually, I thought that preventing lazy initialization exceptions was the point of the with() method... I wonder why it exists if not for that... There are basically two choices when modelling synchronous APIs on top of inherently asynchronous communications: get everything eagerly (with the risk of retrieve the database as a whole) so that a getContactDetails() always returns something, or get only what's requested (so that getContactDetails() either returns data if it was requested, or returns 'null' otherwise). RF falls in the second category (except that it doesn't apply it to properties with simple values), and .with() is the way to request data that wouldn't be loaded by default. By loaded here, we meant serialized in the HTTP response, which is a different deal as to what can happen on the server. .with() has nothing to do with lazy-loading or lazy initialization exceptions; it's only about what goes over the wire, and what's available on the client-side. or unproxy your objects rather than simply detaching them. Would you advice the use of Gilead with RF for this? I don't know Gilead (and I actually don't use JPA or JDO, but if I had to, I wouldn't use lazy-loading, it causes much more burden than what it's supposed to solve, it's not worth it, it's a lie, it's counterproductive in the long run; JPA/JDO, like much enterprisey things, are over-engineered and much too complicated to get them to work unless you're an expert in the field). -- 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/-/Vxbn57QUG6QJ. 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.
[ANN] Smart GWT 2.5 Released
Hi all, Smart GWT 2.5 has been released. Release Announcement : http://www.jroller.com/sjivan/entry/smart_gwt_2_5_released Release Notes : http://www.smartclient.com/smartgwt/release_notes.html#2_5 Download : http://code.google.com/p/smartgwt/downloads/list Showcase Demo : http://www.smartclient.com/smartgwt/showcase/ The key features of this release are : * GWT 2.3 compatible * IE 9 and Firefox 5 support * ARIA / Section 508 Accessibility compliance * New dataPath Feature that provides a straightforward way to display or edit complex nested data * ListGrid Filtering using expressions. For example 50 or ==99 * Support for multi-line summaries in groups and at the grid level * Ability to use custom editors for different cells of the same column in a ListGrid * IE Performance improvements * CanvasItem can now participate in the DynamicForm's values management * MultiField search support for Select Items * Selenium Support improvements Comments, suggestions and feedback welcome. Thanks, Sanjiv -- 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: Fail upgrade to GWT 2.3
Hi, You can work around this by placing the GWT 2.3 jars before the Smart GWT jars in your classpath. This has been resolved in SVN and will be reflected in the next nightly build and the upcoming Smart GWT 2.5 release. Let me know if you still have any problems. Thanks, Sanjiv On Mon, May 9, 2011 at 8:30 AM, Ron blod.og@googlemail.com wrote: Just add inherits name=com.google.web.bindery.event.Event/ to your main project.gwt.xml - but you will still get Cannot cast from GwtEvent.TypeH to Event.TypeH from SmartGWT. Seems like its not compatible with GWT 2.3 yet - I also tested SmartGWT 2.5 latest nightly - still get the cast error. -- 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.
Re: Massive increase in compile time with GWT 2.3
Have you tried compilation using SSD? I'm my experience from last year, SSD's were great for reads but terrible for writes and compilation of medium to large projects actually took a fair bit longer on SSD's. It's possible the newer SSD's have gotten better but I would recommend doing some more research before making this expensive purchase with expectations of significant compile time speed improvements. On Wed, May 18, 2011 at 2:22 PM, Jeff Larsen larse...@gmail.com wrote: What is the purpose of the build? Is it to deploy the actual code to a production/test server or is it to enable some sort of selenium/webdriver test framework. If it is the latter, you could add -draftCompile which will not be highly obfuscated code, but it should be a quicker compile, especially with 48 perms. You could also link up multiple computers to do distrubted permutation computations. Ray Cromwell had a talk about this at last year's IO. Depending on your budget, a SSD drive could potentially help you out a lot here too. -- 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.
Re: To smart GWT or not
have to determine the features you need for your application, how much of it is provided by core GWT or any other toolkit, the cost of building missing features in-house, and compare it to the client and server integration features, support and stability of Smart GWT and decide for yourself. I would recommend that you read the SmartGWT quick start guide ( http://www.smartclient.com/releases/SmartGWT_Quick_Start_Guide.pdf ) if you haven't already done so since it covers a lot of frequently asked questions and features provided by the library. Hope this addresses all your concerns :) Thanks, Sanjiv On Thu, Feb 10, 2011 at 2:30 AM, Nagin Kothari naginkoth...@gmail.comwrote: Sanjiv, I know I am reopening this thread, not to criticise Smart GWT, but want to give some feedback. First of all let me acknowledge that it is very good library with lot of cool and fantastic features. I experimented with it and liked it and planning to use it in one of my project.But I have some doubts and questions , which you I thought you will be best person to answer . Hence this mail. 1. I am using GWT and want to use some Smart GWT widgets in that application.But it looks like I have to include lot of Smart client JS file which size is about 2MB. Client need to download all these JS libs above our GWT compiled script. this become very huge download for client, Even I want to use Smart GWT's grid , I realized that I have to include almost everything except few small smart-client JS.So my question is why is so and what is work around for it? 2.Second, smart-client scripts are not in compressed format (like GWT is). it is like GWT pretty format. If it is compressed then size of all script files will be reduced. 3. My third question is - Why smart GWT is not written in GWT so that it can take advantage of GWT's optimised java script compiler.Smart GWT widget the can be extended by user to customize it. Right now Smart GWT widgets are just black box for developer. Theses are few question I had in mind., Over all features provided by smart GWT are great. Thank and regards, Nagin Kothari On Fri, Dec 3, 2010 at 9:24 PM, Sanjiv Jivan sanjiv.ji...@gmail.comwrote: Jaroslav, If you're happy with GWT that’s great but please do not make such vague and baseless claims about Smart GWT. Legitimate bugs reported are fixed really quickly and existing users can attest to this. Smart GWT currently has around 42 open defects with a majority of them being low priority, and 16 enhancement requests ( http://code.google.com/p/smartgwt/issues/list ). Considering the depth and breadth of features provided by the framework this is a pretty low number of defects. 3 of the 7 issues that you filed were invalid, and 2 defects that were fixed and the remaining 2 were marked WontFix since they were trivial pieces of functionality that the user could easily implement. http://code.google.com/p/smartgwt/issues/list?can=1q=reporter:jaroslav.zaruba http://code.google.com/p/smartgwt/issues/list?can=1q=reporter:jaroslav.zarubaAnd when you were advised how to implement a warning dialog before record deletion on this issue that you filed ( http://code.google.com/p/smartgwt/issues/detail?id=325 ), you responded by you are sad. Nice way to show your appreciation when using a free product. Sanjiv 2010/12/3 Jaroslav Záruba jaroslav.zar...@gmail.com ...until you run into some SmartGWT magic - like widgets not working without otherwise completely useless 'final' (have fun trying figure that out), newly spanned records not appearing in tree, styles not getting applied until mouseover, etc. What looks like polished set of awesome widgets might turn into nightmare which makes you throwing your deadlines out of the window. (Like I said before, this particular experience with SmartGWT is one year old.) With GWT the start might be slower but you can predict the deadlines + you're not working with 'black box'. On 3 pro, 00:00, ckendrick charles.kendr...@gmail.com wrote: Sorry that's quite absurd: SmartGWT is often introduced to solve performance problems, and it solves them. SmartGWT is intentionally designed to have a one-time-ever download of a feature rich runtime in exchange for reducing subsequent server requests. For example, Adaptive Filtering greatly reduces the costliest types of database hits: http://www.smartclient.com/smartgwt/showcase/#grid_adaptive_filter_fe... .. and allows you to introduce an extremely powerful data highlighting system with no server load at all: http://blog.isomorphic.com/?p=234 If your application is the kind we target - complex enterprise applications which are used repeatedly and for significant lengths of time - this provides a gigantic performance boost, and once-ever download of cachable JavaScript files is a negligible factor. Look at a deployed SmartGWT application and you've got users humming along, ripping
Re: Exception falling through catch() in JSNI
It is probably triggering window.onerror in IE. See gwt-log's setErrorHandler method in the class below if you'd like to register a handler for it in GWT. http://code.google.com/p/gwt-log/source/browse/trunk/Log/src/com/allen_sauer/gwt/log/client/impl/LogImplBase.java On Sun, Jan 16, 2011 at 10:25 AM, George Georgovassilis g.georgovassi...@gmail.com wrote: I've been toying with Maps Api v3 and markerclusterer and run into a strange constellation with the following setup: IE 8 (64 bit) both hosted and production mode, GWT 2.1.1 Markercluster apparently does something to the Map, so that the map cannot be operated upon immediately when running IE8, i.e.: 1. setup map 2. setup markerclustere 3. zoom map - this throws an exception about a maptype being not defined I also get this with Firefox btw. I try{} catch{}'ed this in JSNI which works in Firefox as expected. But with IE, the exception simply falls through as if there were no catch statement. Has anybody seen something similar? -- 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.comgoogle-web-toolkit%2bunsubscr...@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.
[ANN] Smart GWT 2.4 Released
Hi, Smart GWT 2.4 has been released. Release Announcement : http://www.jroller.com/sjivan/entry/smart_gwt_2_4_released Download : http://code.google.com/p/smartgwt/downloads/list Showcase Demo : http://www.smartclient.com/smartgwt/showcase/ The key features of this release are : * GWT 2.1.1 compatible * Smart GWT QuickStart Guide * Offline support with seamless integration with the normal DataSource request / response cycle * User Defined data highlighting * Advanced Hover Components * New ultralight Simplicity theme that is virtually image free and easy to customize * IE Performance improvements * ListGrid autofit support * 24h cased Calendars * Several new Showcase samples Feedback welcome. Thanks, Sanjiv -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: To smart GWT or not
Jaroslav, If you're happy with GWT that’s great but please do not make such vague and baseless claims about Smart GWT. Legitimate bugs reported are fixed really quickly and existing users can attest to this. Smart GWT currently has around 42 open defects with a majority of them being low priority, and 16 enhancement requests ( http://code.google.com/p/smartgwt/issues/list ). Considering the depth and breadth of features provided by the framework this is a pretty low number of defects. 3 of the 7 issues that you filed were invalid, and 2 defects that were fixed and the remaining 2 were marked WontFix since they were trivial pieces of functionality that the user could easily implement. http://code.google.com/p/smartgwt/issues/list?can=1q=reporter:jaroslav.zaruba http://code.google.com/p/smartgwt/issues/list?can=1q=reporter:jaroslav.zarubaAnd when you were advised how to implement a warning dialog before record deletion on this issue that you filed ( http://code.google.com/p/smartgwt/issues/detail?id=325 ), you responded by you are sad. Nice way to show your appreciation when using a free product. Sanjiv 2010/12/3 Jaroslav Záruba jaroslav.zar...@gmail.com ...until you run into some SmartGWT magic - like widgets not working without otherwise completely useless 'final' (have fun trying figure that out), newly spanned records not appearing in tree, styles not getting applied until mouseover, etc. What looks like polished set of awesome widgets might turn into nightmare which makes you throwing your deadlines out of the window. (Like I said before, this particular experience with SmartGWT is one year old.) With GWT the start might be slower but you can predict the deadlines + you're not working with 'black box'. On 3 pro, 00:00, ckendrick charles.kendr...@gmail.com wrote: Sorry that's quite absurd: SmartGWT is often introduced to solve performance problems, and it solves them. SmartGWT is intentionally designed to have a one-time-ever download of a feature rich runtime in exchange for reducing subsequent server requests. For example, Adaptive Filtering greatly reduces the costliest types of database hits: http://www.smartclient.com/smartgwt/showcase/#grid_adaptive_filter_fe... .. and allows you to introduce an extremely powerful data highlighting system with no server load at all: http://blog.isomorphic.com/?p=234 If your application is the kind we target - complex enterprise applications which are used repeatedly and for significant lengths of time - this provides a gigantic performance boost, and once-ever download of cachable JavaScript files is a negligible factor. Look at a deployed SmartGWT application and you've got users humming along, ripping through the interface and nothing being downloaded anymore because it's all cached. And everyone is getting fast responses from the database because the Smart GWT framework is minimizing database load. The larger your application becomes, the more these benefits accrue. And, by the time you've built an application with comparable functionality with core GWT or another GWT-based framework, you're going to be downloading the same size runtime as SmartGWT anyway. On Dec 1, 1:44 pm, aarnott andrew.wj.arn...@gmail.com wrote: I've found Smart GWT to have rather poor performance and it comes at the added cost of massive javascript libraries (even when they are gzipped). If you are anything like me, you will probably find that you lose time in the long run by going with Smart GWT because you will want to get rid of it later to boost performance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] GWTTestCase and user defined linker
Hi, I have a test class that extends GWTTestCase and returns a certain module name. This test module inherits a library module that has a user defined linker via define-linker and add-linker. When I run the testcase in debug mode I notice that the user defined linker is not invoked. Running the same module as a GWT app in hosted mode triggers the linker. If this is not the expected behavior, please let me know and I'll try to create a simplified testcase. Thanks, Sanjiv -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: Web service call
Smart GWT supports binding to your webservices WSDL directly without the need for writing any additional server side binding code. Have a look at the following samples. http://www.smartclient.com/smartgwtee/showcase/#data_integration_server_wsdl_generic http://www.smartclient.com/smartgwtee/showcase/#data_integration_server_wsdl_weather Sanjiv On Wed, Jul 28, 2010 at 3:13 PM, Deepak Singh deepaksingh...@gmail.comwrote: Hi, As i am unfamilier with JAX-WS or REST. So i am looking for some inbuilt feature in GWT or any third part e.g.SmartGWT, Incubator etc. Any sample code for the scenario. OR could pls tell me how to set up the project structure in a proper manner. On Thu, Jul 29, 2010 at 12:29 AM, lineman78 linema...@gmail.com wrote: I am unfamiliar with Jibx, you need to realize that GWT is completely decoupled from the server side so 'compatibility' of a server-side library with GWT is never an issue, it is your design and con-ops that must be compatible with GWT. You must decide on how you are going to communicate between your GWT client and the server. The way I see it you have 2 choices: GWT-RPC or REST(XML or JSON). My preference for speed is JSON REST services. So what you would do is make a RESTful request to the server for the information, the server would then call the Jibx method which would make the SOAP calls to the data sources and you would convert and return that data to the GWT client. The reason I suggested a JAX-WS(aka Metro) client is that JAX-WS and JAX- RS objects can be compatible and you could just serialize them back out with minimal to no translation. On Jul 28, 12:07 pm, Deepak Singh deepaksingh...@gmail.com wrote: Hi, Plan to use Jibx binding on server side due to its fast response. will it be compatible with gwt? On Wed, Jul 28, 2010 at 10:24 PM, lineman78 linema...@gmail.com wrote: Due to the SOP you might need to write your own server-side translator. Personally, I would use the WSDL to generate a Java SOAP client and use the same objects for a Jersey REST service to pass the data down to the client. Look at the Jersey project for REST examples(the getting started guide is good). Here is how to do a SOAP client: http://download-llnw.oracle.com/javaee/5/tutorial/doc/bnayn.html#bnayx On Jul 27, 1:24 pm, Deepak Singh deepaksingh...@gmail.com wrote: Hi, With GWT 2.1 My requirement is, I have to connect to different airlines thorugh their web services at the same time to search for available flights and then display the search result on my page.response I have wsdl files for all of them and methods to invoke and set request as xml string and get response as xml string. I have to do this search very very fast to get the response in 2 seconds from all the airlines. Kindly suggest the best approach to follow. If possible provide some sample code. Regards Deepak -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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: Web service call
Hi Deepak, I was just informing you about Smart GWT's capability of binding to WSDL's directly as a possible option. Multiple calls to webservices can be made asynchronously and the results can be presented in a grid / tabular form as the results arrive. Implementing this using Smart GWT is trivial and you can probably build the entire search / display interface in 200 - 300 lines of Smart GWT client side code alone. The response time depends on the response from the webservice itself. Whether you call the webservice directly from the client or go through your server depends on the architectural details and features of your application and you're probably the best person to make that decision. For example do you want to do some sort of caching, data cleansing, collection of statistics etc Sanjiv On Wed, Jul 28, 2010 at 3:22 PM, Deepak Singh deepaksingh...@gmail.comwrote: Hi Sanjeev, I am concerned with speed of server response. So how fast can i get the response using this SmartGwt technique ? My need is to call web service from different airlines at the same time as it happens with any travel portal when you search for flight on a particular date. Thanks Deepak On Thu, Jul 29, 2010 at 12:45 AM, Sanjiv Jivan sanjiv.ji...@gmail.comwrote: Smart GWT supports binding to your webservices WSDL directly without the need for writing any additional server side binding code. Have a look at the following samples. http://www.smartclient.com/smartgwtee/showcase/#data_integration_server_wsdl_generic http://www.smartclient.com/smartgwtee/showcase/#data_integration_server_wsdl_weather Sanjiv On Wed, Jul 28, 2010 at 3:13 PM, Deepak Singh deepaksingh...@gmail.comwrote: Hi, As i am unfamilier with JAX-WS or REST. So i am looking for some inbuilt feature in GWT or any third part e.g.SmartGWT, Incubator etc. Any sample code for the scenario. OR could pls tell me how to set up the project structure in a proper manner. On Thu, Jul 29, 2010 at 12:29 AM, lineman78 linema...@gmail.com wrote: I am unfamiliar with Jibx, you need to realize that GWT is completely decoupled from the server side so 'compatibility' of a server-side library with GWT is never an issue, it is your design and con-ops that must be compatible with GWT. You must decide on how you are going to communicate between your GWT client and the server. The way I see it you have 2 choices: GWT-RPC or REST(XML or JSON). My preference for speed is JSON REST services. So what you would do is make a RESTful request to the server for the information, the server would then call the Jibx method which would make the SOAP calls to the data sources and you would convert and return that data to the GWT client. The reason I suggested a JAX-WS(aka Metro) client is that JAX-WS and JAX- RS objects can be compatible and you could just serialize them back out with minimal to no translation. On Jul 28, 12:07 pm, Deepak Singh deepaksingh...@gmail.com wrote: Hi, Plan to use Jibx binding on server side due to its fast response. will it be compatible with gwt? On Wed, Jul 28, 2010 at 10:24 PM, lineman78 linema...@gmail.com wrote: Due to the SOP you might need to write your own server-side translator. Personally, I would use the WSDL to generate a Java SOAP client and use the same objects for a Jersey REST service to pass the data down to the client. Look at the Jersey project for REST examples(the getting started guide is good). Here is how to do a SOAP client: http://download-llnw.oracle.com/javaee/5/tutorial/doc/bnayn.html#bnayx On Jul 27, 1:24 pm, Deepak Singh deepaksingh...@gmail.com wrote: Hi, With GWT 2.1 My requirement is, I have to connect to different airlines thorugh their web services at the same time to search for available flights and then display the search result on my page.response I have wsdl files for all of them and methods to invoke and set request as xml string and get response as xml string. I have to do this search very very fast to get the response in 2 seconds from all the airlines. Kindly suggest the best approach to follow. If possible provide some sample code. Regards Deepak -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@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-tool
Re: Export ListGrid in SmartGWT
Hi Gopal, Please post Smart GWT related questions on the Smart GWT forum : http://forums.smartclient.com/forumdisplay.php?f=14 Thanks, Sanjiv On Mon, Jun 14, 2010 at 4:27 AM, gopal bhalala gopalbhal...@gmail.comwrote: I am using exportData on listGrid...Its working fine if i have only normal fields like text. But I have a problem with date field (without time). My exported data comes with time value (ex. 01/06/10 00:00:00 ) but I use EuropeanShortDate in data source. I need only date value in exported data file. Please suggest us that how I remove time (00:00:00) value and also how I make date field as customized. Below is snippet of my code. Datasource: .. field name=DOB title=DOB type=date useTextField=true textAlign=LEFT dateFormatter=toEuropeanShortDate / .. . Code: (1) DSRequest dsRequestProperties = new DSRequest(); (2) dsRequestProperties.setExportAs( (ExportFormat) EnumUtil.getEnum (ExportFormat.values(), csv)); (3) dsRequestProperties.setExportDisplay(ExportDisplay .DOWNLOAD); (4) cmps.gamesTree.childList.getField (crew_in_date).setType(ListGridFieldType.DATE ); (5) cmps.gamesTree.childList.exportData(dsRequestPrope rties); Thanking you, Gopal Bhalala -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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.
[ANN] Smart GWT 2.2 Released
Hi, Smart GWT 2.2 has just been released. Release Announcement : http://www.jroller.com/sjivan/entry/smart_gwt_2_2_released Download : http://code.google.com/p/smartgwt/downloads/list Showcase Demo : http://www.smartclient.com/smartgwt/showcase/ The key features of this release are : * Selenium Support * Support for the prototype pattern to set global defaults without creating a separate hierarchy of subclasses This is explained in more detail in the release announcement * DateRangeItem, MiniDateRangeItem and Relative Date support for DynamicForm * Dropdown multi-selects * Javadoc enhancements : Over 200 API's have an overview and relevant Showcase sample in the @see link of the API docs * Numerous other fixes and enhancements. The complete release notes can be found here : herehttp://www.smartclient.com/smartgwt/release_notes.html#2_2 * Several new Showcase samples Suggestions and feedback welcome. Thanks, Sanjiv -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: SmartGWT SimpleCalendar widget help
Try calendar.addEventClickHandler(..) and call CalendarEventClick.getEvent() to obtain the CalendarEvent instance. In the future please post Smart GWT related questions on the Smart GWT forum : http://forums.smartclient.com/forumdisplay.php?f=14 Thanks, Sanjiv On Thu, May 6, 2010 at 4:14 AM, Naveen r.naveens...@gmail.com wrote: Let me explain my requirements. I am working on an appointment scheduling project which is totally on struts frame work. We have a daily view page of appointments were in i am planing to use GWT simple calendar widget. Now I have successfully worked out how to deploy this into tomcat using the build from webappcreator. All I want to know is how can i communicate between the client and the server.. To explain in detail.. say a person logs in and creates a appointment (GWT simple calendar event ) i should be able to catch this in java side so that i can send this across to my db where i can store it... Please check this link : http://www.smartclient.com/smartgwt/showcase/#simple_calendar_category you can view the code in the above link.. On click on the body of the calendar there is a pop panel where in we can give certain details.. I just want to catch these details in java side.. I worked on the basic example which comes along with eclipse plugin to understand RPC .. In that we have a text box from which we can get the entered value .. I am not able to understand the same in simple calendar as some Datasource has been used.. Can anyone explain this please.. Regards Naveen -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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: [gwt-contrib] $entry and wrapping result as Object in hosted mode
Thank's for the tip Ray. Unfortunately I'm not seeing the desired results with Boolean, while Number works fine. However .valueOf() does return the correct result. Boolean.apply(null, [Object(false)]) true Number.apply(null, [Object(5)]) 5 (Object(false)).valueOf() false (Object(true)).valueOf() true (Object(5)).valueOf() 5 (Object(foobar)).valueOf() foobar Object(foobar) String So I have altered the debox function to call valueOf() instead of apply(..) and it appears to be working fine with my limited testing. // no longer need to pass typeCast arg $debox = function(val, typeCast) { return @com.google.gwt.core.client.GWT::isScript()() ? val : function() { var v = val.apply(this, arguments); //return typeCast.apply(null, v == undefined ? [] : [v]); return v == null ? null : v.valueOf(); }}; I'll only be calling debox(..) for functions that have a Javascript primitive return types including String type. The reason for applying it to a String as well is because of this issue : http://code.google.com/p/google-web-toolkit/issues/detail?id=4301 Let me know your thoughts.. Thanks, Sanjiv On Sat, Apr 10, 2010 at 9:28 PM, Ray Cromwell cromwell...@gmail.com wrote: Bob's old proposal was to introduce an Any type which is the supertype of all types, including primitives. As a short term fix, you can do what I did in GWT Exporter and de-box these values. If you are trying to export JS functions, then you can have a function like: function debox(val, typeCast) { return isScript ? val : typeCast.apply(null, arguments); } and then, debox($entry(...), Boolean) will return a 'boolean', and debox($entry(...), Number) will return a 'number' -Ray On Sat, Apr 10, 2010 at 6:24 PM, John Tamplin j...@google.com wrote: On Sat, Apr 10, 2010 at 7:37 PM, Sanjiv Jivan sanjiv.ji...@gmail.com wrote: private static native Object apply(Object jsFunction, Object thisObj, Object arguments) /*-{ if (@com.google.gwt.core.client.GWT::isScript()()) { return jsFunction.apply(thisObj, arguments); } else { _ = jsFunction.apply(thisObj, arguments); if (_ != null) { // Wrap for hosted mode _ = Object(_); } return _; } }-*/; What is the rationale for this wrapping as Object(..) in hosted mode? And can you suggest a workaround for this usecase? Notice the return type -- you can't return a JS primitive as an Object, but a JavaScriptObject can be returned as an Object. I have cc'd BobV who wrote this -- perhaps he can suggest a workaround. -- John A. Tamplin Software Engineer (GWT), Google -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe, reply using remove me as the subject. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] $entry and wrapping result as Object in hosted mode
I had originally tried on Safari 4.0.4 on OSX but just tried on Chrome (win) and FF and got the same results. So what you have is fine, the type returned on calling Boolean.apply(null, [Object(true)] ) is indeed boolean. The issue is that the value returned is incorrect when the original val is false. So try x = Object(false) and then echo the value of y. I'm getting a return value of boolean 'true' instead of boolean 'false' On Sun, Apr 11, 2010 at 4:03 PM, Ray Cromwell cromwell...@gmail.com wrote: Interesting, which browser? I just tried this in the Chrome console: x = Object(true) typeof(x) = object y = Boolean.apply(null, [x]); typeof(y) = boolean -Ray On Sun, Apr 11, 2010 at 6:32 AM, Sanjiv Jivan sanjiv.ji...@gmail.com wrote: Thank's for the tip Ray. Unfortunately I'm not seeing the desired results with Boolean, while Number works fine. However .valueOf() does return the correct result. Boolean.apply(null, [Object(false)]) true Number.apply(null, [Object(5)]) 5 (Object(false)).valueOf() false (Object(true)).valueOf() true (Object(5)).valueOf() 5 (Object(foobar)).valueOf() foobar Object(foobar) String So I have altered the debox function to call valueOf() instead of apply(..) and it appears to be working fine with my limited testing. // no longer need to pass typeCast arg $debox = function(val, typeCast) { return @com.google.gwt.core.client.GWT::isScript()() ? val : function() { var v = val.apply(this, arguments); //return typeCast.apply(null, v == undefined ? [] : [v]); return v == null ? null : v.valueOf(); }}; I'll only be calling debox(..) for functions that have a Javascript primitive return types including String type. The reason for applying it to a String as well is because of this issue : http://code.google.com/p/google-web-toolkit/issues/detail?id=4301 Let me know your thoughts.. Thanks, Sanjiv On Sat, Apr 10, 2010 at 9:28 PM, Ray Cromwell cromwell...@gmail.com wrote: Bob's old proposal was to introduce an Any type which is the supertype of all types, including primitives. As a short term fix, you can do what I did in GWT Exporter and de-box these values. If you are trying to export JS functions, then you can have a function like: function debox(val, typeCast) { return isScript ? val : typeCast.apply(null, arguments); } and then, debox($entry(...), Boolean) will return a 'boolean', and debox($entry(...), Number) will return a 'number' -Ray On Sat, Apr 10, 2010 at 6:24 PM, John Tamplin j...@google.com wrote: On Sat, Apr 10, 2010 at 7:37 PM, Sanjiv Jivan sanjiv.ji...@gmail.com wrote: private static native Object apply(Object jsFunction, Object thisObj, Object arguments) /*-{ if (@com.google.gwt.core.client.GWT::isScript()()) { return jsFunction.apply(thisObj, arguments); } else { _ = jsFunction.apply(thisObj, arguments); if (_ != null) { // Wrap for hosted mode _ = Object(_); } return _; } }-*/; What is the rationale for this wrapping as Object(..) in hosted mode? And can you suggest a workaround for this usecase? Notice the return type -- you can't return a JS primitive as an Object, but a JavaScriptObject can be returned as an Object. I have cc'd BobV who wrote this -- perhaps he can suggest a workaround. -- John A. Tamplin Software Engineer (GWT), Google -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe, reply using remove me as the subject. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] $entry and wrapping result as Object in hosted mode
I've run into an issue where I have a JSNI callback function wrapped within $entry so that exceptions raised by the GWT callback method are propagated correctly through the GWT exception handling mechanism. The issue I'm seeing is that in hosted mode when the function that $entry wraps is returns a boolean 'false' the apply method below gets called via $entry(..) and it wraps the boolean false value as Object(false). As a result when this value is passed to external JS is treated as true i,e. if( Object(false) ) { .. } evaluates as true. Impl.java:144 private static native Object apply(Object jsFunction, Object thisObj, Object arguments) /*-{ if (@com.google.gwt.core.client.GWT::isScript()()) { return jsFunction.apply(thisObj, arguments); } else { _ = jsFunction.apply(thisObj, arguments); if (_ != null) { // Wrap for hosted mode _ = Object(_); } return _; } }-*/; What is the rationale for this wrapping as Object(..) in hosted mode? And can you suggest a workaround for this usecase? Thanks, Sanjiv -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe, reply using remove me as the subject.
[ANN] Smart GWT 2.1 Released
Hi all, Smart GWT 2.1 has just been released. Release announcement : http://www.jroller.com/sjivan/entry/smart_gwt_2_1_released Showcase with new samples : http://www.smartclient.com/smartgwt/showcase/ Project Page : http://code.google.com/p/smartgwt/ Here are some of the key features of this release. Please refer to the Release Notes for complete details. * GWT 2.0.3 compatible * New Graphite theme * Support for widgets in ListGrid cells * Support for Checkbox TreeGrid with cascade selection and tri-state checkboxes (selected, unselected, partial) * Significant improvement in ToolStrip appearance * Improved Print support with fine grain control over what widgets and data appears in print view * Support for Flash, ActiveX, Applets and SVG as Smart GWT widgets * Various performance improvements Comments, suggestions and feedback welcome. Thanks, Sanjiv -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0
What are you talking about? Care to elaborate instead of writing a one liner with a smiley which makes no sense. until they get in touch with server side code :) (not talking about ee/pro) Are you having trouble writing server side code? Sanjiv On Tue, Feb 16, 2010 at 4:38 AM, mariyan nenchev nenchev.mari...@gmail.comwrote: Very nice features... until they get in touch with server side code :) (not talking about ee/pro). On Tue, Feb 16, 2010 at 1:30 AM, ckendrick charles.kendr...@gmail.comwrote: Um, so, it was pointed out to me that I missed some major ones. Even some I wrote personally :) Drag Reorder of columns http://www.smartclient.com/smartgwt/showcase/#grid_appearance_columnorder The CubeGrid (multi-dimensional data model support) http://www.smartclient.com/index.jsp#basicCube http://www.smartclient.com/index.jsp#analytics A whole range of autoFit behaviors (not just this sample, the whole folder) http://www.smartclient.com/smartgwt/showcase/#grid_autofit_filter Also, the fact that all of these features also apply to TreeGrids (eg frozen columns and full-row editing). Also, SmartGWT's data connector architecture and it's ability to support multiple caches on the same large data set, with independent search criteria, sort direction, etc. This is needed for dozens of use cases involving large data sets, such as moving records from one category to another by drag and drop. GXT's Store is extremely primitive by comparison and a lot of manual effort is required to achieve something like this: http://www.smartclient.com/smartgwtee/showcase/#row_drag_save I have probably missed another 9 major grid features, and this only covers feature advantages related to grids, however this and my previous post are probably the best answer to the original question: what are the technical advantages. On Feb 15, 12:02 pm, ckendrick charles.kendr...@gmail.com wrote: Carl, On skins, you don't sound as though you've looked at the Showcase since 2.0, when we made a series of improvements which now has most users commenting that our skins are sharper than GXTs. On grids, this is the first time I've ever seen someone claim the GXT grids are better, I really don't think you took more than a cursory look at the samples. Here are some of the largest features missing from GXT's grids (there are many many more): Adaptive Filtering http://www.smartclient.com/smartgwt/showcase/#grid_adaptive_filter_fe... Databound Dragging http://www.smartclient.com/smartgwt/showcase/#grid_db_dragging_featur... Custom nested components (embed anything) http://www.smartclient.com/smartgwt/showcase/#featured_nested_grid http://www.smartclient.com/smartgwt/showcase/#grid_nested_form_new_ca... Pluggable data models (build a master-detail component for any data model) http://www.smartclient.com/smartgwt/showcase/#featured_master_detail Frozen columns with editing, drag and drop and all other features still supported http://www.smartclient.com/smartgwt/showcase/#grid_frozen_editing Multi-level sort http://www.smartclient.com/smartgwt/showcase/#grid_multisort_new_cate... Automatic cache synchronization on update http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/dat... Multi-level filtering http://www.smartclient.com/smartgwt/showcase/#grid_nested_filter_builder Multiple rows of headers http://www.smartclient.com/smartgwt/showcase/#grid_appearance_header_... User-specified formula and summary columns http://www.smartclient.com/smartgwt/showcase/#grid_appearance_formula... Also, once again, these features work *together*. There are many combinations of GXT features that don't (eg Live Grid and most major grid features), and if you go with some hack from the forums to enable one of the missing features, you'll find even less compatibility with other features (and no support). Just didn't want anyone to think the grids are even close to comparable. The features above are all part of the free LGPL edition by the way. On Feb 14, 7:00 pm, Carl Pritchett bogusggem...@gmail.com wrote: We have used GXT from 1.2 to 2.1.1 on a mid-sized project. Pros - I think the look and feel is sharp and responsive (much nicer thatSmartGWTIMHO - but look at the showcases and judge for youself). - Grids are the best I've seen (sorrySmartGWT) but no lockable columns (which Smart does have) - we had to write our own (I've posted them on the forums) - It's all java and it's trivial to debug / overrride features - Good community in the forums - Bugs get fixed if you are persistent enough Cons - Quirky bugs and behaviour changes in each version - need to check for regression when taking an upgrade. - Only first point release if available if you don't have a support contract (even if you buy the product) and there can be a long wait
Re: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0
mariyan, The SmartGWT LGPL server side code can be as little or much depending on how the developer codes it. Pro / EE handle the server side persistence so there's minimal code to writ. With LGPL, the SmartGWT datasource protocol simply passes the relevant information for various operations like fetch, update, delete and insert. Thats it! From there on, the developer needs to act on this information to service the operation request. A fetch operation for example will pass the startRow, endRow and the applications server side code needs to return data as XML, JSON or GWT-RPC beans in response to this request. Similarly an insert or update operation passes the data of the new record to the server. There's nothing inherent to SmartGWT that requires more server side code. Infact its a very simple protocol that imposes no extra overhead or server side requirements whether you're using the Restful DataSource, or the GWT-RPC Datasource. Have a look at this sample : http://www.smartclient.com/smartgwt/showcase/#featured_restfulds Hopefully this clarifies things. If you need some more information, there is plenty of information in the Javadocs and also feel free to post on the SmartGWT forum. Sanjiv On Tue, Feb 16, 2010 at 7:08 AM, mariyan nenchev nenchev.mari...@gmail.comwrote: Personally - yes. It is to much code for basic stuff. Don't understand me wrong, if i look smart gwt only as client side framework, it is very good and rich, but most users(developers) have trouble integrating it with other frameworks, technologies and so on...You see how many users write every day in the smartclient's forum and all have problems with server integration. May be they are not experienced, may be it is unnessesery complicated or may be smart gwt is like that, because smart gwt pro/ee are better. Every thing is just bussines, and so it should be. I am just saying my personal opinion. Regards. On Tue, Feb 16, 2010 at 1:47 PM, Sanjiv Jivan sanjiv.ji...@gmail.comwrote: What are you talking about? Care to elaborate instead of writing a one liner with a smiley which makes no sense. until they get in touch with server side code :) (not talking about ee/pro) Are you having trouble writing server side code? Sanjiv On Tue, Feb 16, 2010 at 4:38 AM, mariyan nenchev nenchev.mari...@gmail.com wrote: Very nice features... until they get in touch with server side code :) (not talking about ee/pro). On Tue, Feb 16, 2010 at 1:30 AM, ckendrick charles.kendr...@gmail.comwrote: Um, so, it was pointed out to me that I missed some major ones. Even some I wrote personally :) Drag Reorder of columns http://www.smartclient.com/smartgwt/showcase/#grid_appearance_columnorder The CubeGrid (multi-dimensional data model support) http://www.smartclient.com/index.jsp#basicCube http://www.smartclient.com/index.jsp#analytics A whole range of autoFit behaviors (not just this sample, the whole folder) http://www.smartclient.com/smartgwt/showcase/#grid_autofit_filter Also, the fact that all of these features also apply to TreeGrids (eg frozen columns and full-row editing). Also, SmartGWT's data connector architecture and it's ability to support multiple caches on the same large data set, with independent search criteria, sort direction, etc. This is needed for dozens of use cases involving large data sets, such as moving records from one category to another by drag and drop. GXT's Store is extremely primitive by comparison and a lot of manual effort is required to achieve something like this: http://www.smartclient.com/smartgwtee/showcase/#row_drag_save I have probably missed another 9 major grid features, and this only covers feature advantages related to grids, however this and my previous post are probably the best answer to the original question: what are the technical advantages. On Feb 15, 12:02 pm, ckendrick charles.kendr...@gmail.com wrote: Carl, On skins, you don't sound as though you've looked at the Showcase since 2.0, when we made a series of improvements which now has most users commenting that our skins are sharper than GXTs. On grids, this is the first time I've ever seen someone claim the GXT grids are better, I really don't think you took more than a cursory look at the samples. Here are some of the largest features missing from GXT's grids (there are many many more): Adaptive Filtering http://www.smartclient.com/smartgwt/showcase/#grid_adaptive_filter_fe. .. Databound Dragging http://www.smartclient.com/smartgwt/showcase/#grid_db_dragging_featur. .. Custom nested components (embed anything) http://www.smartclient.com/smartgwt/showcase/#featured_nested_grid http://www.smartclient.com/smartgwt/showcase/#grid_nested_form_new_ca. .. Pluggable data models (build a master-detail component for any data model) http://www.smartclient.com/smartgwt/showcase/#featured_master_detail Frozen columns
Re: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0
On Tue, Feb 16, 2010 at 5:08 PM, Shawn Brown big.coffee.lo...@gmail.comwrote: Well I use GXT but like the smartgwt grids better so am looking at this datasource issue. It's worrysome: Thread http://forums.smartclient.com/showthread.php?t=3012 Bug report asking for RPC datasource http://code.google.com/p/smartgwt/issues/detail?id=303 Shawn, The thread you point to is really old (2008). Since then, alius, one of the SmartGWT users has come up with a good implementation of GwtRpcDataSource. You can read this rather long thread ( http://forums.smartclient.com/showthread.php?t=4814 ), but all the information you'll need is in there along with the GwtRpcDataSource implementation. The GwtRpcDataSource implementation is part of the smartgwt-extensions project : http://code.google.com/p/smartgwt-extensions/ I see there is an api but it states: Smart GWT supports declarative, XPath-based binding of visual components to any server capable of returning XML or JSON responses over HTTP, without the need for the 'Smart GWT server'. Yes, this is true and there are a number of samples of this in the SmartGWT Showcase. http://www.smartclient.com/smartgwt/showcase/ Go to Data Integration-- XML, or JSON. You can even use Webservices / WSDL based DataSources. A fetch operation for example will pass the startRow, endRow and the applications server side code needs to return data as XML, JSON or GWT-RPC beans in response to this request. : http://www.smartclient.com/smartgwt/showcase/#featured_restfulds Are there any examples using GWT-RPC (without the smart server) Sanjiv what you said and what the docs say seem to be different. Can we really use GWT-RPC to get a bean back that can be used as a datasource? Yes. sunnyl, another experienced SmartGWT has posted a complete standalone project illustrating the use of GwtRpcDataSource here : http://forums.smartclient.com/showthread.php?t=4814page=22 It's not fair to have these long discussion specific to SmartGWT on the GWT forum. However its hard not to respond posts are made either intended to be flame bait or from users who have not taken time to explore the product features but make false assertions, or statements that are plain wrong. Shawn, I would encourage you and any other user interested in SmartGWT to post on the SmartGWT forum ( http://forums.smartclient.com/forumdisplay.php?f=14 ) - whether it be a technical question, or about product features and capabilities. There's a lot of SmartGWT introduction and related material even on my blog : http://www.jroller.com/sjivan/ Thanks, Sanjiv -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: [gwt-contrib] debugging of JSNI code
Are you saying that the JS debugger automatically triggers even today when one tries to step into a JSNI method? I know that manually adding a debugger; command within JSNI code will trigger the JS debugger, and I also have a helper GWT JSNI method called SC.debugger() which I can add anywhere in my GWT code but what I was hoping for is the debugger command automatically be issued by the GWT plugin when one tries to step into JSNI code from my Java IDE. If this is already the default behavior, then shame on me :) I can try it out later today as well but I don't recollect seeing this behavior. On Tue, Feb 16, 2010 at 2:07 PM, Scott Blum sco...@google.com wrote: Sanjiv, I've done this before in Internet Explorer. Actually, this worked even before OOPHM, back in 1.5 or 1.6 when the GWT Hosted Mode embedded IE on Windows. Haven't tried it with other browsers. On Tue, Feb 16, 2010 at 8:41 AM, Sanjiv Jivan sanjiv.ji...@gmail.comwrote: Hi, A while ago I had asked the possibility of being able to step through JSNI code when running in hosted mode as IDE's like IntelliJ support remote Javascript debugging from within the IDE itself much like Java debugging. I was informed that currently the only debug information collected was the line number at the boundary of the JSNI method and I can see this when running through a JS debugger. It would be great if one day this feature can be added however for now I was wondering how easy / feasible it would be to dynamically trigger the JS command debugger; when they user does a Step Into from the Java debugger. The newer versions of Safari has a very good debugger that performs well. The hosted mode plugin for Safari can have the Enable Script Debugging setting turned on for the hosted mode session. Firebug also responds to the debugger command. Similarly the IE Visual Studio / Javascript debugger is launched if installed when the debugger command is encountered. Any comments / thoughts on this? Thanks, Sanjiv -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: Exceptions in Event Handlers(inner classes) are not shown by Dev Mode Panel in Eclipse!
J-Pro, I've got some suggestions from John Tamplin on this and will be incorporating them in SmartGWT in a few days so this should be resolved soon. I see you've posted on the SmartGWT forum as well. I'll follow up with you on that thread. Thanks, Sanjiv On Fri, Feb 5, 2010 at 10:06 AM, Joel Webber j...@google.com wrote: This may be a problem with SmartGWT. I'm not familiar with the details of how they deal with wrapping events from the native SmartClient widgets, but if they fail to properly punt exceptions to the UncaughtExceptionHandler, dev mode will eat the exceptions. On Thu, Feb 4, 2010 at 12:58 PM, J-Pro jpro@gmail.com wrote: Good afternoon, dear GWT group members! I've noticed that if I create an event handler, for example ButtonItem btnSubmit = new ButtonItem(); btnSubmit.addClickHandler(new com.smartgwt.client.widgets.form.fields.events.ClickHandler() { @Override public void onClick(com.smartgwt.client.widgets.form.fields.events.ClickEvent event) { int i = 5/0; } }); I can't see the problem in the Development Mode Panel in the Eclipse. The last record there is Module has been loaded. The application itself behaves just as if nothing happened. You can try it by yourself. But if only I put int i = 5/0; after ButtonItem declaration, i.e. not in inner class, the exception will be described in Development Mode Panel. Having this, it's very hard to catch errors... Can you advise anything to me? Or is it a bug? I use Eclipse 3.5 SR1, Google Plugin 1.2.0, GWT Toolkit SDK 2.0.1, smartgwt 2.0, latest Firefox and Windows 7 x64 Ultimate. Thank you very much 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0
On Tue, Feb 2, 2010 at 8:11 PM, Bogdan Maryniuck b.maryni...@gmail.comwrote: On Wed, Feb 3, 2010 at 1:38 AM, mariyan nenchev nenchev.mari...@gmail.com wrote: i had the opportunity to write medium sized app with smart gwt, and for me it was the most painful framework for me ever. Yes, it is. I do not know what are the changes in 2.0, i used 1.2, but i am not will never try it again. Yes. And nobody here likes resource management. And Smart GWT is very buggy. Yes, it is horrible, yes it is painful, but I am not really sure what else exists that would work on older browsers, while having same set of functionality. Maybe one day I have to play with http://vaadin.com/ a little, but currently I stick to SmartGWT: works for me, though I have to roll my eyes and sight deeply at least twice per hour, while implementing things. It's quite easy to criticize a library, isn't it? Instead of making blanket statements like these have you tried reporting the issues on the SmartGWT forum, or file an issue in tracker. I don't recall any posts from you on the SmartGWT forum, nor any issue in tracker. Given this, and your short history on the GWT forum, its hard to tell if you're just inexperienced, haven't read the extensive documentation, or have run into an issue but chose to roll your eyes instead of reporting it. SmartGWT is based on SmartClient, which has been around for some 8+ years and it is very stable. No software is perfect, however if you take a step back and have a look at the depth and breath of functionality it provides you'll realize that how low the bug / functionality ratio is. The SmartGWT tracker has only 34 open defects : http://code.google.com/p/smartgwt/issues/list Try comparing this number with you favorite major library. If you have run into an issue that is not yet reported, please do report it. Complaining that a library is horrible, but still the best suited for you makes no sense. If you've already made up your mind that SmartGWT is not for you, thats fine. But if you're want to be constructive, post your questions and issues on the SmartGWT forum and you'll see that legitimate issues are resolved promptly. Sanjiv -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: display images in smartgwt
By default the images are loaded from the path {web-root}/images/ In the future please post SmartGWT related questions on the SmartGWT forum : http://forums.smartclient.com/forumdisplay.php?f=14 Sanjiv On Tue, Jan 26, 2010 at 4:43 AM, joe7935 joseph.p...@gmail.com wrote: hi all, I want to display a image is my project . i want to know where to store the image and what is the path for that image. by the way i successe to display a image that was stored in the web . please help me. 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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: SmartGWT?!
As you mentioned in your previous mail, you are not a lawyer. So you can come with theories and interpretations of LGPL and decide on use of a library. I suspect you are a happy user of GWT and the widgets it provides out of the box and that if you really wanted to use SmartGWT LGPL, you'd consult the legal team of your company rather than speculation based on your non lawyer interpretation of what really is pretty clearly spelled out in the SmartGWT license file COPYING.html. FYI Hibernate also adds the clarification on what they consider dynamic linking and that use of Hibernate never affects the license of the users code. https://www.hibernate.org/356.html The SmartGWT license clarification was based on this. The use of Hibernate is also not without caveats as you make it sound. Any application that users Hibernate also runs into a gray area since due to dynamic proxying of objects by Hibernate there is indeed modification involved. This is the very reason that Hibernate too added the above license clarification. If you are a user of Spring, Spring has a class IdTransferringMergeEventListener that extends org.hibernate.event.def.DefaultMergeEventListener and modifies its runtime behavior. Nobody is forcing anyone to use a free product - SmartGWT LGPL, and similarly no favors are being done if anyone does chose to use the free product. This is getting off topic now. If anyone needs further LGPL clarifications when using SmartGWT, feel free to post on the SmartGWT forum. Sanjiv On Thu, Jan 14, 2010 at 4:04 AM, Paul Robinson ukcue...@gmail.com wrote: Sanjiv Jivan wrote: SmartGWT has had the same clause since for a long time now. Read the actual license file - COPYING.html that is included in the SmartGWT distribution. http://code.google.com/p/smartgwt/source/browse/trunk/distro-source/core/src/COPYING.html You're right. SmartGWT has modified/clarified their use of the LGPL specifically to cover this point. It's worth noting that the widely used Hibernate library is also licensed under LGPL terms. Yes, but Hibernate lives only on the server side, so doesn't suffer the same problem. The GWT-LGPL issue is strictly a client-side problem and this is why I'm happy to use Hibernate in my server code. Paul -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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: SmartGWT?!
SmartGWT has had the same clause since for a long time now. Read the actual license file - COPYING.html that is included in the SmartGWT distribution. http://code.google.com/p/smartgwt/source/browse/trunk/distro-source/core/src/COPYING.html Since most of us are not lawyers, second guessing whats allowable or not simply constitutes FUD. Then again if you are not comfortable using LGPL libraries then that's another story. It's worth noting that the widely used Hibernate library is also licensed under LGPL terms. Sanjiv On Wed, Jan 13, 2010 at 9:26 PM, Open eSignForms yoz...@gmail.com wrote: Well, I'm not a lawyer either, but I assume you are referencing the clause in Section 4 about combined works (the app you develop that uses GWT plus some LGPL GWT library): You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work... and Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source. So I'd guess you have a point as the minimal code required to allow it to be recombined would be all of your GWT client code. Got me! Maybe that's why vaadin and GWT chose the Apache License V2. And it is interesting that the now obsolete gwt ext license ( http://gwt-ext.com/license/) suggests that combining the code at the java level is where dynamic linking takes place and should not be a concern. SmartGWT LGPL as you point out doesn't have any such clause. You'd certainly want waiver language like gwt-ext's license if you use it in a commercial setting. While you'd probably win the reasonable argument that your code simply called the library's interface and should be treated the same as if normal java code called those same library interfaces (and not suffer just because of the GWT compiler's translation to javascript). But lawsuits are expensive, so if you were successful, you'd certainly make a tempting target. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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: [ANN] SmartGWT 2.0 Released
Yozons Support on Gmail, That's definitely not the best approach. All the integration options along with the pros and cons were explained at length to you in the Smart GWT forum so I'm not sure why you're bringing this up again. Sanjiv On Mon, Dec 14, 2009 at 2:17 PM, Yozons Support on Gmail yoz...@gmail.comwrote: Excellent. I'm going to give this a try right away. For server integration, would a HashMap based interface using GWT-RPC work well with the DataSource concept to allow for generic integration of SmartGWT with a Java backend? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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: [ANN] SmartGWT 2.0 Released
Yozons Support on Gmail, Again, all the integration options were presented to you with detailed information on the suitability and pros and cons of each approach. Smart GWT (LGPL) also supports an XML / Json based Restful DataSource as well as a community written GWT-RPC Datasource. It is now up to you, as the product developer / architect to understand which approach works best for your product and apply it. All the tools are available to you. Asking the same question multiple times is really not going to help you get a better answer. That's the responsibility of a product architect. If you, as the product developer / architect think that a HashMap approach over GWT-RPC is the most suitable for your product, then by all mean go for it. Sanjiv On Tue, Dec 15, 2009 at 12:09 PM, Yozons Support on Gmail yoz...@gmail.comwrote: It's only because our plans are for our product to be open source, and while PRO may indeed work better out of the box, it creates licensing conflicts to include a large commercial component that would affect both the client and server code. The LGPL widgets definitely are winners. Unfortunately, we have also noted a condescending attitude in many forum replies, no doubt the result of dealing with so many newbies like myself who are trying to figure it all out so we can make the most informed decision possible. The one downside I see for the product -- ironically enough -- is that it seems to support so many options that it's much harder to evaluate and discern what goes with what or how to put it all together if you are taking a particular approach. It is great that it supports these myriad features and options, don't get me wrong, but it is quite an experience trying to get through all the material, all the various samples (many of which won't apply to our situation), and trying to select which approach to take, wondering if there are efficient trade-offs, etc. All these product variations (LGPL, PRO, Power, EE), GWT-vs-JS libraries and documentation and samples, and options may seem clear to you, but they most definitely are not to newbies. We are having trouble finding a clear path for users like us who will be using the GUI to interface with an established Java framework that has public interfaces for all clients implemented with Java objects that themselves handle all of the persistence, security enforcement, etc. so that the GUI calls the same interfaces available to other non-browser systems that may just want to use HTTP POST of name-value pairs, or perhaps SOAP, or perhaps just posting XML/REST, iPhone/smartphone, etc. There's even questions about how the LGPL version numbers match the EE version numbers, how to test drive the latest PRO without having access to the other features and documentation that only adds to our confusion, and one feature we thought would be a huge boost, the visual builder, does not appear to generate s'gwt code yet. So that is why we investigate our options as we eval the new 2.0 widgets and look forward to the new PRO 2.0 release to demo that incorporates them, etc. After all, much of the discussion about the troubles of using DTOs may be resolved using more flexible HashMaps interfaces which GWT-RPC can transmit easily. Trust me, I wish it were easier to evaluate since that would make my job easier. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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: [ANN] SmartGWT 2.0 Released
There is limited support for RTL in various components but to answer your question, no, RTL is not yet fully supported. On Tue, Dec 15, 2009 at 2:15 PM, Mohsen Saboorian mohs...@gmail.com wrote: How about RTL support? AFAICR SmartGwt planned to support multi-directional components in future releases. It this now fully supported? If yes, why is it missing on the showcase? Mohsen On Mon, Dec 14, 2009 at 8:14 PM, Sanjiv Jivan sanjiv.ji...@gmail.comwrote: Hi, Smart GWT 2.0 has just been released. Here's the release announcement : http://www.jroller.com/sjivan/entry/smart_gwt_2_0_released Updated Showcase Demo : http://www.smartclient.com/smartgwt/showcase/ Key features of this release : * GWT 2.0 support * New Enterprise Blue theme and improved Enterprise Gray theme * Drop-in upgrade with no upgrade or migration effort * Multi-Column sort support * Grid Row Expansion support for - memo rows - detail views - nested editable form - nested editable grid (useful for representing 1-many relationships) - any custom embedded component * Collection of standard Window icons, picker icons and transfer buttons as part of every theme * Improved Showcase demo with ability to search for samples by keyword. Added several new samples * Various other enhancements like Date field masks, improved IE 8 and Safari strict mode support. See the release notes for details Feel free to provide feedback or suggestions. Thanks, Sanjiv -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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.
[ANN] SmartGWT 2.0 Released
Hi, Smart GWT 2.0 has just been released. Here's the release announcement : http://www.jroller.com/sjivan/entry/smart_gwt_2_0_released Updated Showcase Demo : http://www.smartclient.com/smartgwt/showcase/ Key features of this release : * GWT 2.0 support * New Enterprise Blue theme and improved Enterprise Gray theme * Drop-in upgrade with no upgrade or migration effort * Multi-Column sort support * Grid Row Expansion support for - memo rows - detail views - nested editable form - nested editable grid (useful for representing 1-many relationships) - any custom embedded component * Collection of standard Window icons, picker icons and transfer buttons as part of every theme * Improved Showcase demo with ability to search for samples by keyword. Added several new samples * Various other enhancements like Date field masks, improved IE 8 and Safari strict mode support. See the release notes for details Feel free to provide feedback or suggestions. Thanks, Sanjiv -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Query on Google Web Toolkit (GWT)
Yozons Support on Gmail, GWT is different things for different people. GWT is not only about use of the widgets provided in the core library, or the use of GWT-RPC. These are just one of numerous features that GWT provides. The ability to write GWT application code in Java and IDE support is a huge productivity gain. GWT-RPC is no doubt super convenient and easy to make RPC calls and share classes on the client side and server side. However there are usecases that SmartGWT / SmartClient transport protocol currently supports that are not fully supported by GWT-RPC currently. For example Transaction Queueing. I believe GWT is adding some batching functionality as well and I'm looking forward to checking it out. More info here : http://www.jroller.com/sjivan/entry/introduction_to_smartgwt_enterprise_edition Smart GWT also eliminates the need for having redundant Data Transfer Object (DTO's) while at the same time having a rich domain model in a very elegant way. More on this here : http://www.jroller.com/sjivan/entry/solving_the_dto_dilemma If you are happy with using GWT-RPC with DTO's or with Gilead, by all means go for it. Infact there is a user extension for a GWTRPCDataSource provider that allows you to use GWT-RPC as the DataSource provided for all Smart GWT components. As for intermixing of GWT widgets, obviously the goal is to provide 100% interoperability with all other GWT libraries, include the widgets in GWT itself. Infact Smart GWT does support interoperability with GWT widgets but with some caveats like one should not place GWT widgets within a Smart GWT container that is in turn within a GWT widget container. There are certain contracts that the Smart GWT layout management expects which GWT widgets are unaware of and are not able to participate in. Infact there will be similar limitations with most third party libraries that provide their own layout management schemes. So to answer your question, Smart GWT is a library that allows you to write applications using the GWT technology. Have a look at the features it provides, feel free to ask any questions you have on the Smart GWT forum and if you feel your application may benefit from it, you're free to use it. And if not, just ignore it. Sanjiv On Sun, Dec 6, 2009 at 1:58 PM, Yozons Support on Gmail yoz...@gmail.comwrote: Who started that rumor? SmartClient folks? ;) What's not clear to me about SmartGWT, interesting as it seems, is why does it use GWT at all? It seems that they suggest you don't use GWT-RPC and don't mix with GWT widgets, so what exactly is GWT doing in a SmartGWT world? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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: Query on Google Web Toolkit (GWT)
Nilesh, You're just being paranoid. Your friend does not know what he's talking about :) Smart GWT is based on GWT and if GWT disappeared, so would Smart GWT. Neither of which is actually going to happen. Sanjiv On Fri, Dec 4, 2009 at 12:53 PM, Nilesh nileshpatward...@gmail.com wrote: Hi Everyone, I am working with one of the reputed software companies in India. Recently I heard from one of my friends that google would stop supporting GWT and start promoting Smart GWT. In our product technology stack we have GWT and some other applications. if google stops supporting GWT, what would the steps users would need to migrate to Smart GWT? can somebody answer my questions please? Thanks Nilesh -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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: [gwt-contrib] Add support for launching a default browser from Swing interface
Can the default launch URL use the IP instead of localhost? I use VMWare on my OSX machine and often access the dev mode URL from a Windows VM using IE for testing purposes. Currently I need to manually replace localhost with the machine IP in the URL. It's not a big deal but will add a little convenience if there are no downsides to using IP instead of localhost. Thanks, Sanjiv On Wed, Nov 4, 2009 at 12:33 AM, j...@google.com wrote: Reviewers: Ray Ryan, bruce, Description: This patch adds support for launching the user's default browser using several methods. This facility is then used for HelpInfo links in the logger detail messages (falling back to the old method of using the Swing HTML panel if none work), including the launch browser message. This won't launch automatically (there are still too many variables, such as wanting to launch a different browser or a particular profile), but it will make it much easier to launch if the default is what they want. It will also give a much better experience for clicking other HelpInfo links, such as the upgrade message. BrowserLauncher includes a main method that takes one or more URLs, so you can run it with an arg of http://www.google.com, for example, to make sure it works independent of the Swing logger. I have tested it on Linux with JDK 1.5 and 1.6 (which is significant since 1.6 adds a platform-independent way to launch the browser) -- please test on other platforms and make sure it works properly. Please review this at http://gwt-code-reviews.appspot.com/92802 Affected files: dev/core/src/com/google/gwt/core/ext/TreeLogger.java dev/core/src/com/google/gwt/dev/DevModeBase.java dev/core/src/com/google/gwt/dev/shell/log/SwingLoggerPanel.java dev/core/src/com/google/gwt/dev/util/BrowserLauncher.java --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~--- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] RC2: -style no longer a supported option for DevMode?
fyi this has been fixed in the InteljiJ EAP build 92.29. http://youtrack.jetbrains.net/issue/IDEADEV-41425 Sanjiv On Thu, Nov 26, 2009 at 4:15 AM, Ray Cromwell cromwell...@gmail.com wrote: IntelliJ IDEA likes to add -style as a command line parameter when launching DevMode, but it seems ArgHandlerScriptStyle is no longer used for hosted mode. Is this intentional? -Ray -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: Will 2.0 be backwards compatible with 1.7?
Chris, SmartGWT 1.3 supports GWT 2.0. If anyone runs into any issues, feel free to post the details on the SmartGWT forum. Thanks, Sanjiv On Wed, Nov 18, 2009 at 2:37 PM, Chris Ramsdale cramsd...@google.comwrote: With 2.0 we've added added features such as UiBinder, ClientBundle, and layout panel while continuing to work with existing 1.x applications. Given this, you shouldn't have any issues working through the existing documentation and examples using the 2.0 Release Candidate. I would suggest upgrading to the latest RC instead of using MS2. The RC can be downloaded here: http://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC I haven't tested SmartGWT 1.3 with 2.0, but given that we're maintaining backwards compatibility there shouldn't be any issues. Are there any RC users out there that have recompiled and run a SmartGWT intensive app? - Chris On Wed, Nov 18, 2009 at 2:00 PM, Jason Rosenberg jbrosenb...@gmail.comwrote: Hello, I'm looking at starting some new development with GWT, and I'm intrigued by the changes coming in 2.0. I'd like to use 2.0, if for no other reason than that it supports java 6 64-bit, so I don't have to worry about fiddling with my development environment, or adding special java installs on our target deployment platform (which uses 64-bit java 6) I've downloaded the 2.0 milestone 2 release. Since there isn't yet the full set of documentation for 2.0, and I'm new to GWT, and there are nice tutorials and books for 1.X, I'm wondering if I can expect to use the 2.0ms2 release, to get started with the tutorial and start prototyping new development using the 1.X tutorials, examples and documentation. Also, what about smartgwt? Will the lates smartgwt 1.3 release work under gwt 2.0? Thanks, Jason -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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.
[ANN] SmartGWT 1.3 Released
Hi all,SmartGWT 1.3 has just been released. This release contains several fixes and new features including Grid Summary support by groups and columns, masking support for form fields, and support for creation of reusable domain specific SimpleTypes for use in DataSources (e.g. ZipCodeUS). Release Announcement : http://www.jroller.com/sjivan/entry/smartgwt_1_3_released New Showcase samples : http://www.smartclient.com/smartgwt/showcase/#grid_summaries_new_category Feedback welcome. Thanks, Sanjiv --~--~-~--~~~---~--~~ 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: Problem In implementing Right Click for Mozilla in smartgwt
, Total TurnOver); ListGridField openingPriceField = new ListGridField(openingPrice, Opening Price); ListGridField dayLowField = new ListGridField(dayLow, Day Low); ListGridField dayHighField = new ListGridField(dayHigh, Day High); marketWatchGrid.setFields(exchangeNameField, securityNameField, securityCodeField, changeField, bidQtyField, bidPriceField, askPriceField, askQtyField, lastTradedPriceField, netChangeField, preClosingPriceField, totalTurnOverField, openingPriceField, dayLowField, dayHighField); marketWatchGrid.setCanResizeFields(true); marketWatchGrid.setData(MarketWatchData.getRecords()); marketWatchGrid.addRightMouseDownHandler(this); vLayout.addMember(marketWatchGrid); vLayout.draw(); } @Override public void onRightMouseDown(RightMouseDownEvent event) { final int x = event.getX(); final int y = event.getY(); MenuItem addSecurityItem = new MenuItem(Add Security); addSecurityItem.addClickHandler(new ClickHandler() { @Override public void onClick(MenuItemClickEvent event) { menu.hide(); dynamicForm.setTop(y); dynamicForm.setLeft(x); dynamicForm.show(); } }); MenuItem deleteSecurityItem = new MenuItem(Delete Security); MenuItem buyItem = new MenuItem(Buy); MenuItem sellItem = new MenuItem(Sell); MenuItem marketWatchItem = new MenuItem(Market Watch ); MenuItem saveMarketWatchItem = new MenuItem(Save Market Watch); menu.setItems(addSecurityItem, deleteSecurityItem, buyItem, sellItem, marketWatchItem, saveMarketWatchItem); menu.setVisibility(Visibility.HIDDEN); menu.setLeft(x); menu.setTop(y); //disableContextMenu(marketWatchGrid.getElement()); menu.showContextMenu(); // enableContextMenu(marketWatchGrid.getElement()); } public static native void disableContextMenu(Element e) /*-{ e.oncontextmenu = function() { return false; }; }-*/; public static native void enableContextMenu(Element e) /*-{ e.oncontextmenu = function() { return true; }; }-*/; } -- On Sep 23, 3:39 pm, Sanjiv Jivan sanjiv.ji...@gmail.com wrote: Please use the SmartGWT forums for SmartGWT specific questions : http://forums.smartclient.com/forumdisplay.php?f=14 Try event.cancel() to prevent the default behavior of the browser context menu showing upon right-click. Sanjiv On Wed, Sep 23, 2009 at 2:12 AM, Niks sharma.sweet...@gmail.com wrote: Hi, Can anywone please tell how to avoid default menu in mozilla . I have created one application and implemented right click mouse event in smartgwt but when clicking right mouse button mozilla is not showing the pop up which i created it is showing its default how to resolve the issue in smartgwt... --~--~-~--~~~---~--~~ 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: Problem In implementing Right Click for Mozilla in smartgwt
Please use the SmartGWT forums for SmartGWT specific questions : http://forums.smartclient.com/forumdisplay.php?f=14 Try event.cancel() to prevent the default behavior of the browser context menu showing upon right-click. Sanjiv On Wed, Sep 23, 2009 at 2:12 AM, Niks sharma.sweet...@gmail.com wrote: Hi, Can anywone please tell how to avoid default menu in mozilla . I have created one application and implemented right click mouse event in smartgwt but when clicking right mouse button mozilla is not showing the pop up which i created it is showing its default how to resolve the issue in smartgwt... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
[gwt-contrib] OOPHM performance
Hi, I've only recently started working with OOPHM and it looks great. I observed that the performance / responsiveness when running the SmartGWT showcase with OOPHM seems to be much better (and close to web mode) with OOPHM compared to the GWT 1.7 hosted mode. Is there any technical explanation for this? In particular can one expect performance improvements with JSNI code and OOMPH over its predecessor? It could very well be something in my mind in which case I'll try to benchmark more concrete evidence. Thanks, Sanjiv --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: OOPHM performance
Thanks for the information. Support for shared memory transport would be great. Is this feature on the roadmap, or is it still on the drawing board? Another general question : Will non-JSNI GWT code benefit with browser JavaScript engine speedups when running in OOPHM? I'm assuming that the JSNI code (ie the actual Javascript running within the method) will benefit from browser JS engine speedups. Please correct me if I'm wrong. IntelliJ 9 has added support for remote JavaScript debugging so that you can set breakpoints and step through Javascript code from within the IDE in a way identical to debugging Java. They do this via a FF plugin. Do you guys have a sense of the technical feasibility of them supporting breakpoints within JSNI code when running with OOPHM? IntelliJ alread has excellent GWT support. I realize I'm light on the details but it would be nice to know if its not possible or it might be possible based on your indepth knowledge of how OOPHM works. Maybe its just a pipe dream :) Thanks, Sanjiv On Aug 21, 11:09 am, Joel Webber j...@google.com wrote: Sanjiv, My experience with oophm has been that it simply has different performance than the old hosted-mode implementation. It can be faster in some cases, because (it seems) the marshalling code between Java and Javascript is less complex. On the other hand, it can sometimes be a lot *slower*, because all Java-Javascript transitions go over the network (which is usually localhost, but it still creates extra overhead). This seems to be worst in cases where you make a large number of fine-grained calls into the DOM (or other native constructs) from Java code. Cheers, joel. On Fri, Aug 21, 2009 at 9:34 AM, Sanjiv Jivan sanjiv.ji...@gmail.comwrote: Hi, I've only recently started working with OOPHM and it looks great. I observed that the performance / responsiveness when running the SmartGWT showcase with OOPHM seems to be much better (and close to web mode) with OOPHM compared to the GWT 1.7 hosted mode. Is there any technical explanation for this? In particular can one expect performance improvements with JSNI code and OOMPH over its predecessor? It could very well be something in my mind in which case I'll try to benchmark more concrete evidence. Thanks, Sanjiv --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: OOPHM performance
On Fri, Aug 21, 2009 at 1:46 PM, John Tamplin j...@google.com wrote: IntelliJ 9 has added support for remote JavaScript debugging so that you can set breakpoints and step through Javascript code from within the IDE in a way identical to debugging Java. They do this via a FF plugin. Do you guys have a sense of the technical feasibility of them supporting breakpoints within JSNI code when running with OOPHM? IntelliJ alread has excellent GWT support. I realize I'm light on the details but it would be nice to know if its not possible or it might be possible based on your indepth knowledge of how OOPHM works. Maybe its just a pipe dream :) There have been some discussions about possibilities, but no real plans as yet. My guess is it would be possible but a huge amount of work, especially doing it cross-browser and cross-platform. For the immediate future I was more thinking about the possibility of IntelliJ adding support for JSNI debugging with the current OOPHM implementation. IntelliJ's remote Javascript debugging works with FF only (via their plugin) and the ability to debug even only with FF and OOMPH will be a huge benefit since FF is available on all platforms. As you state, the JSNI code runs within the browser so one should be able to use their debugger to connect to the remote Javascript running in OOPHM. The issue is whether they will be able to obtain the information to map the line numbers and breakpoints in the JSNI application code to the actual JSNI code running in the browser. I was wondering this information was something that can currently be found using the OOPHM FF plugin, or would even this involve a huge amount of work? Thanks, Sanjiv --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
Re: SmartGWT 1.2 Tile Sort Filtering Example Question Fuzzy Search / (Maybe Bug)?
Jan,Please post SmartGWT specific questions on the SmartGWT forum : http://forums.smartclient.com/forumdisplay.php?f=14 Thanks, Sanjiv On Mon, Aug 17, 2009 at 7:00 PM, Jan weitz@googlemail.com wrote: Hi everybody, I am just new to GWT and experiencing a little bit with SmartGWT, implementing and trying to change the Tile Sort Filtering Example from the Showcase http://www.smartclient.com/smartgwt/showcase/#featured_tile_filtering I am trying to implement the above example with a fuzzy search but without the extra SearchItems, which causes the FuzzySearch to fail and draw back on an EQUALS search. Everything works fine with the example, but here comes my 'error' / 'bug' : Here is an excerpt from the code from the showcase example: code final DynamicForm filterForm = new DynamicForm(); filterForm.setIsGroup(true); filterForm.setGroupTitle(Search); filterForm.setNumCols(6); filterForm.setDataSource(AnimalXmlDS.getInstance()); filterForm.setAutoFocus(false); TextItem commonNameItem = new TextItem(commonName); SliderItem lifeSpanItem = new SliderItem(lifeSpan); lifeSpanItem.setTitle(Max Life Span); lifeSpanItem.setMinValue(1); lifeSpanItem.setMaxValue(60); lifeSpanItem.setDefaultValue(60); lifeSpanItem.setHeight(50); lifeSpanItem.setOperator(OperatorId.LESS_THAN); SelectItem statusItem = new SelectItem(status); statusItem.setOperator(OperatorId.EQUALS); statusItem.setAllowEmptyValue(true); filterForm.setFields(commonNameItem, lifeSpanItem, statusItem); filterForm.addItemChangedHandler(new ItemChangedHandler() { public void onItemChanged(ItemChangedEvent event) { tileGrid.fetchData(filterForm.getValuesAsCriteria()); } }); /code Three search items are created and fit together in the filterForm. Using the form and entering just a part of a Common Name, will break down the results with each letter I type. Now comes the bad part: I do not want the lifeSpanItem and statusItem any more. So I change code filterForm.setFields(commonNameItem, lifeSpanItem, statusItem); /code to code filterForm.setFields(commonNameItem); /code Now, trying to enter just a part of a Common Name will not break down my results with each letter I type, but instead the behaviour is like commonNameItem.setOperator(OperatorId.EQUALS) So what I am saying is that the search works fine for searchItems greater than just one TextField. My workaround therefore was to create a HiddenItem as follows: code HiddenItem tagsItem = new HiddenItem(tags); tagsItem.setOperator(OperatorId.EQUALS); filterForm.setFields(commonNameItem, tagsItem); /code Now I think that this can't be right. Now am I missing something? Do I have to use .setOperator on commonNameItem, if only commonNameItem is present? If yes: Which OperatorId should I choose? Thank you very much for your help, Greets, Jan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
[gwt-contrib] JSNI warnings in OOPHM
I'm running OOPHM using a trunk build and the FF 3.5 plugin. I'm getting a bunch of JSNI warnings like [WARN] JSNI method '__defineStatic' returned a value of type boolean but was declared void; it should not have returned a value at all [WARN] JSNI method 'fireOnModuleLoadStart' returned a value of type boolean but was declared void; it should not have returned a value at all JSNI method '@com.google.gwt.user.client.impl.HistoryImpl::setToken (Ljava/lang/String;)' returned a value of type boolean but was declared void; it should not have returned a value at all along with a whole bunch of them from my code [WARN] JSNI method '@com.smartgwt.client.util.JSOHelper::setAttribute (Lcom/google/gwt/core/client/JavaScriptObject;Ljava/lang/String;Ljava/ lang/String;)' returned a value of type boolean but was declared void; it should not have returned a value at all I'm pretty sure that the JSOHelper.setAttribute(..) method is not returning a boolean value. I have not been able to run OOPHM with IE so I'm not sure if this is specific to the FF plugin. Any idea what might be causing these warnings to be logged? Thanks, Sanjiv --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: JSNI warnings in OOPHM
I'm pretty certain I tried oophm-xpcom-ff35.xpi and oophm-xpcom- ff3+.xpi from trunk with FF 3.5.2 but neither was able to talk to the server and complained about a missing plugin. So I tried installing oophm-xpcom-ff3.xpi and it was able to talk to the server but resulted in all those warnings. It appears that these warnings might go away if ff35.xpi was the plugin used with FF 3.5.2. Have you been able to successfully use ff35.xml with FF 3.5.2? I've switched to my OSX box now and the Safari plugin seems to be working fine. A test that is failing with FF 3.5.2 with oophm-xpcom- ff3.xpi is working with with Safari hosted mode (issue 3996). Only problem on OSX is that I can't select the GWT shell in order to examine the logs as it is constantly busy with the spinning beachball. Thanks, Sanjiv On Aug 18, 6:41 pm, John Tamplin j...@google.com wrote: On Tue, Aug 18, 2009 at 5:05 PM, Sanjiv Jivan sanjiv.ji...@gmail.comwrote: I'm running OOPHM using a trunk build and the FF 3.5 plugin. I'm getting a bunch of JSNI warnings like [WARN] JSNI method '__defineStatic' returned a value of type boolean but was declared void; it should not have returned a value at all [WARN] JSNI method 'fireOnModuleLoadStart' returned a value of type boolean but was declared void; it should not have returned a value at all JSNI method '@com.google.gwt.user.client.impl.historyimpl::setToken (Ljava/lang/String;)' returned a value of type boolean but was declared void; it should not have returned a value at all along with a whole bunch of them from my code [WARN] JSNI method '@com.smartgwt.client.util.jsohelper::setAttribute (Lcom/google/gwt/core/client/JavaScriptObject;Ljava/lang/String;Ljava/ lang/String;)' returned a value of type boolean but was declared void; it should not have returned a value at all I'm pretty sure that the JSOHelper.setAttribute(..) method is not returning a boolean value. I have not been able to run OOPHM with IE so I'm not sure if this is specific to the FF plugin. Any idea what might be causing these warnings to be logged? Did you build the FF3.5 plugin from source with make BROWSER=ff35 and install prebuild/oophm-xpcom-ff35.xpi? What is currently checked in as prebuilt (and available from the UsingOOPHM wiki page) does not support FF3.5. -- John A. Tamplin Software Engineer (GWT), Google --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: JSNI warnings in OOPHM
On Tue, Aug 18, 2009 at 8:40 PM, John Tamplin j...@google.com wrote: On Tue, Aug 18, 2009 at 7:58 PM, Sanjiv Jivan sanjiv.ji...@gmail.comwrote: I'm pretty certain I tried oophm-xpcom-ff35.xpi and oophm-xpcom- ff3+.xpi from trunk with FF 3.5.2 but neither was able to talk to the server and complained about a missing plugin. So I tried installing oophm-xpcom-ff3.xpi and it was able to talk to the server but resulted in all those warnings. It appears that these warnings might go away if ff35.xpi was the plugin used with FF 3.5.2. Have you been able to successfully use ff35.xml with FF 3.5.2? I'll have to check the exact version of FF3.5 I tested with, but it is the default installed version of FF3.5 on Fedora Core 11. What is the OS version where you are having a problem? I tried in with FF 3.5.2 on OSX and Vista64. FF 3.5.2 is the latest update at as of now. If you need me to rerun any tests do let me know. Yes, I meant issue 3966. We can continue this discussion on the issue tracker. Only problem on OSX is that I can't select the GWT shell in order to examine the logs as it is constantly busy with the spinning beachball. See the OophmForMacBasedGwtContributorshttp://code.google.com/p/google-web-toolkit/wiki/OophmForMacBasedGwtContributorspage (linked from UsingOOPHM) with details on this issue. I assume you are using Eclipse, in which case Eclipse helpfully adds the -XstartOnFirstThread flag for you when it sees the SWT libraries on your classpath, which is required for SWT apps but breaks Swing apps. Thanks, I read about it soon after posting. The groups search did not come up with particularly useful information. I use IntelliJ and have logged an issue with them. Thanks, Sanjiv --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
Re: Who is using smartgwt?
for SmartGWT similar to GWT's theme that is simplified and involved way less media. It certainly is possible. I'll be happy to try to answer any other questions / concerns here, or if you have specific questions or suggestions for improvement you can post on the SmartGWT forums as well. Thanks, Sanjiv On Fri, Aug 14, 2009 at 8:45 AM, Nathan Wells nwwe...@gmail.com wrote: I would like to add a dissenting voice... As always, it's a matter of trade-offs Benefits: 1) Pretty, usable, full-featured widgets, with very small up-front dev time. 2) Very responsive dev team (you're awesome Sanjiv) Problems: 1) Incompatible or redundant APIs. Specifically, I'm thinking of a. Redundant event system b. Datasource c. TreeGrid has approximately 160 methods. 2) Lack of GWT Compiler optimization 3) no use of ImageBundle 4) b/c of 2 3, very request intensive. 5) No intuitive way to customize styling Right now, our team is using TreeGrid, because no comparable widget exists, but I've been thinking we should take a look at customizing the gwt-incubator tree grid. On Aug 13, 11:54 pm, Daniel Jue teamp...@gmail.com wrote: Now, how about an MVP/Eventbus version of SmartGWT showcase? =) On Fri, Aug 14, 2009 at 1:31 AM, shay matas...@gmail.com wrote: I Highly recommend SmartGWT, been using it for months now. Sanjiv and the smart client team have done a great job. Kudos! The architecture is clever and robust , way better then Ext. Shay On Aug 13, 9:03 pm, Sanjiv Jivan sanjiv.ji...@gmail.com wrote: Hi Daniel,Please try upgrading to SmartGWT 1.2. Hosted mode should perform better. You're right that most of the resources from a compile output are not used and so if you're benchmarking, best to actually see what's transferred over the wire rather than the size of the output directory on the server. The default com.smartgwt.SmartGwt module bundles all the readable source versions that have a lot of documentation, the obfuscated / minified ones, various tools like the Developer Console and a lot of other resources that are pretty much never used in deployment. I'll look into creating a module that outputs the minimal resources which will save some MB of disk space on the server. As for runtime performance, you can have a look at the SmartGWT showcase which is comparable is size to a real world application having ~260 samples and includes most widget types. If you're not using Calendar, or TileGrid etc you can exclude these resources. Sanjiv On Thu, Aug 13, 2009 at 8:18 PM, Daniel Jue teamp...@gmail.com wrote: It is slow in hosted, although I'm on SmartGWT 1.1/GWT 1.7 at the moment. Deployed it is better, but its' still chunky. However it's full of features that I don't have the time or desire to recreate, so it works for me. It's definitely not a lightweight, but it's not bad. There's just a lot going on behind the scenes. The full sc directory that gets put in the war is like 18.7 MB (19,630,389 bytes) worth of Js files. I'm guessing 98% of those won't be touched/loaded. I like SmartGWT so far and have recommended it to some people. On Thu, Aug 13, 2009 at 8:03 PM, Chris chdi...@gmail.com wrote: It is slow in hosted? But how is it deployed in a regular browser? On Aug 13, 4:00 pm, Daniel Jue teamp...@gmail.com wrote: I am using it. Once I got the extra layers of code implemented for the RPC Datasource (mostly from off thier forum), It's been pretty painless. I came from GXT 2 because I was having some rendering problems and wanted to try something else. SmartGWT _is_ painfully slow in hosted mode, but the widgets are very nice and full featured. --~--~-~--~~~---~--~~ 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: Who is using smartgwt?
Hi Daniel,Please try upgrading to SmartGWT 1.2. Hosted mode should perform better. You're right that most of the resources from a compile output are not used and so if you're benchmarking, best to actually see what's transferred over the wire rather than the size of the output directory on the server. The default com.smartgwt.SmartGwt module bundles all the readable source versions that have a lot of documentation, the obfuscated / minified ones, various tools like the Developer Console and a lot of other resources that are pretty much never used in deployment. I'll look into creating a module that outputs the minimal resources which will save some MB of disk space on the server. As for runtime performance, you can have a look at the SmartGWT showcase which is comparable is size to a real world application having ~260 samples and includes most widget types. If you're not using Calendar, or TileGrid etc you can exclude these resources. Sanjiv On Thu, Aug 13, 2009 at 8:18 PM, Daniel Jue teamp...@gmail.com wrote: It is slow in hosted, although I'm on SmartGWT 1.1/GWT 1.7 at the moment. Deployed it is better, but its' still chunky. However it's full of features that I don't have the time or desire to recreate, so it works for me. It's definitely not a lightweight, but it's not bad. There's just a lot going on behind the scenes. The full sc directory that gets put in the war is like 18.7 MB (19,630,389 bytes) worth of Js files. I'm guessing 98% of those won't be touched/loaded. I like SmartGWT so far and have recommended it to some people. On Thu, Aug 13, 2009 at 8:03 PM, Chris chdi...@gmail.com wrote: It is slow in hosted? But how is it deployed in a regular browser? On Aug 13, 4:00 pm, Daniel Jue teamp...@gmail.com wrote: I am using it. Once I got the extra layers of code implemented for the RPC Datasource (mostly from off thier forum), It's been pretty painless. I came from GXT 2 because I was having some rendering problems and wanted to try something else. SmartGWT _is_ painfully slow in hosted mode, but the widgets are very nice and full featured. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[ANN] SmartGWT 1.2 Released
Hi, SmartGWT 1.2 has just been released. This version supports GWT 1.7 and has improved support for interoperability with core GWT widgets. Some other features include full Safari 4.x support, ListGrid performance improvements, support for all enabled grid cell editors, availability of the ResultSet API, and improved WebService support. Several new samples have been added along with a real world mini-application that demonstrates a range of SmartGWT UI components, data binding operations, and layout managers. Release announcement : http://www.jroller.com/sjivan/entry/smartgwt_1_2_released Mini Application Demo : http://www.smartclient.com/smartgwt/showcase/#complete_app_new_category Other newly added samples can be found under the New Samples category in the side nav. Feedback welcome. Feel free to let me know what you'd like to see in the next release. Thanks, Sanjiv --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
overview of SmartGWT EE
Hi,The SmartClient folks have released SmartGWT EE, the enterprise version which is built over SmartGWT LGPL. I recently test drove it and have written a detailed overview of it covering the various features it supports : http://www.jroller.com/sjivan/entry/introduction_to_smartgwt_enterprise_edition Even those not using SmartGWT will find some of the features it supports very interesting, like the ability to load multiple databound components and have their changes saved in a single batch RPC (transaction queue). The showcase demo can be viewed here : http://www.smartclient.com/smartgwtee/showcase/ Thanks, Sanjiv --~--~-~--~~~---~--~~ 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: Image not appearing for ImgButton in SmartGWT
Hi Abhiram,Please post your question on the SmartGWT forum : http://forums.smartclient.com/forumdisplay.php?f=14 along with details / relevant code and we'll be happy to assist. Sanjiv On Sat, Jun 13, 2009 at 10:35 AM, abhiram abhir...@gmail.com wrote: Hi all, Just wanted to know if there is any image type restrictions for the images that we use as Icons for Buttons in ImgButton in SmartGWT? I am trying a sample project but am not seeing the image on the button. regards, Abhiram --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
[gwt-contrib] slow startup of hosted mode
Hi, Some of the users of SmartGWT have reported slow startup in hosted mode. A user narrowed down the problem to the following call in StandardLinkerContext. outFile.lastModified() = artifact.getLastModified() When changed to outFile.lastModified() artifact.getLastModified(), the startup is normal. http://code.google.com/p/google-web-toolkit/issues/detail?id=3700 Can you guys comment on whether this is a valid change? One other thing that I noticed was that when I moved the resources (skin images) from the public path of my main module (SmartGwt), to a secondary module (SmartGwtXXXSkin), and the user is required to inherit both these modules, the hosted mode startup slowed down a fair bit compared to when he inherited only one module that also had the skins resources. Does this ring a bell? If not, I'll try to dig a little deeper into this and provide more information. Thanks, Sanjiv --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[ANN] SmartGWT 1.1 Released
Hi, SmartGWT 1.1 has been released. Here's the release announcement : http://www.jroller.com/sjivan/entry/smartgwt_out_of_beta_v1 Project Page : http://code.google.com/p/smartgwt/ Showcase Demo : http://www.smartclient.com/smartgwt/showcase/ The new samples can be found under the New Samples side nav item. This release has several bug fixes and features with over 100 new API's. Here are some of the important notes for this release : * Support for GWT-RPC DataSource with DataBoundComponents. * Formula and Summary fields: built-in wizards for end users to define formula fields that can compute values using other fields, or summary fields that can combine other fields with intervening / surrounding text. Available in all DataBoundComponents, easy to persist as preferences. * i18n support with resource bundles for 14 locales. * Significant improvements to javadocs with tons of documentation on various concepts. (~30MB on disk) * Automatic databound dragging behaviors : grids and trees will now inspect data relations declared in DataSources and automatically do the right thing for a databound drag. * API's to save and restore the display and selection state of various components to/from the server in a serializable format. * Performance improvements to various components and skins * Several new samples. The Adaptive Filter and Adaptive Sort samples are really neat, be sure to check them out. Feel free to provide any feedback or suggestions. Thanks, Sanjiv --~--~-~--~~~---~--~~ 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: Smartgwt ListGrid Tick boxes
Hi Ed, You probably have a stale jar as the API exists. Try getting a new download, or use the one from your linux box. If you're still having issues, please post on the SmartGWT forum : http://forums.smartclient.com/forumdisplay.php?f=14 Sanjiv On Wed, Apr 15, 2009 at 12:16 PM, eoc...@googlemail.com eoc...@googlemail.com wrote: Hi, I've written an application in gwt which makes use of smartGWT in particular ListGrids with check boxes. Under linux I have no problems. However using a Mac or Windows smartgwt does not appear to have the SelectionAppearance.CHECKBOX option and gives me an error in Eclipse. (someResultsGrid.setSelectionAppearance (SelectionAppearance.CHECKBOX);) Is this a bug? I'm using the smartgwt-1.0b2-SNAPSHOT.jar. Thanks, Ed --~--~-~--~~~---~--~~ 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: SmartGWT 1.0b2 Released
Hi Benoit,You can essentially override the transformRequest(DSRequest requeest) of DataSource and read the request parameters like startRow, endRow, sort / filter params and issue your own GWT-RPC call and set the returned data on the DataSource. Several users have asked for such a sample and I'll definitely add it. Its just that other higher priority items and releasing 1.0b2 had taken precedence. I'll post updates when such a sample hits SVN on the SmartGWT forum. Thanks, Sanjiv On Fri, Feb 27, 2009 at 12:34 PM, Benoit.Sauve benoit.sau...@gmail.comwrote: Hi Sanjiv, good work for this release! i have a question. I want to use RPC Calls with data grid and you wrote you made something better in the release notes : improved support for users to wire DataSource's with GWT-RPC calls. Can you add as example in your showcase of a datasource using RPC Calls ? Best regards, Benoit P.S. Sorry if you read two posts of me about the same thing, i'm not sure if it works the first time. On 27 fév, 07:27, Sanjiv Jivan sanjiv.ji...@gmail.com wrote: Hi,SmartGWT 1.0b2 has just been released. This release contains the much awaited Enterprise Gray skin. SmartGWT 1.0b2 is a stability release and contains various enhancements and bug fixes. GWT 1.6 M2 is also supported. Along with performance improvements, several new features and developer tools have been added. Some of the new features are : full support for WebServices (WSDL), portal support, checkbox selection for grids, and support for overlapping events in Calendars. A few new samples including Portals have been added to the showcase. These can be found under the New Samples side nav category. You can find the release announcement here : http://www.jroller.com/sjivan/entry/smartgwt_1_0b2_released_with Project Page :http://code.google.com/p/smartgwt/ Showcase Demo :http://www.smartclient.com/smartgwt/showcase/ Thanks, Sanjiv --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[ANN] SmartGWT 1.0b2 Released
Hi,SmartGWT 1.0b2 has just been released. This release contains the much awaited Enterprise Gray skin. SmartGWT 1.0b2 is a stability release and contains various enhancements and bug fixes. GWT 1.6 M2 is also supported. Along with performance improvements, several new features and developer tools have been added. Some of the new features are : full support for WebServices (WSDL), portal support, checkbox selection for grids, and support for overlapping events in Calendars. A few new samples including Portals have been added to the showcase. These can be found under the New Samples side nav category. You can find the release announcement here : http://www.jroller.com/sjivan/entry/smartgwt_1_0b2_released_with Project Page : http://code.google.com/p/smartgwt/ Showcase Demo : http://www.smartclient.com/smartgwt/showcase/ Thanks, Sanjiv --~--~-~--~~~---~--~~ 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: SmartGWT 1.0 Released
company, I only talk from experience. I used the JavaSciprt ExtJS framework for a big project for a full year and I understand exactly when people say the documentation is poor and performance slow. Having embranced GWT to progress and to make my life easier, I would never want to to have the same problems again with Js frameworks, even less with GWT frameworks with embed the same old Js issues, like gwt-ext or smartGWT. GXT is a completely different matter and I think it is a top framework. I have been using it for a few months now and never gave me any major issues. It is a pure GWT implementation, no javaScriptObject or JSNI. Period. Huge credit to Sanjiv for his work on smartGWT, but personally I think this is the wrong approach to any GWT framework. JSNI is very useful if used to integrate the odd js function here and there, not as a foundation to a framework itself. Regards, Francesco On Nov 23, 10:33 am, Juan Backson [EMAIL PROTECTED] wrote: Hi, I am wondering if the performance is due to too many items inside the demo or it is just slower than gwt-ext? In gwt-ext, the demo is much smaller. On Sun, Nov 23, 2008 at 10:27 AM, rakesh wagh [EMAIL PROTECTED] wrote: great job Sanjeev. Keep up the good work. Always love smart-client. Smart client is much better compared to ext-js as far as licensing is concerned. However the showcase looks little slow compared to the original js based smart-client as well as gwt-ext. Thanks! On Nov 22, 6:48 pm, Tim [EMAIL PROTECTED] wrote: Excellent Job! some things are rough around the edges but overall this release is impressive! Gotta fix those image downloads though. And adding a couple of the standard schemes wouldn't hurt. But you already mentioned these things in your release announcement post anyway. Can't wait. Cool stuff! On Nov 22, 8:32 am, ART [EMAIL PROTECTED] wrote: This looks cool. Ann. On Nov 18, 9:50 am, Sanjiv Jivan [EMAIL PROTECTED] wrote: Hi all,I have just released SmartGWT 1.0. Here is the release announcement : http://www.jroller.com/sjivan/entry/smartgwt_1_0_released Google Code Project Page :http://code.google.com/p/smartgwt/ Showcase Demo :http://www.smartclient.com/smartgwt/showcase/ Javadocs :http://www.smartclient.com/smartgwt/javadoc/ SmartGWT uses the new GWT 1.6 event API's which is really neat and works great. Seehttp:// code.google.com/p/google-web-toolkit-incubator/wiki/ProposedEv... Thanks, Sanjiv --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
[ANN] SmartGWT 1.0 Released
Hi all,I have just released SmartGWT 1.0. Here is the release announcement : http://www.jroller.com/sjivan/entry/smartgwt_1_0_released Google Code Project Page : http://code.google.com/p/smartgwt/ Showcase Demo : http://www.smartclient.com/smartgwt/showcase/ Javadocs : http://www.smartclient.com/smartgwt/javadoc/ SmartGWT uses the new GWT 1.6 event API's which is really neat and works great. See http://code.google.com/p/google-web-toolkit-incubator/wiki/ProposedEventSystem Thanks, Sanjiv --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---