Hello all,

       I have started to build my application based on MobileWebApp from 
GWT examples. So far I have accomplished desktop view and switch to mobile 
view presenter building. To test mobile UI I have changed in the root 
App.gwt.xml following lines:

  Default is to use desktop Impl:
 <!-- Use ClientFactoryImpl by default -->
  <replace-with class=
"com.google.gwt.sample.mobilewebapp.client.ClientFactoryImpl">
    <when-type-is class=
"com.google.gwt.sample.mobilewebapp.client.ClientFactory"/>
  </replace-with>


   My "cheat" is to use *Moibile instead:
   <!-- Use ClientFactoryImplMobile by default -->
  <replace-with class=
"com.google.gwt.sample.mobilewebapp.client.ClientFactoryImplMobile">
    <when-type-is class=
"com.google.gwt.sample.mobilewebapp.client.ClientFactory"/>
  </replace-with>

      The problem is that loader still loads Desktop version of the View. I 
have cleaned-up everything in target/ folder, re-builded the application, 
but instead of ClientFactoryImplMobile it loads ClientFactoryImpl. There 
are no references to the ClientFactoryImpl in the source code. How does it 
load ClientFactoryImpl and why? Are there any hidden conventions?

   Thank you,

   Vadim

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to