I got the pages to not blink, but the back button does not work correctly,
you need to click it three times
to get to the page it should go to. It was doing this before I made your
fix.
thanks


On Fri, Aug 9, 2013 at 9:16 AM, Lance Frohman <lfroh...@gmail.com> wrote:

> Thank you.
>
>
> On Thursday, August 8, 2013 1:05:12 PM UTC-7, Jens wrote:
>>
>> You need to cache the activity that displays the 3rd party app so it does
>> not get recreated in your ActivityMapper each time you navigate inside the
>> 3rd party app. So your URLs should look like
>>
>> /#ThirdPartyAppPlace:app=page1
>> /#ThirdPartyAppPlace:app=**page2&param=x
>> /#ThirdPartyAppPlace:app=page3
>>
>> and for each URL the same activity instance should be returned. You could
>> either code this caching into your AppActivityMapper directly or use GWT's
>> CachingActivityMapper together with GWT's FilteredActivityMapper to keep
>> your AppActivityMapper clean. If you choose to use GWT's ActivityMappers
>> you must implement hashcode/equals for your place because
>> CachingActivityMapper uses currentPlace.equals(newPlace) to determine if
>> the cached activity can be returned.
>>
>> At the end you will have something like new
>> FilteredActivityMapper(filter, new CachingActivityMapper(new
>> AppActivityMapper()); where "filter" transforms all your
>> ThirdPartyAppPlaces to an empty ThirdPartyAppPlace so that
>> CachingActivityMapper always sees equal places. Whenever the
>> CachingActivityMapper sees different places, it will ask your
>> AppActivityMapper for the new activity.
>>
>> -- J.
>>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/6U5rhALEomE/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to