Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The problem is here. Look closer. This is invalid EL syntax.</p> <pre><code>value="#{plannedActivityController.newActivity.organiser}}" </code></pre> <p>This should however have thrown a <code>PropertyNotWritableException</code> on submit something like this:</p> <pre><code>javax.el.PropertyNotWritableException: /test.xhtml @25,39 value="#{plannedActivityController.newActivity.organiser}}": Illegal Syntax for Set Operation at com.sun.faces.facelets.el.TagValueExpression.setValue(TagValueExpression.java:136) at javax.faces.component.UIInput.updateModel(UIInput.java:822) at javax.faces.component.UIInput.processUpdates(UIInput.java:739) at javax.faces.component.UIForm.processUpdates(UIForm.java:281) at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1244) at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1244) at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:1223) at com.sun.faces.lifecycle.UpdateModelValuesPhase.execute(UpdateModelValuesPhase.java:78) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) </code></pre> <p>This exception should have been logged to the server log. By default this will however not end up in an error page for the enduser because JSF/PrimeFaces have by default no form of feedback to enduser in case of exceptions which are thrown during ajax requests. You should however be able to see it in actual ajax response body in webbrowser's builtin HTTP traffic monitor.</p> <p>The JSF utility library <a href="http://omnifaces.org" rel="nofollow">OmniFaces</a> offers a <a href="http://showcase.omnifaces.org/exceptionhandlers/FullAjaxExceptionHandler" rel="nofollow"><code>FullAjaxExceptionHandler</code></a> for the very problem of total absence of feedback on exceptions during ajax requests. You may find it useful. When I tried to recreate your problem, I was been presented a clear error page so that I don't need to dig in server log or HTTP traffic monitor for clues.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload