Hi!
 
I have a question when it comes to commandButtons and handling "parameters" to the action method:
 
If I use the <f:param> way for sending parameters, I can use the #{messages.XXXXXX} in the value field of the f:param.

<h:commandLink action="#{myBean.MyAction}" value="#{messages.aMessage}" >

    <f:param name="name1" value="test" />

    <f:param name="name2" value="#{messages.name}" />

</h:commandLink>

But, if I use a t:updateActionListener to set the property in the bean, the #{messages.XXXXXX} sent into the value is null.

<h:commandLink action="" value="#{messages.aMessage}" >

    <t:updateActionListener property="#{myBean.name1}" value="myName"></t:updateActionListener>

    <t:updateActionListener property="#{myBean.name2}" value="#{messages.name}"></t:updateActionListener>

</h:commandLink>

So, has this something to do with the different phases and when the form is

Reply via email to