facebook

Scaffolding for GWT 2.3

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #318507 Reply

    I’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 ?

    #318543 Reply

    jkennedy
    Member

    Which 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

    #318578 Reply

    Yes i’m using ME4S 9.1.0 and i have the GWT 2.3 SDK on the project

    #318617 Reply

    i’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

    #318641 Reply

    jkennedy
    Member

    Hmm,
    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

    #318643 Reply

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

    #318673 Reply

    jkennedy
    Member

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

    Also, 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

    #318709 Reply

    ok thanks i have to use

    import com.google.web.bindery.requestfactory.shared.EntityProxy;

    and not

    import com.google.gwt.requestfactory.shared.EntityProxy;

    #318713 Reply

    jkennedy
    Member

    You 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

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Scaffolding for GWT 2.3

You must be logged in to post in the forum log in