ICEmobile
  1. ICEmobile
  2. MOBI-272

Augmented Reality icons are not displayed

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1 Beta
    • Fix Version/s: 1.1 Beta
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      ICEmobile

      Description

      When deployed behind an apache httpd server, the location icons are not displayed.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30161 Fri Jul 20 16:57:26 MDT 2012 ted.goddard use x-forwarded-host to obtain the client-visible URL since an absolute URL is required (MOBI-272)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/utils/IceOutputResource.java
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/java/org/icemobile/samples/mobileshowcase/view/examples/device/reality/RealityBean.java
        Ted Goddard created issue -
        Hide
        Ted Goddard added a comment -

        The fix is to use the x-forwarded-host header from httpd:

        String serverName = externalContext.getRequestHeaderMap()
        .get("x-forwarded-host");
        if (null == serverName)

        { serverName = externalContext.getRequestServerName() + ":" + externalContext.getRequestServerPort(); }
        Show
        Ted Goddard added a comment - The fix is to use the x-forwarded-host header from httpd: String serverName = externalContext.getRequestHeaderMap() .get("x-forwarded-host"); if (null == serverName) { serverName = externalContext.getRequestServerName() + ":" + externalContext.getRequestServerPort(); }
        Ted Goddard made changes -
        Field Original Value New Value
        Assignee Steve Maryka [ steve.maryka ] Ted Goddard [ ted.goddard ]
        Ted Goddard made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30225 Tue Jul 24 17:29:46 MDT 2012 judy.guglielmin MOBI-272 updated test. if I clear the browser cache, then the ice.s button will open, but still can't get it to close with ice.s
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/tests/mobitest/src/main/webapp/layout/mobi_282.xhtml
        Migration made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: