Writing b / s applications, it often needs a check the validity of the domain. Our general practice is to write javascript function checks the validity of the domain, and then submitted through, not prompted by the error. Now there is such a demand, that is, b / s on the check comes rtf javaapplet notes editor content. We need to find ways to use that access to the notes js editor. Built one of the most simple form, the form contains a display with javaapplet rtf domain name MYRTF. Preview in the web, view the following html code to the source documents are: HTMLHEADMETA HTTP-EQUIV = "Content-Type" CONTENT = "text / html; charset = GB2312" SCRIPT LANGUAGE = "JavaScript"! - Document._domino_target = "_self "; function _doClick {var form = document._rtftest; if {var retVal = form.onsubmit; if return false;} var target = document._domino_target; if {if target = BGCOLOR =" FFFFFF "FORM METHOD = post ACTION =" / application / test / William / test.nsf / rtftest? OpenForm Seq = 1 "INPUT TYPE = hidden VALUE =" 0 "APPLET CODE =" lotus.notes.apps.editorapplet.EditorApplet.class "CODEBASE =" / domjava "ARCHIVE = "editor.cab" ALT = "Editor" TITLE = "rtftt" WIDTH = "100%" HEIGHT = "100%" MAYSCRIPTPARAM VALUE = "editor.cab" PARAM VALUE = "zh-cn" / APPLETINPUT TYPE = hiddenSCRIPT LANGUAGE = "JavaScript"! - document._rtftest.MYRTF.editorApplet = document.lnaMYRTF; / / --/SCRIPT/FORM/BODY/HTML can see the domino domain for the MYRTF had two elements. Called lnaMYRTF the APPLET and called MYRTF the hidden input. Js statement through associate these two elements. Just above the surface of the phenomenon for us, our concern in the js function _getEditAppletData been answered. As long as we use the applets. GetText method to get the contents of the applet. However, using this method to get the rtf formatted html content domain, if we want the text without formatting can be used. GetText. The following is what I used to judge whether the rtf editor empty js statement: Empty =. replace.replace =="") to this problem is solved. Back and look at the html source file, we can see that domino on the form submission processing. Called when the form is submitted function to find all editorApplet _getEditAppletData related fields, and then the corresponding applet in the html formatted content assigned to the corresponding field, then continue to submit work. Conclusion:
From a global perspective, the accounting profession is one of the oldest profession, the past 50 years, the accounting profession system is almost no particularly large change, but our economic life due to the impact of scientific and technological progress already has undergone enormous changes. Valuable property in the past in todays enterprises become more and more important, such as machinery and equipment and other tangible assets, whereas previously been neglected by proprietary technology, patents, trademarks, goodwill, and corporate personnel, in todays enterprise it has become a life and death. But the economic life of such subtle changes but did not cause a corresponding change in the accounting system, some companies still do not know how to CFO accurately and objectively to measure these intangible assets. However, business failure but is usually associated with these assets. This led many financial professionals from the CFO can not advance notice in terms of business risk. Combined with new technologies in the financial sector, driven by the many innovative tools to further increase financial risk and CFO measure the difficulty of operating risk, so that CFO exposure to a high risk industry sectors. Recently several cases emerged in the United States a large accounting fraud case, and both are associated with these factors. Meanwhile, CFO is one of the leading companies, he also assumed responsibility for the future design of the enterprise.
About IcFull.com | Services | Payment | Advertisements Service | Contact Us | Links
All rights reserved:iceach.com © 2000-2010 Certificate No.:Guangdong ICP No.08108781