Hi Coonay, The Showcase sample application is a GWT module, in the sense that it defines its own module XML file describing its GWT application structure. You could JAR it up and reference it with an <inherits> tag in your own module XML file to reuse its widgets, but I think that's far more effort than is necessary if all you want to do is reuse the RichTextToolbar.
If that is indeed all you want to do, I would suggest simply copying the source code into your project and reusing it that way. You will need to do some minor tweaks to the source to adapt it to your project, but they should all be pretty straightforward changes to make. If you have any trouble, feel free posting up here to troubleshoot. Hope that helps, -Sumit Chandel On Sun, Mar 22, 2009 at 9:39 PM, Coonay <[email protected]> wrote: > > i wanna test RichTextToolbar Widget, > some of my module config in the xml is : > > <!-- Inherit the core Web Toolkit stuff. --> > <inherits name='com.google.gwt.user.User'/> > > <!-- Inherit the default GWT style sheet. You can change > --> > <!-- the theme of your GWT application by uncommenting > --> > <!-- any one of the following lines. > --> > <inherits name='com.google.gwt.user.theme.standard.Standard'/> > <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> > --> > <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> > --> > > <inherits name="com.google.gwt.core.Core"/> > <inherits name="com.google.gwt.i18n.I18N"/> > > > but there is always an error in development shell console:No source > code is available for type RichTextToolbar; did you forget to inherit > a required module? > > > In order to use showcase example do i have to make showcase as a > module and inherit this module in my projecct? > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
