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

Context-relative path example does not use context-relative path in showcases

    Details

      Description

      The showcase examples for images claim to show a context-relative path example, but the code uses EL instead:

      <!-- Example 1: Context-relative path to a resource via the value attribute -->
      <h:form>
          <showcase:example description="#{i18n['h-graphicimage-general-example-1']}" number="1" renderedCheckbox="true">
              <h:graphicImage rendered="#{showcaseModelBean.selectedComponent.rendered}"
                  value="#{resource['images:jsf-logo-small.png']}" />
          </showcase:example>
      </h:form>
      

      Note that fixing this issue would not have demonstrated FACES-3103 since the showcases do not place resources in /WEB-INF/resources.

        Attachments

          Activity

            People

            • Assignee:
              kyle.stiemann Kyle Stiemann (Inactive)
              Reporter:
              kyle.stiemann Kyle Stiemann (Inactive)
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                alloy-2.0.1
                metal-1.0.0
                showcase-2.0.1
                showcase-3.0.1
                alloy-3.0.1
                showcase-4.0.0