tailieunhanh - Quản lý cấu hình web - part 31

Tham khảo tài liệu 'quản lý cấu hình web - part 31', 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 8 Create a new file with the name given previously in the templateinstance tag. Create the file. Insert the following code DOCTYPE html PUBLIC - W3C DTD XHTML Strict EN http TR xhtml1 DTD html xmlns http 1999 xhtml head title title head body Home Page body html Step 9 Test the application. You will find your home page is ready now. You should be able to test by hitting the URL of your web or app server. Navigate to the home page URL http server-name port surf. You will face a caching issue while using the Surf framework. In order to save server restart during development of an application you can disable cache for the time period. 1. Edit the WEB-INF classes alfresco file. 2. Search for the word updateDelay and change the value to 0. There are two occurrences and properties to change property name updateDelay value 0 value property 3. Restart your application server for the change to take effect. OR By reloading the page the changes will not be reflected. You have to explicitly clear the cache. Browse to the cache as follows http server-name port surf control cache invalidate ---------------------------- 282 -------------------------------- Download from Wow eBook Chapter 9 Use of a component in a page The Surf framework binds the component to the specific region of a page and also specifies scope. Using this one can decide the position of the component to be placed in the page. For instance the footer should always be at the bottom of the page and the header should always be at the top of the page. As discussed earlier each component has scopes to be defined. The Surf framework defines three categories of scopes Global Available across all pages. For example the header and the footer template can have global access which will be available on any page of the application. These are sections of the page that will .

TỪ KHÓA LIÊN QUAN