Results 1 to 3 of 3

Thread: Where do I start...

  1. #1
    Join Date
    Sep 2006
    Location
    Illinois
    Posts
    374
    Rep Power
    9

    Default Where do I start...

    I posted a couple days ago asking about how to query LDAP with JSP....and I think I maybe know how that gets done. What I'm unsure of is how to put the backend JSP LDAP query together with the .js file that is going to present the results to the user in Zimbra.

    I'm trying to start very basic here.....I just want to create a Zimlet Icon that when you click on it once, it sends an LDAP query out to the external LDAP with my username and returns some attribute/value pair back to the screen in a small output box.

    How do I tell the Zimlet .js file to send the username to the Zimlet .jsp file for the backend query...an include of some kind?

    Matt

  2. #2
    Join Date
    Sep 2006
    Location
    Illinois
    Posts
    374
    Rep Power
    9

    Default

    Looking at the com_zimbra_jspsample Zimlet....maybe I don't need a Javascript file....and just need to use an XML file to create the Zimlet actions I need for the user?

    Matt

  3. #3
    Join Date
    Sep 2006
    Location
    Illinois
    Posts
    374
    Rep Power
    9

    Default

    Something like this? Where do I find what "actionType" and "canvasType" I need here?

    Code:
    <zimlet name="edu_wiu_email_starnum" version="1.0" description="EmailStarnum">
    
    <zimletPanelItem label="EmailStarnum"> 
      <toolTipText>
      Click to query LDAP...
      </toolTipText>
    
      
      <someAction type="...">
        <canvas type="..." width="300" height="200"/>
        <actionUrl target="/service/zimlet/_dev/edu_wiu_email_starnum/ldap.jsp">
          <param name="username">${obj.uname}</param>
        </actionUrl>
      </someAction>
      
    </zimletPanelItem>
    
    </zimlet>
    ...and then the JSP would do the query and return the output back to the screen somehow?

    Matt

Similar Threads

  1. Errors installing Outlook Connector
    By Tim G in forum Zimbra Connector for Outlook
    Replies: 57
    Last Post: 05-05-2011, 02:27 PM
  2. Replies: 7
    Last Post: 02-03-2011, 06:01 AM
  3. Zimbra .pids / service monitoring
    By bin2hex in forum Administrators
    Replies: 24
    Last Post: 04-03-2010, 09:12 PM
  4. Error Installing Outlook Connector
    By DanO in forum Zimbra Connector for Outlook
    Replies: 17
    Last Post: 08-28-2007, 09:35 AM
  5. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 10:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •