Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2540

In the JSF showcase clicking "VDLDoc", "Improve", and "Request" buttons causes navigation to /showcase/views/component.faces

    Details

      Description

      {markdown}
      In the showcase `h:button` is used to navigate to an external URL via `window.open()`, but since it is an `h:button`, JSF also does a `window.location.href = /showcase/views/component.faces`. When the button is clicked, the browser opens a new tab to the correct URL, but the original tab navigates to `/showcase/views/component.faces` (which fails because it requires that it be passed component, use case, etc.). Instead of using `h:button`, we should use a simple html `<button>`.{markdown}

        Attachments

          Activity

            People

            • Assignee:
              kyle.stiemann Kyle Stiemann
              Reporter:
              kyle.stiemann Kyle Stiemann
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                showcase-2.0.0
                showcase-3.0.0