Re: Mobile to full site page, not refreshed until browser refresh - solved

2013-02-15 Thread John Pollard
Problem solved, nothing to do with WebObjects.
I needed to add the following to the button:
data-ajax="false";
In order to allow the link to escape out to the full site.

On 15 Feb 2013, at 18:43, John Pollard  wrote:

> Hi list,
> 
> I have a site that will display in mobile / full site mode: 
> www.team-picker.com
> Click the "Mobile site" link next to the 4th tick down to see the mobile 
> version.
> Then click the Full Site button at the bottom left of the mobile page view.
> This is where I have a problem, on returning to the full site view, the 
> layout is corrupt. Viewing the page source, somehow the mobile elements of 
> the mobile page have been retained. However, if you now Refresh your browser, 
> the page is corrected.
> How can I force the Full Site link to display the original page completely? 
> It is currently a component action, but could equally be a direct action 
> (doesn't help).
> 
> Note that if you view on a mobile phone first, the mobile page is presented 
> by default. The same problem is seen there after clicking the Full Site 
> button the full view is messed up and is fixed by a refresh within the mobile 
> browser.
> 
> The state of Application.setPageRefreshOnBacktrackEnabled() does not make a 
> difference.
> 
> What can the browser refresh be doing that my link to the page doesn't cause 
> to happen in the first place?
> 
> Is it something odd with jQueryMobile perhaps which is used on the mobile 
> page via ERQMHtmlTemplate, somehow causing the mobilification to persist for 
> a further page request.
> 
> Thanks
> John
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/john%40pollardweb.com
> 
> This email sent to j...@pollardweb.com


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Mobile to full site page, not refreshed until browser refresh

2013-02-15 Thread John Pollard
Hi list,

I have a site that will display in mobile / full site mode: www.team-picker.com
Click the "Mobile site" link next to the 4th tick down to see the mobile 
version.
Then click the Full Site button at the bottom left of the mobile page view.
This is where I have a problem, on returning to the full site view, the layout 
is corrupt. Viewing the page source, somehow the mobile elements of the mobile 
page have been retained. However, if you now Refresh your browser, the page is 
corrected.
How can I force the Full Site link to display the original page completely? It 
is currently a component action, but could equally be a direct action (doesn't 
help).

Note that if you view on a mobile phone first, the mobile page is presented by 
default. The same problem is seen there after clicking the Full Site button the 
full view is messed up and is fixed by a refresh within the mobile browser.

The state of Application.setPageRefreshOnBacktrackEnabled() does not make a 
difference.

What can the browser refresh be doing that my link to the page doesn't cause to 
happen in the first place?

Is it something odd with jQueryMobile perhaps which is used on the mobile page 
via ERQMHtmlTemplate, somehow causing the mobilification to persist for a 
further page request.

Thanks
John
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com