0 Replies Latest reply on Jul 23, 2009 7:39 AM by sascha242

    JSF: h:outputLink and local files

    sascha242

      Hallo,

      I want to access a local file using h:outputLink, but it does not work: the lin ist displayed correctly, but clicking the href does not have any effect.

      JSF:

      <h:panelGroup id="data">
      <rich:dataTable value="#{logReader.logList}" var="log" columns="2">
      <rich:column width="10%">
      <h:outputText value="#{log.fileName}" />
      </rich:column>
      <rich:column width="90%">
      <h:outputLink value="#{log.url}">
      <h:outputText value="#{log.fileName}" />
      </h:outputLink>
      </rich:column>
      </rich:dataTable>
      </h:panelGroup>


      Any hints?

      Regards,
      Sascha