跳到主要內容

XPage 紀錄 – IBM XPage Lab 實作 (二)

XPage 紀錄 – IBM XPage Lab 實作 (二)

        R5、R6寫Web時都習慣用『圖文框』來做Web頁面的框架,甚至現在做Client程式圖文框還是很好用的一個元件,而此章節著重於介紹XPage提供的畫面(panel)替代圖文框使用,據IBM Lab文件說明『畫面控制項其實就是DIV tag』,也就是Web tag中的Div,是個很方便好應用的標籤,以下就來看看巢裝畫面的應用。

元件移動的操作方式:
1.      可以在元件上直接拖拉

 2.      程式碼畫面編輯


 3.      從概要拖拉


輕輕鬆鬆完成Lab中所要的巢狀架構



而Xpage要使用CSS也更為便利了,IBM Lab練習也提供了制式CSS風格檔,依練習腳本匯入所有CSS以及相關檔案。
將樣式表匯入資料庫資源
 XPage或自動控制項指定使用特定CSS檔案
 從元件中匯入CSS檔


指定各元件之CSS樣式



完成,預覽



留言

這個網誌中的熱門文章

XPage 紀錄 – IBM XPage Lab 實作 (四)

本次重點在於,自動搜尋 (type-ahead) 功能,跟目前 Web 上輸入文字,自動帶出關鍵字方便使用者輸入。 1.開啟 profileForm 建立下拉 ( 組合框 ) 欄位的選項值↓ 點選該欄位,選下方『值』 à 先點『新增項目』出現未命名,在輸入選項值↑

安裝 Office 2003 Service Pack 3 後,特定檔案格式會被封鎖的資訊

安裝 Office 2003 Service Pack 3 後,特定檔案格式會被封鎖的資訊 檢視此文章適用的產品。 注意事項 重要 本文包含如何修改登錄的相關資訊。修改登錄之前,請務必將它備份起來,並了解在發生問題時如何還原登錄。如需有關如何備份、還原和修改登錄的詳細資訊,請按一下下面的文件編號,檢視「Microsoft 知識庫」中的文件: 256986 (http://support.microsoft.com/kb/256986/ ) 說明 Microsoft Windows 登錄 在此頁中 結論 簡介 其他相關資訊 Excel PowerPoint PowerPoint Word Corel Draw

Notes改 Internet Password

Internet Password Change application helps users in changing their Internet Password. This application is 'web browser only' application and is IE and Netscape browser complaint. The application gets the new password as input from the user and updates the Internet Password in his person document in the address book. Please note that this application is an enhancement over previous version available at:   http://www.notes.net/sandbox.nsf/ByDateNJ/6b3ac13c82ba68c885256b4f0074c89d?OpenDocument Use this version when "Use more secure Internet Passwords" option is enabled in the Domino Directory Profile. If the option is not enabled then using the previous version is advisable. Using the application: Step 1: Sign the database using an ID which can edit any person document in the names.nsf. Usually this will be the server administrator. Step 2: Open the "Change Password" form from anywhere on your Intranet. Sample Code -