Reply To: dynamic url

Splash Forums PrettyFaces Users dynamic url Reply To: dynamic url



got it working

    <pattern value="/info/#{contentController.viewPage}" /> 
    <view-id value="/META-INF/templates/layout.jsf" />
  	<pattern value="/#{ /.+/ katName }/"></pattern>
 	<view-id value="/kategorien.jsf"></view-id>
  	<pattern value="/#{ /.+/ katName }/[^.]+$"></pattern>
 	<view-id value="/artikelDetails.jsf"></view-id>

categorie directorys like:
-> works -> viewID /kategorien.jsf will be used

article detail Pages like:
-> works -> viewId artikelDetails.jsf will be used

info Pages like:
-> works -> viewID /META/templates/layout.jsf will be used

System Pages like:
-> works -> cos regex pattern exclude the last end of the url if it contains a dot

  • This reply was modified 8 years, 4 months ago by  senceffm.