-
1 Mar 2012 5:31 PM #1
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 Mar 2012 12:54 AM #2
Thanks for announcing it here and for your hard work!
Will try and test it right now.
-
5 Mar 2012 6:27 AM #3
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 !
-
6 Mar 2012 10:23 PM #4
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.
孩儿他爹
-
7 Mar 2012 6:55 AM #5
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.GroupHeaderTemplateCompilation 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
. This was moved as part of the effort to use the appearance pattern on Grid.
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:[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>>)
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.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()); } }); //...
-
8 Mar 2012 1:14 AM #6
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 );
}孩儿他爹
-
8 Mar 2012 3:04 PM #7
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
-
9 Mar 2012 1:38 AM #8
@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.
-
12 Mar 2012 11:33 AM #9
@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.


Reply With Quote