Hi

Look at Clay[1]. It's just as simple as Facelets,  has more functionality and 
you get to keep your code as is.

[1] http://shale.apache.org/shale-clay/index.html

Hermod

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 21, 2007 1:29 PM
To: MyFaces Discussion
Subject: Facelets and JSP...how to port JSP code.


I have been considering moving to Facelets.  I have studied it and like
what I see.  One problem I see is how to port my JSP code into Facelets.
 By this I mean, in some of my pages, I have JSP code

<jsp:useBean id="foo" class="com.myapp.bean.fooClass" scope="session" />
<%
   if (!foo.isLoaded())
   {
      response.sendRedirect("login.jsf");
   }
%>


Does anyone know how you might port this?  I am open to design changes
as well.

Thanks!
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Reply via email to