- This topic has 8 replies, 2 voices, and was last updated 13 years, 3 months ago by jkennedy.
-
AuthorPosts
-
Stasbranger SrlMemberI’m using Scaffolding system for my web applications in MyEclipse4Spring but I’ve seen that there are many depracated methods.
Actual Scaffolding runs on a old version of GWT?
When Scaffolding will be ready for new version of GWT 2.3 ?
jkennedyMemberWhich version of MyEclipse for Spring are you running?
Version 9.1 added support for generating to GWT 2.3 and should be emitting to the newer RequestFactory packaging if it can detect that you have a GWT 2.3 project (looks at the Classpath container from GWT on the project and the default SDK for your workspace).
let me know if you are using ME4S 9.1 and you have the GWT 2.3 SDK on the project.
Thanks,
Jack
Stasbranger SrlMemberYes i’m using ME4S 9.1.0 and i have the GWT 2.3 SDK on the project
Stasbranger SrlMemberi’m using ME4S 9.1.0 and i have the GWT 2.3 SDK on the project but when i run the scaffolding system, it makes a project based on a old version of GWT. Why? There is now yet a way to build a scaffolding with GWT 2.3 ???
if not, when there is ready a scaffold for gwt 2.3? i have to decide now how build my project.
Thanks a lot
jkennedyMemberHmm,
Can you give me a specific example of the code that is not 2.3 centric then, just so I am certain we are addressing the same problem?Thanks,
Jack
Stasbranger SrlMemberfor example this is ProxyListView in the scaffold pakage
package it.stasbranger.client.scaffold.place; import com.google.gwt.requestfactory.shared.EntityProxy; import com.google.gwt.user.client.ui.IsWidget; import com.google.gwt.view.client.HasData; /** * A view of a list of {@link EntityProxy}s, which declares which properties it * is able to display. * <p> * It is expected that such views will typically (eventually) be defined largely * in ui.xml files which declare the properties of interest, which is why the * view is a source of a property set rather than a receiver of one. * * @param <P> the type of the records to display */ public interface ProxyListView<P extends EntityProxy> extends IsWidget { /** * Implemented by the owner of a RecordTableView. * * @param <R> the type of the records to display */ interface Delegate<R extends EntityProxy> { void createClicked(); void searchClicked(); } HasData<P> asHasData(); /** * @return the set of properties this view displays */ String[] getPaths(); Object[] getSearchCriteria(); /** * Sets the delegate. */ void setDelegate(Delegate<P> delegate); }
it has a deprecate class imported
import com.google.gwt.requestfactory.shared.EntityProxy;i’m waiting your answer about this.
jkennedyMemberSorry to request additional details but I am not able to reproduce this issue. In my generated code in 9.1 using the GWT 2.3 SDK I get the correct package.
import com.google.web.bindery.requestfactory.shared.EntityProxy;
Can you go to Help / About MyEclipse for Spring and click the Configuration panel and copy / paste the contents here so that I can review the versions of the plugins that are installed to verify that the updated GWT plugins have made it into your environment.
If you are curious, the plugin ID’s that we are interested in start with:
com.skyway.integration.google.webtoolkitAlso, under Window / Prefrences / Google / Webtoolkit, can you tell me whether you have more than one SDK installed in your environment or is it only GWT 2.3?
Thanks for the additional detail.
Jack
Stasbranger SrlMemberok thanks i have to use
import com.google.web.bindery.requestfactory.shared.EntityProxy;
and not
import com.google.gwt.requestfactory.shared.EntityProxy;
jkennedyMemberYou should not need to make any changes, this should be happening automatically when we generate the code.
Let me know if you can share the details above as I would like to make sure that this package is being emitted for you correctly so that you don’t have to manually modify the generated code.
Thanks,
Jack -
AuthorPosts