Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9051

Tooling shows errors if the view-id parameter in a restrict tag contains a hashtag or Seam EL and no '?' (query param delimiter)

XMLWordPrintable

      I see that the IDE detects errors if I have a URL in a view-id attribute that has a hastag or Seam EL, and does not have any query parameters.

      example:
      <exception class="org.jboss.seam.security.AuthorizationException" log-level="trace">
      <http-error error-code="403"/>
      <redirect view-id="/403.xhtml#

      {restrictHelper.hashTag}"/>
      </exception>


      A work around would be to simply use:
      <redirect view-id="/403.xhtml?#{restrictHelper.hashTag}

      "/>

      This is still a valid URL, and does not cause the tooling to show errors.

            scabanovich Viacheslav Kabanovich (Inactive)
            rhn-support-ihands Ian Hands (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: