View Single Post
  #1 (permalink)  
Old 02-20-2007, 02:04 PM
Martinchin2289 Martinchin2289 is offline
New Member
 
Posts: 4
Default Help needed. Simple Zimlet

Hello, i have been dealing with this for a couple of days and i just couldn't find the way to solve it.

I only have to do a zimlet that after a single click on the panelItems, opens a window with an URL passing the logged username as a parameter.

This is my code. It is almost done, the prob is that i can't find a way to get the username property.

<zimlet name="com_x_x" version="1.0" description="Link">
<summary>
This Zimlet will provide the link
</summary>
<zimletPanelItem label="The Link" icon="http://x/test.ico">
<toolTipText>
Use the link
</toolTipText>
<onClick>
<canvas type="window" width="300" height="300"/>
<actionUrl method="post" target="http://site/Servlet">
<param name="USER">what goes here?</param>
</actionUrl>
</onClick>
</zimletPanelItem>
</zimlet>


Thanks a lot
Reply With Quote