tailieunhanh - Quản lý cấu hình web - part 32
Tham khảo tài liệu 'quản lý cấu hình web - part 32', công nghệ thông tin, đồ họa - thiết kế - flash phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Alfresco Surf and Web Editor Step 3 Modify the file . Uncomment the following code that is placed in the file. This configures the remote Alfresco repository as an endpoint. endpoint id alfresco-system id name Alfresco - System access name description System account access to Alfresco description connector-id alfresco connector-id endpoint-url http localhost 8080 alfresco s endpoint-url identity declared identity username admin username password admin password unsecure true unsecure endpoint The rest of the case study is covered in Chapter 10 in the Alfresco WCM -Surf-based Web application integration section. Now we shall create one more web script that will call other web scripts that are stored in Alfresco WCM to fetch data. Step 1 Create a news folder inside the site-webscripts components common folder. Create a new file in the news folder. Insert the following code webscript shortname News shortname description Calls the remote Alfresco web script description url component common news news url webscript Step 2 Create a template file in the same location and insert the following code meta http-equiv Content-Type content text html charset UTF-8 meta name description content Small Corporation meta name keywords content small corporation link rel stylesheet type text css href css media screen link rel stylesheet type text css href css media screen table width 100 cellspacing 0 cellpadding 0 border 0 tr td valign top 292 Download from Wow eBook Chapter 9 list news as n br list td tr table Step 3 Create a JavaScript file in the same location and insert the following code get a connector to the Alfresco repository var connector alfresco-system var jsonFeed http localhost 8080 alfresco service org cignex news storeId cignex var obj eval jsonFeed if obj obj .
đang nạp các trang xem trước