myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "from ADF to Trinidad" by MatthiasWessendorf
Date Wed, 16 Aug 2006 21:40:11 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by MatthiasWessendorf:
http://wiki.apache.org/myfaces/from_ADF_to_Trinidad

New page:
This document contains informations about the migration from ADF Faces to current Apache Trinidad
Podling code.

= 1.) View layer =

== JSP ==
Taglib (prefix and URI) has been changed from:
{{{
<%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af" %>
}}}

to
{{{
<%@ taglib uri="http://myfaces.apache.org/trinidad" prefix="tr" %>
}}}

== Facelets ==
XML NS has been changed from:
{{{
xmlns:af="http://xmlns.oracle.com/adf/faces"
}}}

to
{{{
xmlns:tr="http://myfaces.apache.org/trinidad"
}}}

== JSF Tags ==
Because of changing the prefix all ADF tags must be replaced by Trinidad tags. For example,
this ADF formular
{{{
<af:form>
  <af:inputText label="Your name" id="input1" value="#{helloWorldBacking.name}" required="true"/>
</af:form>
}}}

will look with Trinidad
{{{
<tr:form>
  <tr:inputText label="Your name" id="input1" value="#{helloWorldBacking.name}" required="true"/>
</tr:form>
}}}

But not only that, some components have been renamed. For instance this ADF component
{{{
<af:selectInputDate />
}}}

will look in Trinidad like
{{{
<tr:inputDate />
}}}

For a detailed list of all renamed components take a look at [http://wiki.apache.org/myfaces/Trinidad_renaming
Components renaming].

= 2.) XML configuration =

= 3.) Java files =

Mime
View raw message