Do I have the syntax right? I tried what you said. Here's how I changed it:
<zimlet name="com_phpministry_oss" version="1.0" description="Database">
<includeCSS>oss.css</includeCSS>
<resource>oss.gif</resource>
<zimletPanelItem label="Manage My Seminars" icon="oss-panelIcon">
<toolTipText>Right-click to Schedule Seminar</toolTipText>
<contextMenu>
<menuItem label="Online Seminar Scheduling" id="www.company.com/oss" icon="oss-panelIcon">
<canvas type="window" title="Support Form" />
<actionUrl method="post" target="https://www.company.com/oss">
<param name="param">${appCtxt._activeAccount.name}</param>
</actionUrl>
</menuItem>
</contextMenu>
</zimletPanelItem>
</zimlet>
Notice the <param line.
This was translated when I clicked on the Zimlet into:
https://www.company.com/oss/?param=$%7BappCtxt._activeAccount.name%7D
(it took it literally, rather than translating it.
Likewise, I changed it to:
<zimlet name="com_phpministry_oss" version="1.0" description="Database">
<includeCSS>oss.css</includeCSS>
<resource>oss.gif</resource>
<zimletPanelItem label="Manage My Seminars" icon="oss-panelIcon">
<toolTipText>Right-click to Schedule Seminar</toolTipText>
<contextMenu>
<menuItem label="Online Seminar Scheduling" id="mail.familyfoundations.us:20443/oss" icon="oss-panelIcon">
<canvas type="window" title="Support Form" />
<actionUrl method="post" target="https://mail.familyfoundations.us:20443/oss">
<param name="param">${appCtxt.getUsername()}</param>
</actionUrl>
</menuItem>
</contextMenu>
</zimletPanelItem>
</zimlet>
(change is on the <param line, above
Here's what got put on to the URL line when the window was popped:
https://mail.familyfoundations.us:20443/oss/?param=$%7BappCtxt.getUsername()%7D
Do I have the syntax of the "<param" line correct?
Thanks,
Dave |