ICEfaces
  1. ICEfaces
  2. ICE-10404

icecore:redirect demo 404 issue when redirected to demo page

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: EE-4.0.0.GA, 4.1
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      Tomcat 7. ICEfaces 4 trunk r43530. All browsers.
    • Assignee Priority:
      P1
    • Affects:
      Sample App./Tutorial

      Description

      icecore:redirect demo
      When deployed locally on a tomcat server, or using the demo at http://icefaces-showcase.icesoft.org/, using "Go back to Page A using this link" navigates to a http status 404 message with the following URL:
      http://localhost:8080/showcase.jsf?grp=aceMenu&exp=redirectBean.
      Instead it should navigate back to this URL:
      http://localhost:8080/showcase/showcase.jsf?grp=aceMenu&exp=redirectBean.

        Activity

        Hide
        Ken Fyten added a comment -

        Corrected by adding missing "." to the front of the URL for the link.

        Resolved.

        Show
        Ken Fyten added a comment - Corrected by adding missing "." to the front of the URL for the link. Resolved.
        Hide
        Ken Fyten added a comment -

        Well, that didn't work. Works fine when run locally under the showcase dir, but not if the application is deployed as root, like with the public icefaces-showcase.icesoft.org demo.

        In that case, now attempts to navigate to:

        http://icefaces-showcase.icesoft.org/resources/examples/core/showcase.jsf?grp=aceMenu&exp=redirectBean

        ...which fails with a 404 error.

        Show
        Ken Fyten added a comment - Well, that didn't work. Works fine when run locally under the showcase dir, but not if the application is deployed as root, like with the public icefaces-showcase.icesoft.org demo. In that case, now attempts to navigate to: http://icefaces-showcase.icesoft.org/resources/examples/core/showcase.jsf?grp=aceMenu&exp=redirectBean ...which fails with a 404 error.
        Hide
        Mircea Toma added a comment -

        Replaced HTML anchor tag with h:outputLink component which allows the prefixing of the rendered URL with the context path.

        Show
        Mircea Toma added a comment - Replaced HTML anchor tag with h:outputLink component which allows the prefixing of the rendered URL with the context path.
        Hide
        Liana Munroe added a comment -

        Confirmed fixed on icefaces public demo at http://icefaces-showcase.icesoft.org/ using FF 33, Chrome 38, IE 11.

        Show
        Liana Munroe added a comment - Confirmed fixed on icefaces public demo at http://icefaces-showcase.icesoft.org/ using FF 33, Chrome 38, IE 11.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Liana Munroe
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: