Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 5711 invoked from network); 4 Sep 2008 17:41:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Sep 2008 17:41:43 -0000 Received: (qmail 69001 invoked by uid 500); 4 Sep 2008 17:41:30 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 68964 invoked by uid 500); 4 Sep 2008 17:41:30 -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 68948 invoked by uid 99); 4 Sep 2008 17:41:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 10:41:30 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simon.lessard.3@gmail.com designates 209.85.132.240 as permitted sender) Received: from [209.85.132.240] (HELO an-out-0708.google.com) (209.85.132.240) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 17:40:32 +0000 Received: by an-out-0708.google.com with SMTP id c16so11995ana.5 for ; Thu, 04 Sep 2008 10:41:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=ZSLliWknphe6G3X7PMNkBS3VgeF430bDSOiev8cxtb4=; b=hggzP2VdYka76EzssyXOY3ICABe8Y1UXlxu0E5LVtYDmM56dyO16JuM0+lEdEZALv6 c2XbA/R786UNUkal7juhaor9nxpzrhA7XoCatC+YprkY/DSGarknGgVOlHpaQbRUbLi/ CzG6tWcyzbdY0b430kLarEnOedcwPndFkblpA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=JabqnwS9IOi5U5TJzbwjXqfigMojA+6LQc6B98hUk3I1FcZCaqzKsuG5GqvHOiQcCC UG8+TOB1fYk4DSpVgkHBbd2/E2x1JSqgOaarEmp74ArGX5F/EZyqfpaUfrzYrrP0Kzd8 XE/KZ9tQzLgBLCM+g3mexsN+9SoalZ7tqwd/s= Received: by 10.100.47.13 with SMTP id u13mr11310850anu.56.1220550062860; Thu, 04 Sep 2008 10:41:02 -0700 (PDT) Received: by 10.100.128.6 with HTTP; Thu, 4 Sep 2008 10:41:02 -0700 (PDT) Message-ID: <254acf980809041041i4f660507u440aea78eb7c3791@mail.gmail.com> Date: Thu, 4 Sep 2008 13:41:02 -0400 From: "Simon Lessard" To: "MyFaces Discussion" Subject: Re: [Trinidad] Switching from Trinidad 1.0.x/MyFaces 1.1.x to Trinidad 1.2.x/MyFaces 1.2.x In-Reply-To: <11f14d500809041033u7eac77bbpfc296b11fdb54a53@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_26961_10445764.1220550062857" References: <11f14d500809041033u7eac77bbpfc296b11fdb54a53@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_26961_10445764.1220550062857 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Richard, You're actually asking two different questions: 1. How to migrate to Facelets 2. How to migrate to JSF 1.2 For Facelets, you pretty much have it already. For JSF 1.2, it's more complicated, first you have to run inside a JEE 5 container as JSP 2.1 is required. Therefore, simply dropping the MyFaces and Trinidad 1.2.x jars won't do the trick most of the times. Also, if you have home made component, it would be very wise to convert their tags to JSP 2.1 synthax in the TLD (using ). You can the two parts in any order, but I would suggest doing Facelets in JSF 1.1 environment first. Regards, ~ Simon On Thu, Sep 4, 2008 at 1:33 PM, Richard Yee wrote: > All, > Can any of you share any tips on migrating from Trinidad 1.0.5 and > MyFaces 1.1.5 to Trinidad 1.2.x, MyFaces 1.2.x, and Facelets? Aside > from the switch from .jsp to .xhtml files and the facelets > configuration, are there any code changes that are necessary? I ran > into a problem with the Trinidad XML Menus and Facelets yesterday > (Jira issue: TRINIDAD-1215) and want to know if there are any other > side effects that I might run into. > > Thanks, > > Richard > ------=_Part_26961_10445764.1220550062857 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi Richard,

You're actually asking two different questions:
1. How to migrate to Facelets
2. How to migrate to JSF 1.2

For Facelets, you pretty much have it already.

For JSF 1.2, it's more complicated, first you have to run inside a JEE 5 container as JSP 2.1 is required. Therefore, simply dropping the MyFaces and Trinidad 1.2.x jars won't do the trick most of the times. Also, if you have home made component, it would be very wise to convert their tags to JSP 2.1 synthax in the TLD (using <deferred-value/>).

You can the two parts in any order, but I would suggest doing Facelets in JSF 1.1 environment first.


Regards,

~ Simon


On Thu, Sep 4, 2008 at 1:33 PM, Richard Yee <richard.k.yee@gmail.com> wrote:
All,
Can any of you share any tips on migrating from Trinidad 1.0.5 and
MyFaces 1.1.5 to Trinidad 1.2.x, MyFaces 1.2.x, and Facelets? Aside
from the switch from .jsp to .xhtml files and the facelets
configuration, are there any code changes that are necessary? I ran
into a problem with the Trinidad XML Menus and Facelets yesterday
(Jira issue: TRINIDAD-1215) and want to know if there are any other
side effects that I might run into.

Thanks,

Richard

------=_Part_26961_10445764.1220550062857--