点击按钮从Lotus Notes调用Javascript [英] Invoking a Javascript from Lotus Notes on click of a button

查看:127
本文介绍了点击按钮从Lotus Notes调用Javascript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为vb6早期内置的组件构建一个概念证明。由于该组件具有复杂的UI元素,因此我无法确定我能用Lotus Notes UI元素再现多少相同的东西。我现在正在寻找的是以下内容。

I am building a Proof Of Concept for a component that was earlier built in vb6. Since the component has complex UI elements, I am not really sure how far i can reproduce the same thing with Lotus Notes UI elements. What I am now currently looking to do is the following.


  1. 在现有的LN表单中创建一个按钮。

  2. 当按钮被点击时,它会调用一个JavaScript,它将创建一个模板(或者动态加载htm)htm页面,并附带必要的界面元素。

  3. 使用jQuery或Dojo来Ajaxify界面和http请求。

  4. 一旦用户点击htm页面上的按钮,将选择值返回到表单。

  5. 卸载htm模板和旋转拇指,好像没有发生任何事情。

  1. Create a Button in an exist LN form.
  2. When the button is clicked it invokes a javascript which will create a template (or load the htm dynamically) htm page with the necessary interface elements.
  3. Use jQuery or Dojo to Ajaxify the interface and the http requests.
  4. Once users click on a button on the htm page, return the select values to the form.
  5. Unload the htm template and twiddle thumbs as if nothing happened.

首先,我不知道这是否可能,那可能吗?如果是的话,那么你们可以给我提供样品或样品的任何链接,绝对有帮助。

First off, I am not sure if this possible, so is it possible ? If yes then can you guys give me any links to samples or samples which definitely will be helpful.

Btw我正在构建此组件的LN应用程序不是网络启用并且纯粹是LN桌面应用程序。

Btw this LN application on which i am building this component is not web enabled and is purely a LN desktop application.

对此的任何帮助将赞赏。

Any help on this would appreciated.

推荐答案

您可以从正常的Lotus Notes按钮中调用Javascript,它将在Lotus Notes客户端中运行。但是,Notes客户端无法识别所有 Javascript。例如, document.write(...)调用不起作用。

You can invoke Javascript from within a normal Lotus Notes button, and it will run in the Lotus Notes client. However, the Notes client doesn't recognise all Javascript. For example, document.write(...) calls don't work.

如果您有Domino Designer然后搜索设计师帮助中的用于自动化组件的受支持的JavaScript对象表 - 该文档可能有助于确定在Notes客户端中可以执行的操作。

If you have Domino Designer installed (and I presume you do!) then search Designer Help for "Table of supported JavaScript objects for automated components" -- that document may help identify what you can and can't do in the Notes client.

祝你好运。

这篇关于点击按钮从Lotus Notes调用Javascript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆