Hello,
I'm working on a pretty basic zimlet. I need to call a php script with some properties from the Zimbra user & objectcontent. I'm trying to run this through /service/proxy which (according to the docs) will pass everything sent to it from a POST to the target.
When I put method="post" in the ActionURL the browser still performs a GET.
Any ideas? See below for me .xml
Code:
<contextMenu>
<menuItem label="${msg.startCall}" icon="Telephone" id="STARTCALL">
<canvas type="dialog" width="800"/>
<actionUrl method="post" target="/service/proxy">
<param name="target">http://127.0.0.1/voip/Portal.php</param>
<param name="action">dialPhone</param>
<param name="voip_telephone">${prop.voip_telephone}</param>
<param name="voip_password">${prop.voip_password}</param>
<param name="sbcAddress">${prop.sbcAddress}</param>
<param name="portalAddress">${prop.portalAddress}</param>
<param name="numToCall">${src.objectContent}</param>
</actionUrl>
</menuItem>
</contextMenu> If I put
The Zimlet won't even load.
Current Version: 5.0.14_GA_2850.RHEL5 20090303142201 20090303-1423 FOSS
User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.8) Gecko/2009032608 Firefox/3.0.8