Try OpenEdge Now
skip to main content
Migrating to OpenEdge 11.7
Migrating OpenEdge Business Process Management : Savvion 7.6.X/8.0 to Progress OpenEdge 11.3.0 Migration Process : Migrating to OpenEdge 11.3.0 : Custom JSP forms migration : Migrating BPM Studio 7.6.1 to Progress Developer Studio for OpenEdge 11.3.0
 
Migrating BPM Studio 7.6.1 to Progress Developer Studio for OpenEdge 11.3.0
To migrate custom JSPs to OpenEdge 11.3.0, you must edit the JSPs, as instructed in the following tables:
Note: If you copy-paste the code from this document into your custom JSP, you must ensure that the code does not contain erroneous alignment and spacing, which can result in syntax errors or unsuccessful custom JSP migration.
Find and Replace...
With...
<%@ page
import="com.savvion.BizSolo.Server.
*,com.savvion.BizSolo.
beans.*,java.util.
Vector,java.util.Locale" %>
<%@ page
import="com.savvion.BizSolo.Server.
*,com.savvion.BizSolo.
beans.*,com.savvion.
sbm.util.DatabaseMapping,java.util.
Vector,java.
util.Locale" %>
<%@ taglib
uri="http://java.sun.com/jstl/core"
prefix="c" %>
<%@ taglib
uri="http://java.sun.com/jsp/jstl/
core" prefix="c" %>
<script language="JavaScript"
src="<c:out
value='${contextPath}'/>
bpmportal/javascript/engine.js">
</script>
<script language="JavaScript"
src="<c:out
value='${contextPath}'/>
dwr/engine.js">
</script>
<script language="JavaScript"
src="<c:out
value='${contextPath}'/>
bpmportal/javascript/util.js">
</script>
<script language="JavaScript"
src="<c:out
value='${contextPath}'/>
dwr/util.js">
</script>
<link rel="stylesheet"
type="text/css" href="<c:out
value='${contextPath}'/>
bpmportal/javascript/ext/resources/
css/xtheme-default.css">
<bizsolo:link rel="stylesheet"
extJsVer="3"></bizsolo:link>
<link rel="stylesheet"
type="text/css" href="<c:out
value='${contextPath}'/>
bpmportal/css/<%=
bizManage.getTheme()
%>/bm-all.css">
<link rel="stylesheet"
type="text/css" href="<c:out
value='${contextPath}'/>
bpmportal/css/theme01/bm-all.css">
<link rel="stylesheet"
type="text/css" href="<c:out
value='${contextPath}'/>
bpmportal/css/<%=
bizManage.getTheme()
%>/bm-xml.css">
function openDocAttWin(
slotName,sesID, ptname, piname,
docurl, docServer,
readonly, ismultiline, appendwith,
isStart)
function openDocAttWin(
slotName,sesID, ptname, piname,
docurl, docServer,
readonly, ismultiline, appendwith,
isStart,fiid )
<td class="ApSegTitle"
align="center"><bizsolo:getDS
name="workitemName">
</bizsolo:getDS></td>
<td class="ApSegTitle"
align="center"><bizsolo:choose>
<bizsolo:when
test='<%=bean.getPropString
(\"workitemName\") != null
%>'><bizsolo:getDS
name="workitemName"></bizsolo:getDS>
</bizsolo:when><bizsolo:otherwise>
<%=_PageName%></bizsolo:otherwise>
</bizsolo:choose></td>
<td width="15%"
class="ApSegGenLabel"><bizsolo:getLabel
type="RESOURCE"
name="BIZSITE_INSTRUCTION_LABEL">
</bizsolo:getLabel></td><td
width="15%"
class="ApSegGenData"
colspan="5"><sbm:message
key="workstep.Activity
instruction"
escapeLine="true"></sbm:message>
</td>
<td width="85%"
class="ApSegGenLabel"><bizsolo:getLabel
type="RESOURCE"
name="BIZSITE_INSTRUCTION_LABEL">
</bizsolo:getLabel></td><td
width="85%"
class="ApSegGenData"
colspan="5"><sbm:message
key="workstep.Activity
instruction"
escapeLine="true"></sbm:message>
</td>
<div style="display:none"
id="textField1Error"><div><font
color="red"><span
class="error" id="textField1ErrorMsg"></span>
<a href="#"
onclick="textField1ErrorMsgClose();
return false;"><img border="0"
src="<c:out
value='${contextPath}'/>bpmportal/
css/apptheme01/images/close.gif"></a>
</font>
</div></div>
<div style="display:none"
id="textField1Error"><div><font
color="red"><span
class="error" id="textField1ErrorMsg"></span>
<a href="#"
onclick="textField1ErrorMsgClose();
return false;"><img border="0"
src="<c:out
value='${contextPath}'/>bpmportal/
css/app<%= bizManage.getTheme()
%>/images/close.gif"></a></font>
</div></div>
<div style="display:none"
id="textField2Error"><div><font
color="red"><span
class="error"
id="textField2ErrorMsg"></span> <a
href="#"
onclick="textField2ErrorMsgClose();
return false;"><img border="0"
src="<c:out
value='${contextPath}'/>
bpmportal/css/apptheme01/
images/close.gif"></a>
</font>
</div></div>
<div style="display:none"
id="textField2Error"><div><font
color="red"><span
class="error"
id="textField2ErrorMsg"></span> <a
href="#"
onclick="textField2ErrorMsgClose();
return false;"> <img border="0"
src="<c:out
value='${contextPath}'/>
bpmportal/css/app<%=
bizManage.getTheme()
%>/images/close.gif">
</a></font></div></div>
<bizsolo:isAssigned><td
class="ApBtnSpace"><input
class="ApInptTxt" type="text"
name="bizsite_assigneeName"
size="20"></td> <td
class="ApBtnSpace"> <a
href="javascript://"
onClick="setUserControl(document.form.
bizsite_assigneeName);searchUser()">
<img width="16" height="16"
border="0" title="Search"
src="<c:out
value='${contextPath}'/>
bpmportal/css/apptheme01/images/
icon_edit_user_search_single.gif">
</img></a></td><td
class="ApBtnSpace"> <input
name="bizsite_reassignTask"
id="btn-reassign" class="ApScrnButton"
onMouseOver="this.className='ApScrnButtonHover';"
onMouseOut="this.className='ApScrnButton';"
onClick="clickedButton=this.name;
return AlertReassign();this.onsubmit
= new
Function('return false');"
value="<bizsolo:getLabel
name='REASSIGN_LABEL'
type='RESOURCE'/>"
type="submit"></td>
<bizsolo:isAssigned><td
class="ApBtnSpace"> <input
class="ApInptTxt" type="text"
name="bizsite_assigneeName"
size="20"></td><td
class="ApBtnSpace"> <a
href="javascript://"
onClick="setUserControl(document.form.
bizsite_assigneeName);searchUser()">
<img width="16" height="16"
border="0" title="Search"
src="<c:out
value='${contextPath}'/>
bpmportal/css/app<%=
bizManage.getTheme() %>
/images/icon_edit_user_search_single.gif">
</img></a></td> <td
class="ApBtnSpace"><input
name="bizsite_reassignTask"
id="btn-reassign"
class="ApScrnButton"
onMouseOver="this.className='ApScrnButtonHover';"
onMouseOut="this.className='ApScrnButton';"
onClick="clickedButton=this.name;
return AlertReassign();this.onsubmit
= new
Function('return false');"
value="<bizsolo:getLabel
name='REASSIGN_LABEL'
type='RESOURCE'/>"
type="submit"></td>
formWidgetHandler = new
FormWidgetHandler(allWidgets,
{processName:'testapp76',adapletCache:
{'user':''}});
formWidgetHandler = new
FormWidgetHandler(allWidgets,
{processName:'testapp76',adapletCache:
{'user':''}},'
<%=request.getParameter(BizSoloRequest.BSS_FIID)
%>');
}catch(e){}
}catch(e){return false;}
Find and Replace...
With...
<%@ page
import="com.savvion.BizSolo.Server.
*,com.savvion.BizSolo.beans.*,
java. util.Vector,java.util.Locale"
%>
<%@ page
import="com.savvion.sbm.bizsolo.util.
session.*,java.net.*" %>
<% pageContext.setAttribute(
"contextPath",
request.getContextPath()+"/"); %>
<% pageContext.setAttribute(
"maxMulitLineLength",
DatabaseMapping.self().
getSQLSize(java.lang.String.class));
%>
<!-- Javascript -->
<script language="JavaScript"> var
getLocalizedString = parent.
getLocalizedString; </script>
<script language="JavaScript"
src="<c:out
value='${contextPath}'/>bpmportal/
javascript/fvalidate/fValidate.
validators.js"></script>
<script language="JavaScript"
src="<c:out
value='${contextPath}'/>bpmportal/
javascript/fvalidate/fValidate.
validators-<%=myLocale.getLanguage(
)%><%=myLocale.getCountry()%>.js">
</script>
<script language="JavaScript"
src="<c:out
value='${contextPath}'/>bpmportal/
javascript/sbm/sbm.utils.js">
</script>
<script language="JavaScript"
src="<c:out
value='${contextPath}'/>
bpmportal/javascript/ux/fileuploadfield/
FileUploadField.js"> </script>
<script language="JavaScript"
src="<c:out
value='${contextPath}'/>
bpmportal/javascript/bm/common/
bmfield.js"></script>
<script language="JavaScript"
src="<c:out
value='${contextPath}'/>
bpmportal/javascript/fileupload.js">
</script>
param += '&isPICreation=' + isStart;
param += '&fiid=' + fiid;
<input name="_ProcessTemplateName"
type="hidden"
value='<%=bean.getPropString("ptName")
%>'>
<input name="<%=BizSoloRequest.BSS_FIID%>"
type="hidden"
value="<%=request.getParameter(
BizSoloRequest.BSS_FIID)%>">
Find...
And add the following before it...
"<script language="JavaScript"
src="<c:out value='${contextPath}'/>
bpmportal/javascript/utilities.js">
</script>
<script>DWREngine = dwr.engine;
DWRUtil = dwr.util;</script>
Remove the following lines of code if the exist...
<bizsolo:link rel="stylesheet"></bizsolo:link>
<bizsolo:if test='<%=bean.getPropString(\"workitemName\") != null %>'>
</bizsolo:if>