Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 71409 invoked from network); 28 Sep 2006 09:24:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Sep 2006 09:24:48 -0000 Received: (qmail 46496 invoked by uid 500); 28 Sep 2006 09:24:41 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 46451 invoked by uid 500); 28 Sep 2006 09:24:41 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 46440 invoked by uid 99); 28 Sep 2006 09:24:41 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Sep 2006 02:24:41 -0700 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=HTML_MESSAGE Received: from [80.239.21.142] ([80.239.21.142:42352] helo=mail.global-office.no) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id AD/4D-05478-5C49B154 for ; Thu, 28 Sep 2006 02:24:33 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6E2E0.4771E25E" Subject: When is messageResources.properties available? #2 Date: Thu, 28 Sep 2006 11:24:13 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: When is messageResources.properties available? #2 Thread-Index: Acbi39zRowZD/2mkQR6320XtuVQczw== From: =?iso-8859-1?Q?R=F8nnevik=2C_Eivind?= To: "MyFaces Discussion" X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C6E2E0.4771E25E Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi again - pressed the wrong button :) =20 I have a question when it comes to commandButtons and handling = "parameters" to the action method: =20 If I use the way for sending parameters, I can use the = #{messages.XXXXXX} in the value field of the f:param. =20 But, if I use a t:updateActionListener to set the property in the bean, = the #{messages.XXXXXX} set into the value is null. =20 So, has this something to do with the different phases and when the form = is submitted? =20 Hope to get an answer.. :) =20 Regards, =20 Eivind ------_=_NextPart_001_01C6E2E0.4771E25E Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi again - pressed the wrong button=20 :)
 
I have = a question=20 when it comes to commandButtons and handling "parameters" to the action=20 method:
 
If I = use the=20 <f:param> way for sending parameters, I can use the = #{messages.XXXXXX} in=20 the value field of the f:param.

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

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

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

</h:commandLink>

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

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

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

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

</h:commandLink>

So, has this=20 something to do with the different phases and when the form is submitted?
 
Hope to get an answer..=20 :)
 
Regards,
 
Eivind
= ------_=_NextPart_001_01C6E2E0.4771E25E--