Results 1 to 3 of 3

Thread: Unable to set the param value

  1. #1
    Join Date
    Apr 2007
    Posts
    3
    Rep Power
    8

    Default Unable to set the param value

    Hi,

    I have the following zimlet.

    <zimlet name="com_zimbra_rebalorder" version="1.2" description="Rebal Order Reports">
    <contentObject>
    <matchOn>
    <regex attrs="ig">RebalOrderNo\d\d\d\d</regex>
    </matchOn>
    <toolTip>Click on Right button on the mouse to see the options ${src.objectContent}</toolTip>
    <contextMenu>
    <menuItem label="Accept" id="Accept">
    <canvas type="window" height="10" width="10" />
    <actionUrl method="get" target="http://192.168.1.187:9080/ncWeb/AControlServlet">
    <param name="Action">ReBalance</param>
    <param name="SubAction">RebalOrders</param>
    <param name="firm_no">07</param>
    <param name="trackid">${src.objectContent}</param>
    </actionUrl>
    </menuItem>
    </contextMenu>
    </contentObject>
    </zimlet>


    I used the tag ${src.objectContent} in 2 places.

    1. Tool Tip
    2. Param

    On mouse over I am able to see the value for ${src.objectContent} , but I am unable to send as parameter, some esace sequence numbers are populating instead of the value what I am seeing under tool tip. My question
    is can't I use ${src.objectContent} for the param tags. If not is there any alternative approach?


    Thanks
    Shri

  2. #2
    Join Date
    May 2008
    Posts
    1
    Rep Power
    7

    Default Solution?

    I am having the same problem.

    Did you solve this?

  3. #3
    Join Date
    Apr 2007
    Location
    Paris, France
    Posts
    367
    Rep Power
    8

    Default

    An alternative is to make this part:
    Code:
    <canvas type="window" height="10" width="10" />
    <actionUrl method="get" target="http://192.168.1.187:9080/ncWeb/AControlServlet">
    <param name="Action">ReBalance</param>
    <param name="SubAction">RebalOrders</param>
    <param name="firm_no">07</param>
    <param name="trackid">${src.objectContent}</param>
    </actionUrl>
    in an included javascript file (<include>file.js</include>).

Similar Threads

  1. Update Received Date in Folder-Listing
    By Oswald-Kolle in forum Installation
    Replies: 25
    Last Post: 08-21-2007, 05:21 PM
  2. One domain set up in two different locations
    By sunshineknox in forum Administrators
    Replies: 1
    Last Post: 04-04-2007, 09:13 PM
  3. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 11:30 PM
  4. Unable to set flags Zimbra via Kmail IMAP
    By tgx in forum Administrators
    Replies: 2
    Last Post: 10-04-2006, 11:41 AM
  5. Unable to Move Users to a Domain or Delete Domain
    By Justin Rock in forum Administrators
    Replies: 2
    Last Post: 10-06-2005, 01:23 PM

Posting Permissions

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