]
Thomas Diesler updated JBPM-1039:
---------------------------------
Fix Version/s: jBPM 3.3.2 GA
Revisit open bugs
OutOfMemoryError While using multi h:selectOneRaido in dataform with
multy columns
----------------------------------------------------------------------------------
Key: JBPM-1039
URL:
https://jira.jboss.org/jira/browse/JBPM-1039
Project: JBoss jBPM
Issue Type: Bug
Components: Console
Affects Versions: jBPM 3.2.1
Environment: jBPM 3.2.1 Tomcat 6.0.14
Reporter: zhou guangzhao
Priority: Minor
Fix For: jBPM 3.3.2 GA
The following taskform code works in JBPM3.2.GA.
But when running in JBPM 3.2.1, it causes OutOfMemoryError. By testing, I found that if I
change <jbpm:dataform columns="2"> to <jbpm:dataform>, it will work
well in both JBPM3.2.GA and JBPM3.2.1.
Sometimes it maybe works in JBPM3.2.1. But while adding more h:selectOneRadio, I get the
error.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<!-- the DOCTYPE means we are required to use html for a root element -->
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:tf="http://jbpm.org/jsf/tf"
xmlns:jbpm="http://jbpm.org/jsf">
<ui:component>
<jbpm:dataform columns="2">
<f:facet name="header">
<h:outputText value="#{taskName}"/>
</f:facet>
<!-- TASKFORM ROWS -->
<jbpm:datacell>
<f:facet name="header">
<h:outputText value="Sex"/>
</f:facet>
<h:selectOneRadio id="StudentSex"
value="#{var['StudentSex']}">
<f:selectItem itemLabel="Male" itemValue="Male"/>
<f:selectItem itemLabel="Female" itemValue="Female"/>
</h:selectOneRadio>
</jbpm:datacell>
<jbpm:datacell>
<f:facet name="header">
<h:outputText value="HasAS"/>
</f:facet>
<h:selectOneRadio id="HasAS"
value="#{var['HasAS']}" >
<f:selectItem itemLabel="Yes" itemValue="Yes"/>
<f:selectItem itemLabel="No" itemValue="No"/>
</h:selectOneRadio>
</jbpm:datacell>
<jbpm:datacell>
<f:facet name="header">
<h:outputText value="Actions"/>
</f:facet>
<!-- TASKFORM BUTTONS -->
<tf:saveButton value="Save"/>
<tf:cancelButton value="Cancel"/>
<tf:transitionButton value="Save and Close"/>
</jbpm:datacell>
</jbpm:dataform>
</ui:component>
</html>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: