I still do not know what to do
1. I have ftl written form
2. onsubmit it redirects logic to javascriptlooupOrder --->
onsubmit="javascript:lookupOrders()
3. in javascript there a statement document.lookuporder.action =
"<@ofbizUrl>searchorders</@ofbizUrl>";
4. i want to use direct url instead document.lookuporder.action =
"<@ofbizUrl>shttp://orderpagetest.ic3.com/hop/login</@ofbizUrl>";
i also tried document.lookuporder.action =
"http://orderpagetest.ic3.com/hop/login";
In both cases, as you said, stays inside ofbiz.
in the widget form with hyperlink you can set target-type="plain" to
pass control to any url. I do not know what has to be done in ftl to do
the same.
Jacek
David E Jones wrote:
On Apr 17, 2009, at 11:44 AM, Jacek Wagner wrote:
All,
In all ftl forms I found when method="post" action always points to
a desire service.
Is it possible to call direct url instead.
Example: instead
****action="<@ofbizUrl>searchorders</@ofbizUrl>"*** do something
like this
***action="<@ofbizUrl>http://orderpagetest.ic3.com/hop/orderform.jsp</@ofbizUrl>***
Yes, but leave you the <@ofbizUrl> tags, they are only needed to write
URLs internally.
-David