Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 87484 invoked from network); 6 Jul 2007 06:45:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jul 2007 06:45:28 -0000 Received: (qmail 68913 invoked by uid 500); 6 Jul 2007 09:37:24 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 68858 invoked by uid 500); 6 Jul 2007 09:37:24 -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 68843 invoked by uid 99); 6 Jul 2007 09:37:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2007 02:37:24 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [217.12.10.40] (HELO web25511.mail.ukl.yahoo.com) (217.12.10.40) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 06 Jul 2007 02:37:18 -0700 Received: (qmail 55910 invoked by uid 60001); 6 Jul 2007 09:36:56 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.es; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=q9VFtIxVHdId5Q5cLX2i9Di6EljKJLRC+4NoI4rTpHET9KnNeNfXUiFdiK0GgbZ/frYATCsBqqoJNlY/dysZKHRcAE+xBpOMv+JXpvI3qa7ItQ5WCTHRXWUVgLLKWbv5wzq7tHm1rrmZRpHGUmSZEVG4bgEPh8s36TM3qzyxdYw=; X-YMail-OSG: QAYnV9wVM1nkT0eXtGD2GzwypRfHMYRXbdK.FqC1iFgtIjS6Cf7wzkSL21tGUsyo2.LwoqUPlLMC2d_H6OtlV.Eq2XyIMvHmrNsxzEoXa_rQFmI8T7n4mQpZrrE- Received: from [82.144.3.245] by web25511.mail.ukl.yahoo.com via HTTP; Fri, 06 Jul 2007 09:36:56 GMT X-Mailer: YahooMailRC/651.38 YahooMailWebService/0.7.41.16 Date: Fri, 6 Jul 2007 09:36:55 +0000 (GMT) From: Angel Miralles Arevalo Subject: Re: Render attribute To: MyFaces Discussion MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-845732715-1183714615=:55328" Message-ID: <22036.55328.qm@web25511.mail.ukl.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-845732715-1183714615=:55328 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable And how can I set "rendered" attribute true at these phases (validation and= apply request)?=0A=0AI have a outside panelGrid. I think it solve the second question (apply reques= t phase). =0A=0AThank you for your answer.=0A=0A=0A----- Mensaje original -= ---=0ADe: David Delbecq =0APara: MyFaces Discussion <= users@myfaces.apache.org>=0AEnviado: viernes, 6 de julio, 2007 11:17:30=0AA= sunto: Re: Render attribute=0A=0A=0AHi,=0A=0Aupon submit, during validation= phase (the phase that transmit from=0Acomponent internal state to backing = bean) the 'rendered' attribute of=0ApanelGrid is evaluated. If at that time= it's 'rendered' attribute is=0Afalse, none of it's child participate in th= e validation phase. The value=0Aof rendered must be true at validation phas= e for it's submitted value to=0Abe transmitted from inputtext to backingbea= n.=0AThe same rule applies to the "apply request value" phase, where browse= r=0Asubmitted value are transfered from http request to component internal= =0Astate.=0A=0AEn l'instant pr=E9cis du 06/07/07 10:55, Angel Miralles Arev= alo=0As'exprimait en ces termes:=0A> Hi everybody, I have the following cod= e:=0A> =0A> =0A> =0A> =0A> =0A> I can't= send "property" by request. Alway is null because of the=0A> panelGrid ren= dered attribute. Anybody can explain me why is this=0A> happening and how c= an I solve this?=0A> =0A> I'm using this scenario in order to show/hide a = list's detail.=0A> =0A> Thank you very much. =0A>=0A> --------------------= ----------------------------------------------------=0A>=0A> S=E9 un Mejor = Amante del Cine=0A> =BFQuieres saber c=F3mo? =A1Deja que otras personas te = ayuden!=0A> .=0A=0A=0A =0A_____= ___________________________________________________________________________= ____=0AS=E9 un Mejor Amante del Cine =0A=BFQuieres = saber c=F3mo? =A1Deja que otras personas te ayuden!=0Ahttp://advision.webev= ents.yahoo.com/reto/entretenimiento.html --0-845732715-1183714615=:55328 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
And how can I set "rendered" attribute true at th= ese phases (validation and apply request)?
=0A
 
= =0A
I have a <h:inputHidden value=3D"#{bean.booleanProperty}"&g= t; outside panelGrid. I think it solve the second question (apply request p= hase). 
=0A
 
=0A
Thank you for = your answer.

=0A
----- Mensaje original ----
De: David D= elbecq <delbd+jakarta@oma.be>
Para: MyFaces Discussion <users@m= yfaces.apache.org>
Enviado: viernes, 6 de julio, 2007 11:17:30
Asu= nto: Re: Render attribute

=0A
Hi,

upon submit, during val= idation phase (the phase that transmit from
component internal state to = backing bean) the 'rendered' attribute of
panelGrid is evaluated. If at = that time it's 'rendered' attribute is
false, none of it's child partici= pate in the validation phase. The value
of rendered must be true at vali= dation phase for it's submitted value to
be transmitted from inputtext t= o backingbean.
The same rule applies to the "apply request value" phase,= where browser
submitted value are transfered from http request to compo= nent internal
state.

En l'instant pr=E9cis du 06/07/07 10:55, Ang= el Miralles Arevalo
s'exprimait en ces termes:
> Hi everybody, I h= ave the following code:
>  
> <h:panelGrid rendere= d=3D"#{bean.booleanProperty}">
>     <h:inp= utText value=3D"#{bean.property}"/>
> </h:panelGrid>
>=   
> I can't send "property" by request. Alway is null because of the
> panelGrid rendered attribute= . Anybody can explain me why is this
> happening and how can I solve = this?
>  
> I'm using this scenario in order to show/= hide a list's detail.
>  
> Thank you very much.
= >
> --------------------------------------------------------------= ----------
>
> S=E9 un Mejor Amante del Cine
> =BFQuieres= saber c=F3mo? =A1Deja que otras personas te ayuden!
> <http://us.rd.yahoo.c= om/mail/es/tagline/beabetter/*http://advision.webevents.yahoo.com/reto/entr= etenimiento.html>.


=0A=0A=0A
S=E9 un Mejor Amante del C= ine
=BFQuieres saber c=F3mo? =A1Deja que otras personas te ayuden!=0A.
--0-845732715-1183714615=:55328--