Results 1 to 2 of 2

Thread: <actionURL method=post Broken ???

  1. #1
    mcrocker is offline New Member
    Join Date
    Mar 2009
    Posts
    4
    Rep Power
    6

    Default <actionURL method=post Broken ???

    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
    Code:
    method=post
    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

  2. #2
    tdesorbaix is offline Zimlet Guru & Moderator
    Join Date
    Apr 2007
    Location
    Paris, France
    Posts
    367
    Rep Power
    8

    Default It is a bug

    Hello,

    The method="post" just doesn't work.
    For now you will have to use javascript to do a POST.

    I thought there was a bug in bugzilla about it but I didn't saw any, so I created this one :
    Bug 36797 &ndash; method="post" in the xml definition file doesn't work

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 05-04-2009, 04:48 AM
  2. Zimbra Toaster on Mac Notifications Broken
    By braver in forum General Questions
    Replies: 1
    Last Post: 07-17-2008, 10:43 AM
  3. Replies: 14
    Last Post: 07-10-2008, 01:54 PM
  4. forums search broken
    By bdial in forum Administrators
    Replies: 3
    Last Post: 01-04-2008, 09:02 AM
  5. Ubuntu broken.
    By shankariyer in forum Installation
    Replies: 1
    Last Post: 04-12-2006, 11:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •