Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 86532 invoked from network); 16 Jun 2009 05:22:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Jun 2009 05:22:27 -0000 Received: (qmail 16948 invoked by uid 500); 16 Jun 2009 05:22:37 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 16871 invoked by uid 500); 16 Jun 2009 05:22:37 -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 16863 invoked by uid 99); 16 Jun 2009 05:22:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 05:22:37 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lu4242@gmail.com designates 209.85.222.199 as permitted sender) Received: from [209.85.222.199] (HELO mail-pz0-f199.google.com) (209.85.222.199) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 05:22:29 +0000 Received: by pzk37 with SMTP id 37so3191898pzk.32 for ; Mon, 15 Jun 2009 22:22:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=sU2zMr7uus6dFz7BLVNVPYIKmEZQ3tLiS98UwUZm45w=; b=uk65DUshSWZPhLpcA2fEGGXu0x/qMdG7fIFaDKPc5cr1ILOrjuLcHqkZ1lCOZ6WkiF +igjYtMFfV9h45ReHexFKjWUUiOBYxkNvSZKnAirQD3OJpuyL+iwK/qmJEySB+/edh03 yC9YmyKABI3DLC+9vKO1ykifU1ByHWIwluyrc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=rzgjXFmfKg7ZMoE+BySLVfkP9iHIMYQ/Q9UGXU2190Lbxf1oJp7OUSwehgw90ArLed K13oFXEKOX/wYtbXWjRNud9nRWT/a+OKdyzhSSoK5nz6jt8s4navnDS1VCXeQIkXJ0NA GDMr6Dt/7KsmvXtWM2tzzCZ8qSXab0o4O2ORQ= MIME-Version: 1.0 Received: by 10.114.144.11 with SMTP id r11mr13053230wad.227.1245129728632; Mon, 15 Jun 2009 22:22:08 -0700 (PDT) In-Reply-To: <440937.53424.qm@web35504.mail.mud.yahoo.com> References: <440937.53424.qm@web35504.mail.mud.yahoo.com> Date: Tue, 16 Jun 2009 00:22:08 -0500 Message-ID: Subject: Re: jsf subview: required? From: Leonardo Uribe To: MyFaces Discussion Content-Type: multipart/alternative; boundary=001636458dc02ca89b046c705b2f X-Virus-Checked: Checked by ClamAV on apache.org --001636458dc02ca89b046c705b2f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Use f:subview to wrap jsp:include is preferred, because prevent duplicate id exceptions. But if you just include a page once in a view it is safe to use jsp:include without it. See http://issues.apache.org/jira/browse/MYFACES-1834 for more details. regards Leonardo Uribe 2009/6/15 Dave > > > > > > Is subview required? or simply use > > > > Subview is a naming container. Can I just use /> to reduce id length if there is no id conflict? any other difference? > > Thanks > Dave > > --001636458dc02ca89b046c705b2f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi

Use f:subview to wrap jsp:include is preferred, because prevent d= uplicate id exceptions. But if you just include a page once in a view it is= safe to use jsp:include without it. See
http://issues.apache.org/jira/browse/MYFACE= S-1834 for more details.

regards

Leonardo Uribe

2009/6/= 15 Dave <javaone= 9@yahoo.com>
=A0<f:subview id=3D"page1" >
=A0=A0=A0=A0=A0 <js= p:include page=3D"page1.jsp" />
=A0</f:subview>=A0
=A0
=A0
Is subview required?=A0 or=A0 simply use
=A0
<jsp:include page=3D"page1.jsp" />
=A0
Subview is a naming container. Can I just use <jsp:include page=3D&= quot;page1.jsp" /> to reduce id length if there is no id conflict? = any other difference?
=A0
Thanks
Dave


--001636458dc02ca89b046c705b2f--