Have you included the extensionsFilter in your web.xml? (Look at the
web.xml from the examples) It is a filter that includes the myfaces
resources automatically...

Regards,

Bruno

2005/11/14, Sloan, Noah M <[EMAIL PROTECTED]>:
> That helped, thanks! But now I have a different problem:
> My popup wont display and I get a: orgApacheMyfacesPopup is not defined 
> JavaScript error on the page...
>
> Is there some js library I should be including?
>
> ________________________________
>
> From: Bruno Aranda [mailto:[EMAIL PROTECTED]
> Sent: Fri 11-Nov-05 6:14 PM
> To: MyFaces Discussion
> Subject: Re: t:popup - Null pointer exception.
>
>
>
> 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 <[EMAIL PROTECTED]>:
> > 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)
> >
> >
> >
>
>
>
>

Reply via email to