Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3374

Wrong parameter defintion in navigation rule of showcase

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: showcase-2.0.1, showcase-3.0.3
    • Fix Version/s: showcase-3.0.4
    • Component/s: JSF Showcase
    • Labels:
      None

      Description

      The file /jsf-showcase-webapp/src/main/webapp/WEB-INF/navigation-rule.xml contains the following redirect:

      <redirect>
      	<view-param>
      		<name>componentPrefix</name>
      		<value>#{showcaseModelBean.selectedComponent.prefix}</value>
      	</view-param>
      	<view-param>
      		<name>componentName</name>
      		<value>#{showcaseModelBean.selectedComponent.lowerCaseName}</value>
      	</view-param>
      	<view-param>
      		<name>componentUseCase</name>
      		<value>param</value>
      	</view-param>
      </redirect>
      

      When validating against web-facesconfig_2_3.xsd Eclipse and other validators complain about the <view-param>, which is correct, it should be <redirect-param>.

      I wonder if this ever worked as intended (I didn't check).

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: