Posted by
cjhowe on
URL: http://ofbiz.116.s1.nabble.com/Dev-Invoke-a-JSP-page-in-a-FTL-file-tp167602p167603.html
to give you a complete answer, I'd need more
informatin, but this should set you in the right
direction.
you need to use javascript for the popup like in
ordermgr/control/orderentry for the partyId lookup
in the order manager app
....
<a href
="javascript:call_fieldlookup2(document.salesentryform.partyId,'LookupPartyName');
>
--- Lei Gao <
[hidden email]> wrote:
> 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
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev