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 2007/10/16 19:28:03 UTC
[Myfaces Wiki] Update of "Use Facelets with Tomahawk" by MikeKienenberger
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 MikeKienenberger:
http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk
------------------------------------------------------------------------------
<tag>
<tag-name>commandButton</tag-name>
<component>
- <component-type>org.apache.myfaces.HtmlCommandButton</component-type>
+ <component-type>org.apache.myfaces.HtmlCommandButton</component-type>
</component>
</tag>
<tag>
@@ -73, +73 @@
<tag-name>commandNavigation</tag-name>
<component>
<component-type>org.apache.myfaces.HtmlCommandNavigation</component-type>
- <renderer-type>javax.faces.Link</renderer-type>
+ <renderer-type>org.apache.myfaces.Navigation</renderer-type>
+ </component>
+ </tag>
+ <tag>
+ <tag-name>commandNavigation2</tag-name>
+ <component>
+ <component-type>org.apache.myfaces.HtmlCommandNavigationItem</component-type>
+ <renderer-type>org.apache.myfaces.NavigationMenu</renderer-type>
</component>
</tag>
<tag>
@@ -105, +112 @@
</component>
</tag>
<tag>
- <tag-name>dojoInitializer</tag-name>
- <component>
- <component-type>org.apache.myfaces.DojoInitializer</component-type>
- <renderer-type>org.apache.myfaces.DojoInitializerRenderer</renderer-type>
- </component>
- </tag>
- <tag>
<tag-name>div</tag-name>
<component>
<component-type>org.apache.myfaces.Div</component-type>
</component>
+ </tag>
+ <tag>
+ <tag-name>document</tag-name>
+ <component>
+ <component-type>org.apache.myfaces.Document</component-type>
+ </component>
+ </tag>
+ <tag>
+ <tag-name>documentBody</tag-name>
+ <component>
+ <component-type>org.apache.myfaces.DocumentBody</component-type>
+ </component>
+ </tag>
+ <tag>
+ <tag-name>documentHead</tag-name>
+ <component>
+ <component-type>org.apache.myfaces.DocumentHead</component-type>
+ </component>
</tag>
<tag>
<tag-name>graphicImage</tag-name>
@@ -164, +182 @@
<component-type>org.apache.myfaces.InputHtml</component-type>
<renderer-type>org.apache.myfaces.InputHtml</renderer-type>
</component>
- </tag>
+ </tag>
<tag>
<tag-name>inputSecret</tag-name>
<component>
@@ -194, +212 @@
</component>
</tag>
<tag>
+ <tag-name>jscookMenu</tag-name>
+ <!--
+ <![CDATA[
+ Requires "<input type="hidden" name="jscook_action" />" to be manually added to the form
+ ]]>
+ -->
+ <component>
+ <component-type>org.apache.myfaces.JSCookMenu</component-type>
+ <renderer-type>org.apache.myfaces.JSCookMenu</renderer-type>
+ </component>
+ </tag>
+ <tag>
<tag-name>message</tag-name>
<component>
<component-type>org.apache.myfaces.HtmlMessage</component-type>
@@ -208, +238 @@
</component>
</tag>
<tag>
- <tag-name>jscookMenu</tag-name>
- <component>
- <component-type>org.apache.myfaces.JSCookMenu</component-type>
- <renderer-type>org.apache.myfaces.JSCookMenu</renderer-type>
- </component>
- </tag>
- <tag>
<tag-name>navigationMenuItem</tag-name>
<component>
<component-type>org.apache.myfaces.NavigationMenuItem</component-type>
@@ -223, +246 @@
<tag>
<tag-name>navigationMenuItems</tag-name>
<component>
- <component-type>javax.faces.SelectItems</component-type>
+ <component-type>javax.faces.SelectItems</component-type>
</component>
</tag>
<tag>
@@ -231, +254 @@
<component>
<component-type>org.apache.myfaces.HtmlNewspaperTable</component-type>
<renderer-type>org.apache.myfaces.HtmlNewspaperTable</renderer-type>
- </component>
+ </component>
</tag>
<tag>
<tag-name>outputText</tag-name>
@@ -241, +264 @@
</component>
</tag>
<tag>
+ <tag-name>panelGrid</tag-name>
+ <component>
+ <component-type>org.apache.myfaces.HtmlPanelGrid</component-type>
+ <renderer-type>org.apache.myfaces.Grid</renderer-type>
+ </component>
+ </tag>
+ <tag>
+ <tag-name>panelGroup</tag-name>
+ <component>
+ <component-type>org.apache.myfaces.HtmlPanelGroup</component-type>
+ <renderer-type>org.apache.myfaces.Group</renderer-type>
+ </component>
+ </tag>
+ <tag>
<tag-name>panelNavigation</tag-name>
<component>
<component-type>org.apache.myfaces.HtmlPanelNavigation</component-type>
@@ -269, +306 @@
</component>
</tag>
<tag>
- <tag-name>panelStack</tag-name>
- <component>
- <component-type>org.apache.myfaces.HtmlPanelStack</component-type>
- </component>
- </tag>
- <tag>
<tag-name>popup</tag-name>
<component>
<component-type>org.apache.myfaces.HtmlPopup</component-type>
@@ -287, +318 @@
<component-type>org.apache.myfaces.HtmlRadio</component-type>
<renderer-type>org.apache.myfaces.Radio</renderer-type>
</component>
- </tag>
+ </tag>
<tag>
<tag-name>saveState</tag-name>
<component>
<component-type>org.apache.myfaces.SaveState</component-type>
+ </component>
+ </tag>
+ <tag>
+ <tag-name>schedule</tag-name>
+ <component>
+ <component-type>org.apache.myfaces.Schedule</component-type>
</component>
</tag>
<tag>
@@ -356, +393 @@
<component-type>org.apache.myfaces.HtmlSelectOneRadio</component-type>
<renderer-type>org.apache.myfaces.Radio</renderer-type>
</component>
- </tag>
+ </tag>
- <tag>
- <tag-name>schedule</tag-name>
- <component>
- <component-type>org.apache.myfaces.Schedule</component-type>
- <renderer-type>org.apache.myfaces.Schedule</renderer-type>
- </component>
- </tag>
<tag>
<tag-name>stylesheet</tag-name>
<component>
<component-type>org.apache.myfaces.Stylesheet</component-type>
</component>
</tag>
- <!-- Note that "tree" will not work as-is. Tree either needs a facelets
+ <!-- Note that "tree" will not work as-is. Tree either needs a facelets
TagHandler, or a refactoring of
org.apache.myfaces.custom.tree.taglib.TreeTag
and org.apache.myfaces.custom.tree.HtmlTree
@@ -395, +425 @@
<component-type>org.apache.myfaces.HtmlTreeColumn</component-type>
</component>
</tag>
+ <!--
+ <tag-name>updateActionListener</tag-name> requires a Facelets TagHandler. Use the functionality-equivalent JSF 1.2 f:setPropertyActionListener instead. f:setPropertyActionListener has been backported as of facelets 1.1.11. Note that the jsf-comp updateActionListener does not handle setting values on ui:include parameters while setPropertyActionListener will correctly propagate these values.
+ -->
- <tag>
- <tag-name>updateActionListener</tag-name>
- <handler-class>com.google.code.tomahawk.facelets.UpdateActionListenerTagHandler</handler-class>
- </tag>
- <tag>
- <tag-name>document</tag-name>
- <component>
- <component-type>org.apache.myfaces.Document</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>documentHead</tag-name>
- <component>
- <component-type>org.apache.myfaces.DocumentHead</component-type>
- </component>
- </tag>
- <tag>
- <tag-name>documentBody</tag-name>
- <component>
- <component-type>org.apache.myfaces.DocumentBody</component-type>
- </component>
- </tag>
-
<tag>
<tag-name>validateEmail</tag-name>
<validator>
@@ -437, +447 @@
</validator>
</tag>
- </facelet-taglib>}}}
+ </facelet-taglib>
+ }}}
Here's a code snippet of how you would then use an inputDate control from the MyFaces extensions library in your facelet .xhtml file: