Hi,

I want to provide the user with a "mailto" link and also append a
predefined subject, from a MessageBundle, where there is one
parameter. Let's see the code:

<h:outputLink value="mailto:#{usuarioBean.usuario.email}";>
  <h:outputText value="#{usuarioBean.usuario.email}"/>
  <f:param name="subject">
    <h:outputFormat value="#{mapaMensajes.oferta_Subject}">
      <f:param value="#{ofertaBean.oferta.marca} #{ofertaBean.oferta.modelo}" />
    </h:outputFormat>
  </f:param>
</h:outputLink>

This obviously throws an exception, as <f:param> cannot have body, but
it serves to illustrate what I am trying to do. The thing is that my
<f:param> to <h:outputLink> is a message from a ResourceBundle which
itself needs another param.

How this can be done?

Reply via email to