myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-1342) Can't add nested param tags to an h:output link
Date Mon, 26 Jun 2006 15:25:30 GMT
    [ http://issues.apache.org/jira/browse/MYFACES-1342?page=comments#action_12417825 ] 

Adam Winer commented on MYFACES-1342:
-------------------------------------

That's inaccurate;  we don't override the renderkit for all components, only a few, and as
can be seen from the stacktrace, there's relatively little Trinidad in here.  This looks like
an issue in the core outputLink.

> Can't add nested param tags to an h:output link
> -----------------------------------------------
>
>          Key: MYFACES-1342
>          URL: http://issues.apache.org/jira/browse/MYFACES-1342
>      Project: MyFaces Core
>         Type: Bug

>  Environment: We are using facelets
>     Reporter: Peace Software
>     Priority: Minor

>
> When we add a nested param tag to the an output link  as shown below we get a stack trace
on the page
> <h:outputLink value="BusinessObjectPropertySummary">
>    <f:param name="buisnessObjectClass" value="#{businessObjectDetails.className}"/>
>    <h:outputText value="#{businessObjectDetails.name}"/>
> </h:outputLink>
> java.lang.NullPointerException: charsetName
> 	at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:81)
> 	at java.net.URLEncoder.encode(URLEncoder.java:189)
> 	at org.apache.myfaces.renderkit.html.HtmlLinkRendererBase.addParameterToHref(HtmlLinkRendererBase.java:428)
> 	at org.apache.myfaces.renderkit.html.HtmlLinkRendererBase.addChildParametersToHref(HtmlLinkRendererBase.java:360)
> 	at org.apache.myfaces.renderkit.html.HtmlLinkRendererBase.renderOutputLinkStart(HtmlLinkRendererBase.java:376)
> 	at org.apache.myfaces.renderkit.html.HtmlLinkRendererBase.encodeBegin(HtmlLinkRendererBase.java:95)
> 	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:307)
> 	at org.apache.myfaces.renderkit.RendererUtils.renderChild(RendererUtils.java:441)
> 	at org.apache.myfaces.renderkit.RendererUtils.renderChildren(RendererUtils.java:427)
> 	at org.apache.myfaces.renderkit.RendererUtils.renderChild(RendererUtils.java:448)
> 	at org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer.renderColumnBody(HtmlTableRenderer.java:206)
> 	at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeColumnChild(HtmlTableRendererBase.java:168)
> 	at org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer.encodeColumnChild(HtmlTableRenderer.java:161)
> 	at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:154)
> 	at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:94)
> 	at org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer.encodeChildren(HtmlTableRenderer.java:57)
> 	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:319)
> 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:234)
> 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
> 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
> 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
> 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
> 	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:554)
> 	at com.peace.externalInteraction.web.jsf.PeaceFaceletViewHandler.renderView(PeaceFaceletViewHandler.java:62)
> 	at org.apache.myfaces.adfinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:175)
> 	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
> 	at org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:74)
> 	at com.peace.externalInteraction.web.OmniServlet.service(OmniServlet.java:78)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at org.apache.myfaces.adfinternal.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:320)
> 	at org.apache.myfaces.adfinternal.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:289)
> 	at org.apache.myfaces.adfinternal.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:213)
> 	at org.apache.myfaces.adf.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:90)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at com.peace.externalInteraction.web.jsf.ViewModeFilter.doFilter(ViewModeFilter.java:29)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

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


Mime
View raw message