Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Property

Description

Name

Name of the resource.

Type

The type of the resource. It can be Article, Template or other resource (Image, Item, Properties, CSS).

References

The name of other resources that hold a reference to this resource.

Version

The current version of this resource.

Resource categories

1. Templates

The layout of the web pages follows the *Template* pattern. This way the layout and the design of the web page can be changed very easy. A template is a zk page that defines placeholders for different regions of the web page, regions that are defined in the framework as *zones*. In the figure below you can see a 4-region page: the header, the upper-left menu, the lower left menu and the center.

Image Added
Figure 3. Template with 4-zones layout.

Template actions

To *add*a template the user has to:

  • have Template resource selected from the left menu of the Resource Library (see figure 2)
  • click on Add button (see figure 2)

To edit a template the user has to:

  • either double-click on the template name or
  • select a template, open the contextual menu by right-clicking on the template name and then select Edit

To delete a template the user has to:

  • select a template, open the contextual menu by right-clicking on the template name and then select Delete

Other actions like Preview, Copy/Cut/Paste and Show revisions are available for templates to ease the work.

Notes: Template names have to be unique. A template can contain any zkoss markup plus CDRator templates special tags (labels, conditions, blocks)

2. Articles

These are static zkoss scripts that are used to fill the zones in a template. They fit as tiles in the layout and can easily be changed, thus changing the page looks and functions. Below there is an article example.

Image Added

Figure 4. Article example - can be used for the header zone.

Article actions

To add an article the user has to:

  • have Article resource selected from the left menu of the Resource Library (see figure 2)
  • click on Add button (see figure 2)

To edit a article the user has to:

  • either double-click on the article name or
  • select an article, open the contextual menu by right-clicking on the article name and then select Edit

To delete a article the user has to:

  • select an article, open the contextual menu by right-clicking on the article name and then select Delete

Other actions like Preview, Copy/Cut/Paste and Show revisions are available for articles to ease the work.

Notes: Template names have to be unique. A template can contain any zkoss markup plus CDRator templates special tags (labels, conditions, blocks)