You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/08/16 23:40:11 UTC

[Myfaces Wiki] Update of "from ADF to Trinidad" by MatthiasWessendorf

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 =