AnsweredAssumed Answered

Use of property Tag

Question asked by ppy62 on May 27, 2009
Hello,

In a custom Jsp. I try to use the property tag and to customize the displayed label.

The sample code is:

<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>

<f:loadBundle basename="alfresco.extension.webclient" var="customMsg"/>

<h:outputText value="#{customMsg.appointments_text}" />

<r:propertySheetGrid
  id="filePropertyGrid"
  value="#{WizardManager.bean.fileNode}"
  var="fileProperties"
  externalConfig="true"
  mode="edit"
>
   <r:property name="myModel:appointments" displayLabel="#{customMsg.appointments_text}"/>
</r:propertySheetGrid>

The text shown by the 'outputText' is translated while the property's label isn't.

Any clue?

Many thanks.

Patrick

Outcomes