1. Trang chủ
  2. » Công Nghệ Thông Tin

Quản lý cấu hình web - part 17 pdf

10 304 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 10
Dung lượng 6,29 MB

Nội dung

Web Content Production with Web Forms [ 142 ] 3. Put the values and click on Next: 4. Fill in the details and click on Next: Download from Wow! eBook <www.wowebook.com> Chapter 4 [ 143 ] 5. In the Summary section, you can preview the content created by you: 6. You can see that the content gets created in the folder specied in the output path. You can preview it from there also: 7. You can also see the content and folder under the modied section (if it is newly-created content) and can preview it from there. Download from Wow! eBook <www.wowebook.com> Web Content Production with Web Forms [ 144 ] 8. The following screenshot shows only the folders because this was the rst news article created and required folders to hold the content (/common/inc/ News.xml ) and the rendered JSP page (/common/inc/News.jsp). Submitting these will clear the Modied Items box, and the next time this news is edited in the Modied box, it will show just the .xml and .jsp les: 9. Continue the previous steps to create the content for blogs and training. 10. As we have created content for news, training, and blog web forms, we can now preview the website Cignex.com from the Preview Website action: Download from Wow! eBook <www.wowebook.com> Chapter 4 [ 145 ] 11. You will see the Cignex home page in the next screen. You will see the news, training, and blog content created by you in the website. The following screenshot shows the dynamic content created on our website: Download from Wow! eBook <www.wowebook.com> Web Content Production with Web Forms [ 146 ] 12. The following screenshot shows the content created by you: 13. On clicking the links in the news section, you will nd the news section you created, as shown in the following screenshot: 14. Similarly, you can see the training content. Download from Wow! eBook <www.wowebook.com> Chapter 4 [ 147 ] Edit web forms for renditions You have added associate web forms and template to a web project. Now you want to update the templates and preview it. Follow these steps: 1. Navigate to Company Home | Data Dictionary | Web Forms | blog <Web Form Name> space. 2. You can update/edit the template using two options. First option: Using edit 1. Click on the View Details action of the blog.ftl le as shown in the following screenshot: 2. Click on the Allow Inline Editing option. It will add one more action, Edit Online, in the right-hand side action pane as shown in the following screenshot: Download from Wow! eBook <www.wowebook.com> Web Content Production with Web Forms [ 148 ] 3. Clicking on Edit Online will open Edit window in which you can edit your template le. After editing, click on Save. 4. You can click on the Done Editing action to save the changes. Second option: Using update 1. Click on the Update action under the More Actions menu of the blog.ftl le: Download from Wow! eBook <www.wowebook.com> Chapter 4 [ 149 ] 2. Clicking on Update will open a window to browse and upload the updated rendering template: 3. Click on Update. 4. Now the template is updated. In the next screen, you can select the Regenerate Renditions action under the More Action menu: Download from Wow! eBook <www.wowebook.com> Web Content Production with Web Forms [ 150 ] 5. Also, you can select Regenerate Renditions from the blog space itself as seen in the following screenshot: 6. In the next screen, you can select for which web project you want to update the renditions. See the following screenshot: 7. If the content is deployed on the staging server, you can preview the content from there. Download from Wow! eBook <www.wowebook.com> Chapter 4 [ 151 ] Associating a .xml le to the web form Suppose you want to do data migration of content from other systems to Alfresco WCM. There is a manageable way by which you can easily move content as XML in WCM and link it to a web form. You can do this through the API or web client extension. Follow these steps to perform the procedure using the web client extension. 1. Upload an .xml le to the web project. This XML le should have the structure similar to the web forms. Go to the Cignex web project. In My Sandbox, click on the Browse Website link to browse to the folders created in the web project. 2. Go to the common | inc folder. Click on Add Content to upload an .xml le of the same structure as the news or blog.xsd. Download from Wow! eBook <www.wowebook.com> . by you in the website. The following screenshot shows the dynamic content created on our website: Download from Wow! eBook <www.wowebook.com> Web Content Production with Web Forms [ 146. content for news, training, and blog web forms, we can now preview the website Cignex.com from the Preview Website action: Download from Wow! eBook <www.wowebook.com> Chapter 4 [ 145 ] 11 modied section (if it is newly-created content) and can preview it from there. Download from Wow! eBook <www.wowebook.com> Web Content Production with Web Forms [ 144 ] 8. The following

Ngày đăng: 05/07/2014, 20:21

TÀI LIỆU CÙNG NGƯỜI DÙNG

  • Đang cập nhật ...

TÀI LIỆU LIÊN QUAN