Without knowing how you're running the app or seeing code on how the main 
view is loaded, I would guess that you're running into caching issues on 
your browser. Clean the browse cache and retry. Also, print logging 
messages to the console and watch to see if you're running the latest code 
on the browser, although it should be obvious if you're running Super 
DevMode.

On Thursday, February 11, 2016 at 12:07:41 AM UTC-7, [email protected] wrote:
>
> 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