Red Hat Web Application Framework 6.1 Manual do Utilizador Página 36

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 230
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 35
22 Chapter 5. WAF Component: Presentation
com.arsdigita.templating.PatternStylesheetResolver class is the new preferred
resolver and now the default setting.
5.2.2.2. Pattern Based Resolution
The primary implementation of the stylesheet resolver interface is the class
com.arsdigita.templating.PatternStylesheetResolver. The core idea behind this
approach is that there is a list of abstract paths containing placeholders, of the form ::key::. For
example, a simplified version of the default list of paths looks like:
/__ccm__/apps/::application::/xsl/::url::-::locale::.xsl
/__ccm__/apps/::application::/xsl/::url::.xsl
When resolving which stylesheet to apply, the placeholders are expanded based on the request state,
to generate a list of real paths. Since a placeholder potentially has multiple valid values for a request, a
single abstract path could expand to multiple real paths. Placeholder expansion proceeds left-to-right,
to ensure a deterministic ordering of the list of real paths.
If we consider an example request for the content section admin pages at
/content/admin/index.jsp, the placeholder expansions might be:
::application:: -
(content-section)
::url:: - (admin, index)
::locale:: - (en_US, en)
If we proceed left-to-right with this expansion, the first expansion is for ::application::, leading
to:
/__ccm__/apps/content-section/xsl/::url::-::locale::.xsl
/__ccm__/apps/content-section/xsl/::url::.xsl
Next, the ::url:: placeholder is expanded:
/__ccm__/apps/content-section/xsl/admin-::locale::.xsl
/__ccm__/apps/content-section/xsl/admin.xsl
/__ccm__/apps/content-section/xsl/index-::locale::.xsl
/__ccm__/apps/content-section/xsl/index.xsl
Finally, the ::locale:: placeholder is expanded:
/__ccm__/apps/content-section/xsl/admin-en_US.xsl
/__ccm__/apps/content-section/xsl/admin-en.xsl
/__ccm__/apps/content-section/xsl/admin.xsl
/__ccm__/apps/content-section/xsl/index-en_US.xsl
/__ccm__/apps/content-section/xsl/index-en.xsl
/__ccm__/apps/content-section/xsl/index.xsl
Once all the placeholders have been expanded, these paths will be verified in order and the first
that exists returned as the primary stylesheet for the request. In this example the first match will
be /__ccm__/apps/content-section/xsl/admin.xsl.
Vista de página 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 229 230

Comentários a estes Manuais

Sem comentários

Electrolux IB53X manuals

Owner’s manuals and user’s guides for Unknown Electrolux IB53X.
We providing 1 pdf manuals Electrolux IB53X for download free by document types: Information Sheet






More products and manuals for Unknown Electrolux

Models Document Type
EBKSL6SP User Manual   Electrolux EBKSL6SP Manuel utilisateur [de] , 32 pages
ERN2371 User Manual   Electrolux ERN2371 Uživatelský manuál, 12 pages
EPN09C58HWI User Manual    Electrolux EPN09C58HWI User Manual, 112 pages
ESL6250 User Manual   Electrolux ESL6250 Lietotāja rokasgrāmata, 24 pages
ERB3451 User Manual   Electrolux ERB3451 Használati utasítás [pl] , 20 pages
PQF645UOX User Manual   Electrolux PQF645UOX User Manual [et] [sv] , 20 pages
ASD1080 User Manual Electrolux ASD1080 User Manual, 10 pages
EKV5600 User Manual   Electrolux EKV5600 User Manual, 18 pages
EKD60750X User Manual Electrolux EKD60750X User Manual [id] [ro] , 76 pages
GA60GXI201 User Manual   Electrolux GA60GXI201 Manuale utente [et] , 28 pages
EKG961100X User Manual   Electrolux EKG961100X User Manual [en] , 64 pages
ESL664 User Manual Electrolux ESL664 Brugermanual, 36 pages
ENG2917AOW User Manual   Electrolux ENG2917AOW User Manual, 28 pages
EEC5750AOX User Manual   Electrolux EEC5750AOX Упатство за користење [mk] [sq] , 44 pages
EN3201MOX User Manual      Electrolux EN3201MOX Instrukcja obsługi, 76 pages
RH330LD User Manual   Electrolux RH340LD Benutzerhandbuch, 15 pages
EU8294C User Manual Electrolux EU8294C Användarmanual [it] [pt] , 14 pages
EMS20107OX User Manual      Electrolux EMS20107OX Uživatelský manuál, 88 pages
EGT7353NOK User Manual   Electrolux EGT7353NOK User Manual [et] [it] [it] [sk] , 20 pages
ESF66024 User Manual   Electrolux ESF66024 Ohjekirja, 48 pages