myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From R√łnnevik, Eivind <>
Subject When is available? #2
Date Thu, 28 Sep 2006 09:24:13 GMT
Hi again - pressed the wrong button :)
I have a question when it comes to commandButtons and handling "parameters" to the action
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="#{}" />


But, if I use a t:updateActionListener to set the property in the bean, the #{messages.XXXXXX}
set into the value is null.
<h:commandLink action="#{myBean.MyAction}" value="#{messages.aMessage}" > 

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

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


So, has this something to do with the different phases and when the form is submitted?
Hope to get an answer.. :)

View raw message