[jboss-jira] [JBoss JIRA] Created: (JBPM-1039) OutOfMemoryError While using multi h:selectOneRaido in dataform with multy columns

zhou guangzhao (JIRA) jira-events at lists.jboss.org
Mon Aug 13 13:02:01 EDT 2007


OutOfMemoryError While using multi h:selectOneRaido in dataform with multy columns
----------------------------------------------------------------------------------

                 Key: JBPM-1039
                 URL: http://jira.jboss.com/jira/browse/JBPM-1039
             Project: JBoss jBPM
          Issue Type: Bug
          Components: Web Interface
    Affects Versions:  jBPM jPDL 3.2.1
         Environment: jBPM 3.2.1     Tomcat 6.0.14
            Reporter: zhou guangzhao
         Assigned To: Tom Baeyens


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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list