[jbosstools-issues] [JBoss JIRA] Resolved: (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)

Ian Hands (JIRA) jira-events at lists.jboss.org
Thu Jun 2 14:19:59 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-9051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Hands resolved JBIDE-9051.
------------------------------

    Resolution: Rejected


Closing as Rejected as this is not a bug. Feel free to change the resolution if there is a more appropriate choice (looking for NOTABUG).

Thanks for the help.

> Tooling shows errors if the view-id parameter in a restrict tag contains a hashtag or Seam EL and no '?' (query param delimiter)
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-9051
>                 URL: https://issues.jboss.org/browse/JBIDE-9051
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing, Seam
>    Affects Versions: 3.2.0.Final
>         Environment: RHEL6, Eclipse 3.6, Current release of JBoss tools
> Also noticed error in JBDS 4.x
>            Reporter: Ian Hands
>            Assignee: Viacheslav Kabanovich
>            Priority: Minor
>             Fix For: 3.3.0.M3
>
>         Attachments: ErrorInPagesXML.png
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list