Skip to main content

widget JMaki and Navigation JSF

1 reply [Last post]
mediii
Offline
Joined: 2007-09-03
Points: 0

Hello,
anyone has tested the JSF navigation pages that contains JMaki widgets ??

i am working with netbeans and the plugin JMaki,
and i'm worried about a conflict between the navigation jsf and any JMaki widget.

i explain my problem: in a component form ( .. ), it contains a button to only refresh the page (for example the outcome is returned by a method void in a bean), the jsf page contains a widget JMaki outside the form. when i remove the widget it runs correctly, but it appears an error in the other case

The exception is :
--------------------------------------------------------------------------------------------------------------------
java.lang.NullPointerException
com.sun.faces.context.RequestParameterMap.get(ExternalContextImpl.java:668)
jmaki.runtime.jsf.WidgetRenderer.decode(WidgetRenderer.java:88)
javax.faces.component.UIComponentBase.decode(UIComponentBase.java:665)
javax.faces.component.UIInput.decode(UIInput.java:464)
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:885)
javax.faces.component.UIInput.processDecodes(UIInput.java:380)
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:306)
com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
--------------------------------------------------------------------------------------------------------------------

thanks if you have a response for my problem.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ntruchsess
Offline
Joined: 2007-01-05
Points: 0

I just checked, it's a bug that showes if the widget is not enclosed by a form on postback.

I just commited a fix for this to CVS HEAD.