Click OK. Changing the Parameters of a Fragment

13-6 Oracle Fusion Middleware Users Guide for Site Studio Designer 6. To see what the fragment looks like with different parameter values selected, click Change Parameter Values , enter the appropriate values in the fields provided, and then click OK to return to the Fragment Preview dialog. 7. Click Finished when youre done previewing the fragment. For a description of all the sample fragments and their parameters in the Toolbox, see Appendix C, Sample Fragments. You cannot preview a static list fragment in the Fragment Preview dialog because the list requires a contributor data file with content in it to be viewed properly.

13.7.2 Choosing Different Parameters for a Fragment

You can customize the way a fragment appears by changing its parameters in the Fragment Parameter Values dialog when you preview a fragment or add it to a page template, subtemplate, or region template. You can also change those values after youve added the fragment.

13.7.3 Choosing Different Parameters When Adding a Fragment

To choose different parameters when adding a fragment, perform these tasks: 1. Place your cursor in the template where you want the fragment to appear.

2. In the Toolbox, click a fragment category: Navigation Fragments, Dynamic List

Fragments , Static List Fragments, or Other Fragments. Then click the desired fragment. 3. In the Fragment Parameter Values dialog see Fragment Parameter Values Dialog on page A-96, enter the appropriate values in the fields provided, and click OK. or If youre adding a list fragment to a contribution region, enter the appropriate values in the Element dialog and then click Parameters to change its parameters. Click OK twice to close the Fragment Parameter Values and the Element dialog.

13.7.4 Changing the Parameters of a Fragment

After youve added a fragment to a template, you can still change its parameters and thus its appearance on a web page. To change the parameters of a fragment, perform these tasks: 1. In design view, double-click the fragment. or In source view, right-click the fragment and choose Edit Fragment Instance. 2. Change the desired parameter values in the Fragment Parameter Values dialog see Fragment Parameter Values Dialog on page A-96.

3. Click OK.

You cannot change the parameter values of a fragment that has been added to a page template if that fragment contains snippets included as type simple see Adding, Editing, and Deleting Fragment Snippets on page 13-14. For a description of each parameter included in the sample fragments, see Appendix C, Sample Fragments. Please note, however, that some fragments may not contain parameters. Working With Fragments 13-7 To add parameters to a fragment or to further customize the fragment, you can edit the fragment in the Fragment Editor see Editing Fragments on page 13-7.

13.8 Editing Fragments

There are two ways to change the appearance of a fragment on your Web site: change its parameters see Choosing Different Parameters for a Fragment on page 13-6 or change the fragment. By editing a fragment, you can completely change its appearance and functionality to meet your needs. You can even create your own parameters so that you can ensure editing decisions later, when you actually add the fragment to a template. There are two ways to edit a fragment: ■ Editing a Copy of a Fragment on page 13-7 ■ Editing a Fragment on page 13-8

13.8.1 Editing a Copy of a Fragment

Editing a copy of a fragment can be useful when you want to edit a fragment without altering the original. You also must edit a copy of a fragment when the fragment library it belongs to is checked out by another user or labeled as read-only see Making a Fragment Library Read-Only on page 13-24. To edit a copy of a fragment, perform these tasks:

1. In the Toolbox, click a fragment category: Navigation Fragments, Dynamic List

Fragments , Static List Fragments, or Other Fragments. 2. Right-click the desired fragment and choose Copy and Edit. 3. The Properties for Fragment dialog see Properties for Fragment Dialog on page A-89 opens, where you can specify individual properties for the fragment.

4. Click OK to close the fragment properties dialog.

5. The fragment opens in the Fragment Editor, where you can start making changes to the fragment see Using the Fragment Editor on page 13-10. Note: The options you choose in the Fragment Parameter Values dialog apply only to this one instance where you added the fragment to a template. You can choose different values each time you add a fragment to a template without affecting the appearance of the same fragment used elsewhere on your site. Note: The fragments that come with Site Studio are read-only, so to edit them, you must choose this option.