[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1370) Turn "JBoss Seam Debug Page" heading into a link

Dan Allen (JIRA) jira-events at lists.jboss.org
Wed May 30 17:43:08 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1370?page=all ]

Dan Allen updated JBSEAM-1370:
------------------------------

    Attachment: JBSEAM-1370-take2.txt

Rats, that first patch doesn't work.  The h:outputLink still appended the current request parameters.  Unfortunately, there is no easy way with standard JSF components and EL that gives you access to the request URI of the debug page, without hitting the HttpServletRequest object.

The easiest, sort of hackish way is one of the two value expressions:

#{facesContext.externalContext.request.requestURI}

or

#{facesContext.externalContext.requestContextPath}#{facesContext.externalContext.requestServletPath}

I choose the first.  Anyone else have an idea how to get /contextPath/debug.seam out of /debug.xhtml?  Basically, the goal is to chop off the current request parameters and create a "root" URL to the debug page.

> Turn "JBoss Seam Debug Page" heading into a link
> ------------------------------------------------
>
>                 Key: JBSEAM-1370
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1370
>             Project: JBoss Seam
>          Issue Type: Patch
>          Components: JSF
>    Affects Versions: 1.2.1.GA
>         Environment: n/a
>            Reporter: Dan Allen
>            Priority: Minor
>         Attachments: JBSEAM-1370-take2.txt, JBSEAM-1370.txt
>
>   Original Estimate: 10 minutes
>          Time Spent: 10 minutes
>  Remaining Estimate: 0 minutes
>
> The first-level heading of the Seam debug page should be a link.  This link would clear any selections and show the page in its initial state.
> I find myself constantly having to rip the query string off of the debug page URL in the location bar of my browser to return to the initial state.  This link would be a convenient way to go to the debug page "home."

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list