国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 學(xué)院 > 開(kāi)發(fā)設(shè)計(jì) > 正文

PowerFolder 工作流服務(wù)器版本0.5 試駕之旅(5)

2019-11-17 06:07:41
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友

Web Page Development and Web Client API
Web頁(yè)面開(kāi)發(fā)和Web客戶端提供的API
 3.1 Overview 概述
To create or edit existing web pages, from the PowerFolder Console click 'Develop', then 'Web
Pages'. You can either edit an existing web page by clicking the 'Edit' button beside it or create a
new web page by entering its name in the box next to 'New Web Page' and clicking 'Create'.
Remember, new and editted web pages cannot be seen by outside viewers until they are deployed
under the 'Administer' section.
為了創(chuàng)建頁(yè)面和編輯已有頁(yè)面,從PowerFolder控制臺(tái)單擊Develop,然后Web
Pages.你可以編輯一個(gè)現(xiàn)存的頁(yè)面,通過(guò)單擊它旁邊的Edit按鈕,或者通過(guò)在New Web
Page' 旁的文本框中輸入它的名字并且單擊'Create'按鈕來(lái)創(chuàng)建一個(gè)新頁(yè)面。記住,新的
和編輯的頁(yè)面不能從外部觀察者看到直到他們?cè)?Admimister'部分被發(fā)布為止。

Standard Html is rather bland. It just displays things for the user to see, but it can't understand
commands issued by the user or 'do anything'. It can't read HTML 'form' parameters, it can't use
user submitted information to change the state of a workflow.
標(biāo)準(zhǔn)的HTML是相當(dāng)謙遜的。它僅僅顯示用戶看到的,不過(guò)它不能理解用戶發(fā)出的做
任何事情的命令。它不能閱讀HTML form參數(shù),它也不能利用用戶提交的信息來(lái)改變工作
流的狀態(tài)。

That is where 'client' comes in. By default, it is included with every web page in PowerFolder. Its
role is to simplify the PRocess of making HTML 'intelligent'.
這就是client進(jìn)入的原因。缺省情況下,它被包含在PowerFolder的每個(gè)頁(yè)面之
中。它的作用是簡(jiǎn)化使HTML智能的過(guò)程。

Web pages in PowerFolder use java jsp scripting and syntactically correct scripting means
following the JSP conventions. For a general script area within a web page, start it with '<%' and
end it with '%>'. For a one line script that writes output that the user will see, start it with '<%= '
and end it with '%>'.
PowerFolder中的web頁(yè)面使用jsp腳本,通過(guò)JSP轉(zhuǎn)換來(lái)得到正確的腳本含義。對(duì)
于一個(gè)頁(yè)面中的腳本區(qū)域,它開(kāi)始于<%,結(jié)束于%>,對(duì)于一行中的腳本,用于輸出給用戶可
見(jiàn)的內(nèi)容,開(kāi)始于<%=,結(jié)束于%>。

The goal of 'client' is to minimize the learning curve and make the scripting process more
enjoyable.
client的目標(biāo)是使學(xué)習(xí)過(guò)程最小化而且使腳本流程更有趣。

PowerFolder can use any Java class or primitive, but by default it uses 3 variable types –
Boolean, Decimal, and String. In the view of 'client' these represent 'boolean', 'double', and
'java.lang.String' in Java.
PowerFolder可以使用任何java類和主類型,但缺省情況下它使用三種變量類型-
Boolean, Decimal, 和 String. 在client的觀點(diǎn)來(lái)看,這些表示了Java中的boolean,
double, 和java.lang.String。

Note about below - when '()' is used to surround a name in a description, it is referring to an input
argument. For instance if 'startWorkflow("Hello")' will start a workflow with trigger data
'<powerfolder>Hello</powerfolder>', not '<powerfolder>(arguement1)</powerfolder>'.
注重下面內(nèi)容,當(dāng)()被用來(lái)在描述中包圍一個(gè)名字時(shí),它表示一個(gè)輸入?yún)?shù)。例如如
果'startWorkflow("Hello")'將啟動(dòng)一個(gè)工作流,帶有觸發(fā)數(shù)據(jù)'<powerfolder>Hello


發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 平南县| 阳原县| 从化市| 鹤岗市| 孝义市| 忻州市| 凯里市| 拜泉县| 宜兰县| 平舆县| 吉水县| 沐川县| 巫溪县| 永德县| 安塞县| 峡江县| 尼木县| 米脂县| 高邮市| 布尔津县| 富阳市| 蛟河市| 临泽县| 阳春市| 浦东新区| 克拉玛依市| 高碑店市| 成都市| 修文县| 新平| 平度市| 通河县| 石台县| 浙江省| 手游| 两当县| 旌德县| 榕江县| 秦皇岛市| 台前县| 万山特区|