0

Getting error as:

Loading inherited module 'com.sencha.gxt.ui.GXT'
Loading inherited module  com.sencha.gxt.data.Data'
Loading inherited module 'com.sencha.gxt.core.Core'
[ERROR] The value ie6 was not previously defined.

To solve this i added extend-property name="user.agent" value="ie6" in my gwt.xml. But this is throwing below error.

[ERROR] Element 'extend-property' beginning on line 13 contains unexpected attribute 'value'
[ERROR] Failure while parsing XML
Steven
  • 2,437
  • 5
  • 32
  • 36
Jack
  • 11
  • 3

2 Answers2

3

You are using an older version of GXT with a newer version (2.6.x or 2.7) of GWT.

If you are using GWT 2.6.x, you can enable the ie6 permutation. Take a look here:

GWT 2.6.0 how to enable Internet Explorer 6/7 permutation

If you are using GWT 2.7, you need GXT 2.3.1a/3.1.2.

Community
  • 1
  • 1
El Hoss
  • 3,767
  • 2
  • 18
  • 24
  • So you mean to say GXT 3.0.6 doesn't support GWT 2.6.0 ? – Jack Dec 05 '14 at 17:55
  • GXT 3.0.6 will support GWT 2.6, but you have to enable the ie6-Permutation. With GWT 2.6 the ie6 permutation is disabled by default. GXT 3.0.6 needs this permutation to work correctly. – El Hoss Dec 07 '14 at 10:20
  • How to enable ie6 permutation? I used extend-property name="user.agent" value="ie6" but not solving for me server call is failing . – Jack Dec 10 '14 at 17:39
  • I don't think that this problem is related to the property. – El Hoss Dec 10 '14 at 19:28
  • GXT 3.1.2 has no more dependicy to the ie6 property. – El Hoss Jan 29 '15 at 12:15
  • you are correct. Does GXT 3.1.2, GWT 2.6.0 support IE11? In official anouncement they have mentioned upto IE 10. – Jack Jan 29 '15 at 12:54
  • If youe Base GWT version is lesser than 2.6.0 - then you need GXT jar version lesser than 3.0.1 If you base GWT version greater than or equal to 2.6.0 then you need to add GXT jar version 3.1.X – Ashish Shetkar Jul 27 '16 at 10:54
0

I am facing same problem in my project. This issue because of GXT jar file version. If you are GWT-2.6 or above version you should use GXT-3.1.x version jar file only. Otherwise you will get the same error.

GXT-3.0.1.jar file will support up to GWT-2.5.x version.

Nallamachu
  • 1,420
  • 18
  • 34