1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    40
    Vote Rating
    2
    Edmund is on a distinguished road

      0  

    Default Ext GWT 3.0 Beta 4 Now Available

    Ext GWT 3.0 Beta 4 Now Available


    Ext GWT 3.0 Beta 4 is now available.


    This beta includes the following enhancements:
    - Appearance pattern fully applied to Grid & TreeGrid
    - Optimized refactor of Grid DOM structure (from HTML Table per row to single Table)
    - 20+ bug fixes
    Please refer to the release note for the detailed changes.


    Also, our next milestone release will be a RC release. Please stay tuned.
    Edmund Leung
    Sencha Product Management

  2. #2
    Sencha User PhiLho's Avatar
    Join Date
    Nov 2011
    Location
    Near Paris, France
    Posts
    139
    Vote Rating
    1
    PhiLho is on a distinguished road

      0  

    Default


    Thanks for announcing it here and for your hard work!
    Will try and test it right now.

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    4
    Vote Rating
    0
    airkube is on a distinguished road

      0  

    Default


    Hi,

    In the release notes, i see "[EXTGWT-985] - Add and port Desktop example", but i don't find the sources in this version...

    Where is it ?

    Thanks !

  4. #4
    Sencha User LoriSun's Avatar
    Join Date
    Jan 2009
    Location
    China, Dalian
    Posts
    29
    Vote Rating
    1
    LoriSun is on a distinguished road

      0  

    Default


    Hi Edmund,

    Thank you for the efforts and announcement.

    I'm tring to upgade from beta3 to beta4, and got strange build exception with maven.
    In the class all required constructors or interfaces do exist. but it alway throw error like below, if I revert back to beta3, then everything goes well:

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project cues: Compilation failure: Compilation failure:
    [ERROR] \_EWS_GWT\cues\src\main\java\com\cata\gpf\cues\client\ui\views\AuditTrailConsolidatedDataGrid.java:[154,41] cannot find symbol
    [ERROR] symbol : class GroupHeaderTemplate
    [ERROR] location: class com.sencha.gxt.widget.core.client.grid.Grid<com.cata.gpf.cues.client.proxy.UserConstraintProxy>
    [ERROR] \_EWS_GWT\cues\src\main\java\com\cata\gpf\cues\client\ui\views\UserProfileSearchViewImpl.java:[53,13] cannot find symbol
    [ERROR] symbol : constructor ComboBox(com.sencha.gxt.data.shared.ListStore<com.cata.gpf.cues.client.common.dto.UserDto>,<anonymous com.sencha.gxt.data.shared.LabelProvider<com.cata.gpf.cues.client.common.dto.UserDto>>,<anonymous com.sencha.gxt.data.shared.LabelProvider<com.cata.gpf.cues.client.common.dto.UserDto>>)
    [ERROR] location: class com.sencha.gxt.widget.core.client.form.ComboBox<com.cata.gpf.cues.client.common.dto.UserDto>
    Last edited by LoriSun; 6 Mar 2012 at 10:30 PM. Reason: adjust the format again.
    孩儿他爹

  5. #5
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,640
    Vote Rating
    80
    Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice

      0  

    Default


    Compilation failure:
    [ERROR] \_EWS_GWT\cues\src\main\java\com\cata\gpf\cues\client\ui\views\AuditTrailConsolidatedDataGrid.java:[154,41] cannot find symbol
    [ERROR] symbol : class GroupHeaderTemplate
    Your class is trying to use GroupHeaderTemplate, possibly in its old location. Your IDE should have pointed this out, and possibly should have fixed the import for you to the new location at com.sencha.gxt.theme.base.client.grid.GroupingViewBaseAppearance.GroupHeaderTemplate
    . This was moved as part of the effort to use the appearance pattern on Grid.


    [ERROR] \_EWS_GWT\cues\src\main\java\com\cata\gpf\cues\client\ui\views\UserProfileSearchViewImpl.java:[53,13] cannot find symbol
    [ERROR] symbol : constructor ComboBox(com.sencha.gxt.data.shared.ListStore<com.cata.gpf.cues.client.common.dto.UserDto>,<anonymous com.sencha.gxt.data.shared.LabelProvider<com.cata.gpf.cues.client.common.dto.UserDto>>,<anonymous com.sencha.gxt.data.shared.LabelProvider<com.cata.gpf.cues.client.common.dto.UserDto>>)
    ComboBox used to have a constructor that took two LabelProviders, and used one of them to generate the text in the text field, and the other for the listview. However, that second LabelProvider was allowing the text returned from it to be rendered as HTML which has the risk of not being safe, so a SafeHtmlRenderer is accepted now instead for the second param (which is optional). Your IDE also should have pointed this out, and possibly suggested one of the existing available constructors. An example of using this modified constructor can be seen at http://sencha.com/examples-dev/#ExamplePlace:combobox and is abbreviated here:

    Code:
        //...
        ComboBox<Country> combo2 = new ComboBox<Country>(countries, countryProps.name(), new AbstractSafeHtmlRenderer<Country>() {
          final ComboBoxTemplates comboBoxTemplates = GWT.create(ComboBoxTemplates.class);
          public SafeHtml render(Country item) {
            SafeUri imageUri = UriUtils.fromString(moduleBaseUrl + "examples/images/flags/" + item.getAbbr() + ".png");
            return comboBoxTemplates.country(imageUri, item.getName());
             
          }
        });
        //...
    In both cases, I suspect that since your IDE didn't provide the correct warnings, it is still using the beta3 jar. When you check that the class has the right constructor, also confirm that the class you are looking at is in the beta4 jar.

  6. #6
    Sencha User LoriSun's Avatar
    Join Date
    Jan 2009
    Location
    China, Dalian
    Posts
    29
    Vote Rating
    1
    LoriSun is on a distinguished road

      0  

    Thumbs up


    Hi Alworth,

    Thank you so much for your quick reponse.
    The reason is my mvn plugin of eclipse got some issue, already fix now. After upgrading we got little css issue, it should be easy to fix. Thanks again


    The code changes during the migration, just I encountered, not all of them.( beta3 to beta4 ):
    -----------------------
    grid.setStripeRows( true );
    grid.setColumnLines( true );
    Change To:
    grid.getView().setStripeRows( true );
    grid.getView().setColumnLines( true );
    ------------------------
    view.setHeaderTemplate(...)
    Change to:
    final GroupingViewBaseAppearance appearance = new GroupingViewBaseAppearance();
    appearance.setHeaderTemplate(...);
    final GroupingView<AuditLogProxy> view = new GroupingView<AuditLogProxy>( appearance );
    ------------------------
    public class ComboboxCell2DisableNativeQuery<T> extends ComboBoxCell<T>{.........

    public ComboboxCell2DisableNativeQuery( ListStore<T> store, LabelProvider<T> labelProvider,
    LabelProvider<T> viewLabelProvider ) {
    super( store, labelProvider, viewLabelProvider );
    }
    Change To:
    public ComboboxCell2DisableNativeQuery( ListStore<T> store, LabelProvider<T> labelProvider,
    SafeHtmlRenderer<T> viewLabelProvider ) {
    super( store, labelProvider, viewLabelProvider );
    }
    孩儿他爹

  7. #7
    Sencha User
    Join Date
    Nov 2011
    Posts
    7
    Vote Rating
    0
    tedyoung is on a distinguished road

      0  

    Default Appearance Pattern?

    Appearance Pattern?


    Where can I find details on the appearance pattern that is now "fully applied" to the Grid and TreeGrid"? What changed between Beta 3 and Beta 4 in this regard?

    And no, the release notes don't provide any details on this.

    ;ted

  8. #8
    Sencha User PhiLho's Avatar
    Join Date
    Nov 2011
    Location
    Near Paris, France
    Posts
    139
    Vote Rating
    1
    PhiLho is on a distinguished road

      0  

    Default


    @tedyoung, good question.
    I am currently reading up information on this pattern, so I have some links to share:
    http://www.sencha.com/blog/ext-gwt-3-appearance-design/ with Google links inside
    http://code.google.com/intl/fr/webto...llWidgets.html
    HTH.

  9. #9
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,640
    Vote Rating
    80
    Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice

      0  

    Default


    @airkube: The desktop example is mostly ready but hasn't been fully vetted, so we don't have it in the download or available online yet. It is available from SVN though, and will be part of future releases.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar