You'd probably need to put all the logic for generating the param
value inside a bean.  You can access the resource bundle
programmatically just fine. Though, it sure would be nice to be able
to build a String like you're trying to do there.


On Wed, 16 Mar 2005 17:38:16 +0100, Enrique Medina <[EMAIL PROTECTED]> wrote:
> 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?
> 


-- 
-Heath Borders-Wing
[EMAIL PROTECTED]

Reply via email to