Trying to make a zimlet that searches email text for job number and will search db and return possible matches in new window/tab. So far I have the search for job numbers part OK (at least good enough to test with). As soon as I add any 'onCllick' info the search for job numbers stops working and I've yet to get it to open a new window and return results. Have even gone so far as just trying to have it open my company's webpage but no dice. Has to be something simple.
This is my first zimlet. Newb to js and all that too. First text is trying to search and return possible matches for job number. Second is just trying to open my company's webpage. Both are XML and have no other accompanying files
Thx..Matt
Code:<zimlet name="com_kucera_jobnum" version="1.0" description="Kucera Job Number Zimlet"> <summary> This Zimlet will search for job numbers (30000-79999) within emails and, upon user click, search job database to provide likely matches in a new window (hopefully a new tab, not window). </summary> <contentObject> <matchOn> <regex attrs="ig"> [3-7][0-9][0-9][0-9][0-9] </regex> </matchOn> <toolTip sticky="false">Search Job #</toolTip> <onClick> <actionUrl method="get" target="http://ma09/writeupdb/listings.php?search_list=y&linked_items=include&title_match=partial&title="> <param name="">${src.objectContent}</param> </actionUrl> </onClick> </contentObject> </zimlet>Code:<zimlet name="com_kucera_jobnum" version="1.0" description="Kucera Job Number Zimlet"> <summary> This Zimlet will search for job numbers (30000-79999) within emails and, upon user click, search job database to provide likely matches in a new window (hopefully a new tab, not window). </summary> <contentObject> <matchOn> <regex attrs="ig"> [3-7][0-9][0-9][0-9][0-9] </regex> </matchOn> <toolTip sticky="false">Search Job #</toolTip> <onClick> <actionUrl method="get" target="http://www.kucerainternational.com"> </actionUrl> </onClick> </contentObject> </zimlet>


LinkBack URL
About LinkBacks
. Code below. 




