[
https://jira.jboss.org/jira/browse/JBPM-1885?page=com.atlassian.jira.plug...
]
Thomas Diesler commented on JBPM-1885:
--------------------------------------
Thanks, this is now linked to
https://jira.jboss.org/jira/browse/JBPM-1885
and will get fixed for 3.3.1
Julian Coleman wrote:
Hi,
> We're tracking this in SOA-1052 (
https://jira.jboss.org/jira/browse/SOA-1052).
> Help greatly appreciated.
We've fixed this now. Quoting from the JIRA:
> The change from JSF 1.1 (EAP 4.3.0 CP02) to JSF 1.2 (EAP 4.3.0 CP03) breaks
> compatability. The "selectBooleanCheckbox" "value parameter has
changed from
> java.lang.String to javax.el.ValueExpression (must evaluate to java.lang.Object).
>
> The fix is to change lines of the form:
>
> <h:selectBooleanCheckbox id="id" value="#{var}"/>
>
> to:
>
> <h:selectBooleanCheckbox id="id" value="#{var ==
true}"/>
>
> when #{var} is the String "true" or "false".
>
> See:
>
http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/tlddocs/h/selectBo...
>
http://java.sun.com/javaee/javaserverfaces/1.2/docs/tlddocs/h/selectBoole...
We've changed this in t_processinstances.xhtml and t_tasks.xhtml in the
console.
JSF upgrade breaks jBPM console
-------------------------------
Key: JBPM-1885
URL:
https://jira.jboss.org/jira/browse/JBPM-1885
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Console
Affects Versions: SOA 4.2 CP03
Environment: SOA-P 4.2.0 CP03
Reporter: Julian Coleman
Assignee: Heiko Braun
Fix For: jBPM 3.3.1 GA
The upgraded JSF libs from EAP 4.3.0 CP03 break the jBPM console.
Trying to examine a process (which invokes JSF on procdef.xhtml) gives:
ERROR [facelets.viewhandler] Error Rendering View[/app/procdef.xhtml]
java.lang.ClassCastException: java.lang.String
at javax.faces.component.UISelectBoolean.isSelected(UISelectBoolean.java:106)
at
com.sun.faces.renderkit.html_basic.CheckboxRenderer.getEndTextToRender(CheckboxRenderer.java:137)
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira