PDA

View Full Version : problem with HtmlEditor



dialloma
30 Aug 2009, 8:16 AM
Hello all,

I'm using GXT HtmlEditor in my gwt+gxt projet but I have a problem. I copied the source code from sample folder in the GXT downloaded folder. I paste it in my project. But I the icons was not displayed. I'm tried it in Firefox 3.5 and 3.09, IE8 but it's not work.
Please could I made some configuration ?
Notice that I use GXT 2.0.1. Please help me.

Thanks

dialloma

suresh.sivanantham
30 Aug 2009, 7:33 PM
you may forget to copy the resources folder from GXT downloaded folder into War folder of your project...
this resources folder will have the static files required by GXT.......

also don forget to link gxt css into your html file....
<link href="resources/css/gxt-all.css" type="text/css" rel="stylesheet" >

dialloma
1 Sep 2009, 4:01 AM
Hello suresh.sivanantham (http://www.extjs.com/forum/member.php?u=80779),

Thank you for your reply. I did all you said in your mail but I have a problem. Not that I was using gwt 1.7 but now I use GWT 1.6.4 but the problem is always present.

Please do you have another solution ?

Thanks
dialloma

suresh.sivanantham
1 Sep 2009, 4:04 AM
can you post sample code......

dialloma
3 Sep 2009, 12:37 AM
Hello,
Sorry I was absent.
Thank you for your reply. I used the same code as the GXT sample: http://extjs.com/examples/#advancedforms

I copied the classe AdvancedFormsExample in my project.
And I directly insert in the GWT RootPanel

RootPanel.get().add(advancedFormsExample);

Notice that I use the GWT maven plugin in my project. So the GXT resources folder is the public folder contained in src/main/resources of the project.
The rest of GXT component is displayed correctly Thats why I think that the GXT resources is copied correctly.

Hope that this will help to solve my problem.

Have a nice day
dialloma