Dev - Invoke a JSP page.in a FTL file

Posted by Lei Gao-2 on
URL: http://ofbiz.116.s1.nabble.com/Dev-Invoke-a-JSP-page-in-a-FTL-file-tp167602.html

Hi group,

I am trying to popup a JSP page in a FTL page, and I want to keep the new page within the same session, and security context. Here is what I did.

in orderheader.ftl
....
<a herf="<@ofbizUrl>editPaymentTerm?orderId=${orderId}</@ofbizUrl target="popup">">Edit it</a>
....

in control.xml
<requet-map uri="editPaymentTerm">
  <response name="success" type="view" value="editPaymentTerm" />
</requet-map>
....
<view-map name="editPaymentTerm" type="jsp" page="/control/jspdir/EditPaymentTerm.jsp" />
.....

Obviously I still missed something, cause it dose not work. Can anybody show me what I missed?

Thanks
Lei


 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev