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 AdamWiner
Date Wed, 16 Aug 2006 22:13:09 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 AdamWiner:
http://wiki.apache.org/myfaces/from_ADF_to_Trinidad

------------------------------------------------------------------------------
- This document contains informations about the migration from ADF Faces to current Apache
Trinidad Podling code.
+ This document contains information about migrating from ADF Faces to the current Apache
Trinidad Podling code.
  
  = 1.) View layer =
  
  == JSP ==
- Taglib (prefix and URI) has been changed from:
+ The Taglib (prefix and URI) has been changed from:
  {{{
  <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af" %>
  }}}
@@ -27, +27 @@

  }}}
  
  == JSF Tags ==
- Because of changing the prefix all ADF tags must be replaced by Trinidad tags. For example,
this ADF formular
+ We recommend changing the prefix (though this is a matter of preference, and not required):
+ 
  {{{
  <af:form>
    <af:inputText label="Your name" id="input1" value="#{helloWorldBacking.name}" required="true"/>
  </af:form>
  }}}
  
- will look with Trinidad
+ would become:
+ 
  {{{
  <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
+ In addition, some components have been renamed. For instance, the ADF component
  {{{
  <af:selectInputDate />
  }}}
  
- will look in Trinidad like
+ is now named:
+ 
  {{{
  <tr:inputDate />
  }}}
  
- For a detailed list of all renamed components take a look at [http://wiki.apache.org/myfaces/Trinidad_renaming
Components renaming].
+ For a detailed list of all renamed components take a look at the [http://wiki.apache.org/myfaces/Trinidad_renaming
Components renaming] page.
  
  == The "adfFacesContext" EL object ==
+ 
  The ADF EL object 
  {{{
  #{adfFacesContext} 
  }}}
  
- Has been renamed to 
+ has been renamed to:
+ 
  {{{
  #{requestContext}
  }}}
  
- Here is an example of the usage:
+ As an example of its usage:
  {{{
   #{requestContext.agent}
  }}}
- The EL expression #{requestContext.agent} returns an object that describes the client agent
that is making the request and is to display the rendered output. 
+ (The EL expression #{requestContext.agent} returns an object that describes the client agent
that is making the request and is to display the rendered output.)
  
  = 2.) XML configuration =
  
@@ -103, +108 @@

  {{{
  http://myfaces.apache.org/trinidad/config
  }}}
+ and the root element renamed from <adf-faces-config> to <trinidad-config>.
  
  == Skinning ==
- For the skinning you need to know, that the RenderKit ID's have been changed from
+ For skinning, you need to know that the RenderKit IDs have been changed from
  {{{
  oracle.adf.core
  oracle.adf.desktop
  oracle.adf.pda
  }}}
+ 
+ to: 
+ 
  {{{
  org.apache.myfaces.trinidad.core
  org.apache.myfaces.trinidad.desktop

Mime
View raw message