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 02-12-2007, 02:15 AM
Active Member
 
Posts: 32
Default Form not getting opened up when clicking content in email

Hello,

I am trying to open a from when clicking particular content in email body.But its nto working.

This is my code .Please have a look at it and let me know where i am wrong and how to rectify the same.

Code:
<zimlet name="com_zimlet1" version="1.0" description="zimlet1">
	<contentObject>
		<matchOn>
			<regex attrs="ig">Desired Target</regex>
		</matchOn>	
		<toolTip>Click to open form</toolTip>
		<onClick>
			<canvas type="window" width="300" height="600"/>
			
			<formEditor name="dataEntryForm">
				<field type="string" name="firstName" label="First Name" minLength="0" maxLength="50" visualType="inputField" />
				<field type="string" name="lastName" label="Last Name" minLength="0" maxLength="50" visualType="inputField" />
				<field type="date" name="dob" label="Date Of Birth"/>
				<field type="enum" name="fruit" label="Select Fruit" >
					<item value="Apple" visualType="select"/>
					<item value="Grapes" visualType="select"/>
					<item value="Orange" visualType="select"/>
					<item value="Banana" visualType="select"/>
				</field>
			</formEditor>
		</onClick>
	</contentObject>
</zimlet>
Thanks.
Reply With Quote
  #2 (permalink)  
Old 02-12-2007, 09:40 PM
Zimbra Employee
 
Posts: 4,792
Default

You might be better off just looking at a Zimlet that already does something similar to what you want. Not sure the canvas with embedded formEditor has been used that much.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 02-12-2007, 10:01 PM
Active Member
 
Posts: 32
Default

Hi Kevin,

Didn't get you....Can you please elaborate on what to do??

Thanks.
Reply With Quote
  #4 (permalink)  
Old 02-12-2007, 10:12 PM
Zimbra Employee
 
Posts: 4,792
Default

Try creating your Zimlet based on one of the samples. The method your using is not well tested and may not work.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #5 (permalink)  
Old 02-12-2007, 10:18 PM
Active Member
 
Posts: 32
Default

So are u suggesting to use a mix of javascript and Ajax ???If yes, then please let me know from which of the default zimlets i can get better exposure to the thing i want to achieve..

Thanks...
Reply With Quote
  #6 (permalink)  
Old 08-14-2008, 03:15 PM
Starter Member
 
Posts: 1
Default

Could you point me to an example that actually uses formEditor? I can't find a single example that actually uses one. I'm trying to do the same thing as the OP, and having the same issue.
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.