| Profil de JohnJohn West Blogs about Si...PhotosBlogListes | Aide |
|
07/07/2009 Sitecore CMS 6.1 (Rendering) Parameters TemplatesWith Sitecore CMS, you’ve always been able to pass a data source item and any number of additional parameters to control how each sublayout and rendering functions. Prior to version 6.1, you could enter parameters in the control properties dialog as key=value pairs. Sitecore parses XSL code and uses reflection to determine the parameters available for XSL and .NET presentation components. For example, if you add the IncludeDetails parameter to the default sample XSL rendering: <xsl:param name="IncludeDetails" /> Then you will see this parameter in the control properties dialog, along with the default parameters: Sitecore 6.1 introduces parameters templates to let you define specific user interfaces to enter parameters for each rendering and sublayout. The Presentation Components Reference manual describes parameter templates in detail, but here’s my quick summary of how to implement a parameters template:
The fields you defined in the parameters template now appear in the new control properties dialog: CommentairesPour ajouter un commentaire, connectez-vous avec votre identifiant Windows Live ID (si vous utilisez Messenger ou Xbox LIVE, vous avez un identifiant Windows Live ID). Connectez-vous Vous n'avez pas d'identifiant Windows Live ID ? Inscrivez-vous RétroliensL'URL de rétrolien de ce billet est : http://sitecorejohn.spaces.live.com/blog/cns!960125F1D4A59952!418.trak Blogs Web qui font référence à ce billet
|
|
|