Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-01-2007, 09:39 AM
New Member
 
Posts: 3
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
Reply With Quote
  #2 (permalink)  
Old 05-13-2008, 08:08 AM
Starter Member
 
Posts: 1
Default Solution?

I am having the same problem.

Did you solve this?
Reply With Quote
  #3 (permalink)  
Old 05-13-2008, 09:00 AM
Zimlet Guru & Moderator
 
Posts: 288
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>).
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.