Hi Guys,
I met a issue in JspDynpro development.
-
my code :
<%@ taglib uri= "tagLib" prefix="hbj" %>
<jsp:useBean id="acceptBean" scope="session" class="com.ddd.AcceptBean" />
<% String inputFieldId=null; %>
<hbj:content id="myContext" >
<hbj:page title="PageTitle">
<hbj:form id="myFormId" >
<hbj:inputField id="returninput"
value="L"
type="STRING"
visible="false" jsObjectNeeded="true" >
<% inputFieldId=myContext.getParamIdForComponent(returninput);%>
</hbj:inputField>
<script language="Javascript">
var returnvalue = 'N';
returnvalue = window.showModalDialog("<%=acceptBean.getUrl()%>","","dialogWidth:700px;dialogHeight:500px");
document.all("<%=inputFieldId%>").value= returnvalue;
alert("htmlbevent " +htmlbevent);
htmlbevent.cancelSubmit=false;
</script>
</hbj:form>
</hbj:page>
</hbj:content>
-
the error is htmlbevent is undefined.
Could you please tell me how to resolve that? Thank you!
Best Regards,
Hardy