myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Aranda <brunoara...@gmail.com>
Subject Re: t:popup - Null pointer exception.
Date Sat, 12 Nov 2005 00:14:49 GMT
I am not sure, 'cause I don't have the source code in front of me, but
does it work if you put

<f:facet name="popup">

'popup' as the name, instead of 'String'...

Regards,

Bruno

2005/11/12, Sloan, Noah M <Noah_Sloan@baylor.edu>:
> Can anyone tell me why:
>
> <t:popup styleClass="popup"
>     closePopupOnExitingElement="false"
>     closePopupOnExitingPopup="true"
>     displayAtDistanceX="0"
>     displayAtDistanceY="0">
>   <h:outputText value="Value1" />
>  <f:facet name="String">
>   <h:panelGroup>
>    <h:panelGrid columns="1">
>     <h:outputText value="Value2" />
>    </h:panelGrid>
>   </h:panelGroup>
>  </f:facet>
> </t:popup>
>
>
> Gives me:
>
> java.lang.NullPointerException
>  at org.apache.myfaces.renderkit.RendererUtils.renderChildren(RendererUtils.java:422)
>  at org.apache.myfaces.custom.popup.HtmlPopupRenderer.encodeEnd(HtmlPopupRenderer.java:92)
>  at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
>  at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:443)
>  at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:440)
>  at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
>  at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
>
>
>

Mime
View raw message