Oracle® Universal Content Management 10g Release 4 (10.1.4) |
Contents |
Index |
Previous |
Next |
Site Studio Designer Guide > Working With Fragments > Using the Fragment Editor
A fragment is a container for code ( HTML, XML, JavaScript, Idoc Script), files referenced by that code (graphics, CSS, additional scripts, and so on), and parameters that govern how that code is added to a template.
The file that stores this information is written in XML and is stored in the content server with the fragment assets. The XML file and the fragment assets collectively are called a fragment library.
You can view and edit fragments and the files referenced by that fragment using the Fragment Editor.
Using the Fragment Editor, you can modify existing fragments and create your own fragments. You can turn just about any piece of code or functionality into a fragment that can be added to a template and still managed separately from the template.
The following are some of the tasks you'll perform in the Fragment Editor:
The Preview button in the Fragment Editor performs the same action as using the Preview option in the right-click menu of the Toolbox (see Previewing Fragments).