Return-Path:
+ *
+ * @JSFComponent
+ * name = "t:saveState"
+ * tagClass = "org.apache.myfaces.custom.savestate.SaveStateTag"
+ * @JSFJspProperty name = "name" returnType = "java.lang.String" tagExcluded = "true"
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
*/
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/schedule/ScheduleDelegatingRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/schedule/ScheduleDelegatingRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/schedule/ScheduleDelegatingRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/schedule/ScheduleDelegatingRenderer.java Sat May 24 13:59:15 2008
@@ -33,6 +33,11 @@
* Renderer for the Schedule component that delegates the actual rendering
* to a compact or detailed renderer, depending on the mode of the ScheduleModel
*
rootNode
.
*
*
+ * @JSFComponent
+ * name = "t:tree"
+ * tagClass = "org.apache.myfaces.custom.tree.taglib.TreeTag"
+ * type = "org.apache.myfaces.HtmlTree"
+ *
+ * @JSFJspProperty name = "headerClass" returnType = "java.lang.String"
+ * @JSFJspProperty name = "footerClass" returnType = "java.lang.String"
+ * @JSFJspProperty name = "expandRoot" returnType = "java.lang.String"
+ * @JSFJspProperty name = "style" tagExcluded = "true"
* @author Oliver Rossmueller
* @version $Revision$ $Date$
*/
@@ -105,6 +116,11 @@
}
+ /**
+ * @JSFProperty
+ * jspName = "value"
+ * required = "true"
+ */
public TreeModel getModel(FacesContext context)
{
ValueBinding binding = getValueBinding("model");
@@ -146,6 +162,7 @@
/**
+ * @JSFProperty
* @return Returns the var.
*/
public String getVar()
@@ -180,6 +197,9 @@
return null;
}
+ /**
+ * @JSFProperty
+ */
public String getIconLine()
{
return getStringValue(iconLine, "iconLine");
@@ -190,7 +210,9 @@
this.iconLine = iconLine;
}
-
+ /**
+ * @JSFProperty
+ */
public String getIconNoline()
{
return getStringValue(iconNoline, "iconNoline");
@@ -202,7 +224,9 @@
this.iconNoline = iconNoline;
}
-
+ /**
+ * @JSFProperty
+ */
public String getIconChildFirst()
{
return getStringValue(iconChildFirst, "iconChildFirst");
@@ -215,6 +239,9 @@
}
+ /**
+ * @JSFProperty
+ */
public String getIconChildMiddle()
{
return getStringValue(iconChildMiddle, "iconChildMiddle");
@@ -227,6 +254,9 @@
}
+ /**
+ * @JSFProperty
+ */
public String getIconChildLast()
{
return getStringValue(iconChildLast, "iconChildLast");
@@ -239,6 +269,9 @@
}
+ /**
+ * @JSFProperty
+ */
public String getIconNodeOpen()
{
return getStringValue(iconNodeOpen, "iconNodeOpen");
@@ -251,6 +284,9 @@
}
+ /**
+ * @JSFProperty
+ */
public String getIconNodeOpenFirst()
{
return getStringValue(iconNodeOpenFirst, "iconNodeOpenFirst");
@@ -263,6 +299,9 @@
}
+ /**
+ * @JSFProperty
+ */
public String getIconNodeOpenMiddle()
{
return getStringValue(iconNodeOpenMiddle, "iconNodeOpenMiddle");
@@ -275,6 +314,9 @@
}
+ /**
+ * @JSFProperty
+ */
public String getIconNodeOpenLast()
{
return getStringValue(iconNodeOpenLast, "iconNodeOpenLast");
@@ -287,6 +329,9 @@
}
+ /**
+ * @JSFProperty
+ */
public String getIconNodeClose()
{
return getStringValue(iconNodeClose, "iconNodeClose");
@@ -299,6 +344,9 @@
}
+ /**
+ * @JSFProperty
+ */
public String getIconNodeCloseFirst()
{
return getStringValue(iconNodeCloseFirst, "iconNodeCloseFirst");
@@ -311,6 +359,9 @@
}
+ /**
+ * @JSFProperty
+ */
public String getIconNodeCloseMiddle()
{
return getStringValue(iconNodeCloseMiddle, "iconNodeCloseMiddle");
@@ -323,6 +374,9 @@
}
+ /**
+ * @JSFProperty
+ */
public String getIconNodeCloseLast()
{
return getStringValue(iconNodeCloseLast, "iconNodeCloseLast");
@@ -335,6 +389,9 @@
}
+ /**
+ * @JSFProperty
+ */
public String getNodeClass()
{
return getStringValue(nodeClass, "nodeClass");
@@ -348,6 +405,7 @@
/**
+ * @JSFProperty
* @return Returns the rowClasses.
*/
public String getRowClasses()
@@ -366,6 +424,7 @@
/**
+ * @JSFProperty
* @return Returns the columnClasses.
*/
public String getColumnClasses()
@@ -384,6 +443,7 @@
/**
+ * @JSFProperty
* @return Returns the selectedNodeClass.
*/
public String getSelectedNodeClass()
@@ -401,6 +461,9 @@
}
+ /**
+ * @JSFProperty
+ */
public String getIconClass()
{
return getStringValue(iconClass, "iconClass");
@@ -413,6 +476,12 @@
}
+ /**
+ * Time interval the tree will remain registered as a TreeModelListener
+ * without being accessed
+ *
+ * @JSFProperty
+ */
public long getExpireListeners()
{
if(expireListeners != null)
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTreeColumn.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTreeColumn.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTreeColumn.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTreeColumn.java Sat May 24 13:59:15 2008
@@ -21,10 +21,21 @@
import javax.faces.component.UIColumn;
/**
+ * Renders a HTML input of type "treeColumn".
+ * + * This tag outlines the column where the tree structure will be + * render as part of the tree table. Unless otherwise specified, + * all attributes accept static values or EL expressions. + *
** Tree column model. This column is used to provide the place holder for the * tree. This is used in conjunction with the table format display. *
+ * + * @JSFComponent + * name = "t:treeColumn" + * tagClass = "org.apache.myfaces.custom.tree.taglib.TreeColumnTag" + * * @author David Le Strat */ public class HtmlTreeColumn extends UIColumn Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTreeNode.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTreeNode.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTreeNode.java (original) +++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/HtmlTreeNode.java Sat May 24 13:59:15 2008 @@ -31,6 +31,7 @@ * Represents a single node of a three. A custom html link component representing the expand/collapse icon * is held as a facet namedexpandCollapse
.
*
+ * @JSFComponent
* @author Oliver Rossmueller
* @version $Revision$ $Date$
*/
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeCheckboxRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeCheckboxRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeCheckboxRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeCheckboxRenderer.java Sat May 24 13:59:15 2008
@@ -32,6 +32,11 @@
import org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlCheckboxRendererBase;
/**
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "org.apache.myfaces.HtmlTreeCheckbox"
+ * type = "org.apache.myfaces.HtmlTreeCheckbox"
+ *
* @author David Le Strat
*/
public class HtmlTreeCheckboxRenderer extends HtmlCheckboxRendererBase
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeImageCommandLinkRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeImageCommandLinkRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeImageCommandLinkRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeImageCommandLinkRenderer.java Sat May 24 13:59:15 2008
@@ -33,6 +33,11 @@
/**
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "org.apache.myfaces.HtmlTree"
+ * type = "org.apache.myfaces.HtmlTreeImageCommandLink"
+ *
* @author Oliver Rossmueller
* @version $Revision$ $Date$
*/
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeNodeRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeNodeRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeNodeRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeNodeRenderer.java Sat May 24 13:59:15 2008
@@ -27,6 +27,11 @@
import org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils;
/**
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.Command"
+ * type = "org.apache.myfaces.HtmlTreeNode"
+ *
* @author Oliver Rossmueller
* @version $Revision$ $Date$
*/
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/renderkit/html/HtmlTreeRenderer.java Sat May 24 13:59:15 2008
@@ -44,6 +44,11 @@
import java.util.List;
/**
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "org.apache.myfaces.HtmlTree"
+ * type = "org.apache.myfaces.HtmlTree"
+ *
* @author Oliver Rossmueller
* @version $Revision$ $Date$
*/
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/taglib/IconProviderTag.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/taglib/IconProviderTag.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/taglib/IconProviderTag.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/taglib/IconProviderTag.java Sat May 24 13:59:15 2008
@@ -32,6 +32,10 @@
/**
+ * @JSFJspTag
+ * name="t:iconProvider"
+ * bodyContent="empty"
+ *
* @author Oliver Rossmueller
* @version $Revision$ $Date$
*/
@@ -46,7 +50,10 @@
{
}
-
+ /**
+ * @JSFJspAttribute
+ * required = "true"
+ */
public void setType(String type)
{
this.type = type;
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/taglib/TreeSelectionListenerTag.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/taglib/TreeSelectionListenerTag.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/taglib/TreeSelectionListenerTag.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree/taglib/TreeSelectionListenerTag.java Sat May 24 13:59:15 2008
@@ -34,6 +34,10 @@
/**
* Tag to add a tree selection listeners to a {@link HtmlTree}
*
+ * @JSFJspTag
+ * name="t:treeSelectionListener"
+ * bodyContent="empty"
+ *
* @author Oliver Rossmueller
* @version $Revision$ $Date$
*/
@@ -48,6 +52,10 @@
}
+ /**
+ * @JSFJspAttribute
+ * required = "true"
+ */
public void setType(String type)
{
this.type = type;
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/HtmlTreeRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/HtmlTreeRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/HtmlTreeRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/HtmlTreeRenderer.java Sat May 24 13:59:15 2008
@@ -45,6 +45,11 @@
import java.util.HashMap;
/**
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "org.apache.myfaces.HtmlTree2"
+ * type = "org.apache.myfaces.HtmlTree2"
+ *
* @author Sean Schofield
* @author Chris Barlow
* @author Hans Bergsten (Some code taken from an example in his O'Reilly JavaServer Faces book. Copied with permission)
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/UITreeData.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/UITreeData.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/UITreeData.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/tree2/UITreeData.java Sat May 24 13:59:15 2008
@@ -50,6 +50,7 @@
* specified by the var
property. {@link javax.faces.render.Renderer}s of this
* component should use the appropriate facet to assist in rendering.
*
+ * @JSFComponent
* @author Sean Schofield
* @author Hans Bergsten (Some code taken from an example in his O'Reilly JavaServer Faces book. Copied with permission)
* @version $Revision$ $Date$
@@ -57,9 +58,9 @@
public class UITreeData extends UIComponentBase implements NamingContainer, Tree {
private Log log = LogFactory.getLog(UITreeData.class);
- public static final String COMPONENT_TYPE = "org.apache.myfaces.Tree2";
+ public static final String COMPONENT_TYPE = "org.apache.myfaces.UITree2";
public static final String COMPONENT_FAMILY = "org.apache.myfaces.HtmlTree2";
- private static final String DEFAULT_RENDERER_TYPE = "org.apache.myfaces.Tree2";
+ //private static final String DEFAULT_RENDERER_TYPE = "org.apache.myfaces.Tree2";
private static final String MISSING_NODE = "org.apache.myfaces.tree2.MISSING_NODE";
private static final int PROCESS_DECODES = 1;
private static final int PROCESS_VALIDATORS = 2;
@@ -80,7 +81,7 @@
*/
public UITreeData()
{
- setRendererType(DEFAULT_RENDERER_TYPE);
+ //setRendererType(DEFAULT_RENDERER_TYPE);
}
@@ -289,6 +290,8 @@
/**
* Gets the value of the TreeData.
*
+ * @JSFProperty
+ * required="true"
* @return The value
*
* @deprecated
@@ -315,7 +318,8 @@
/**
* Return the request-scope attribute under which the data object for the current node will be exposed
* when iterating. This property is not enabled for value binding expressions.
- *
+ *
+ * @JSFProperty
* @return The iterator attribute
*/
public String getVar()
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/updateactionlistener/UpdateActionListenerTag.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/updateactionlistener/UpdateActionListenerTag.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/updateactionlistener/UpdateActionListenerTag.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/updateactionlistener/UpdateActionListenerTag.java Sat May 24 13:59:15 2008
@@ -29,8 +29,20 @@
import javax.servlet.jsp.tagext.TagSupport;
/**
+ * Registers an org.apache.myfaces.custom.updateactionlistener.UpdateActionListener
+ * at the parent component (which must be an ActionSource).
+ *
+ * When the parent's action fires the specified value is evaluated,
+ * then written into the specified property.
+ *
+ * Unless otherwise specified, all attributes accept static values or EL expressions.
+ *
* JSF 1.2 introduces a "setPropertyActionListener" with the same functionality like this.
*
+ * @JSFJspTag
+ * name="t:updateActionListener"
+ * bodyContent="JSP"
+ *
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
*/
@@ -47,16 +59,39 @@
{
}
+ /**
+ * A value-binding that specifies a property to be updated when
+ * the parent's action occurs.
+ *
+ * @JSFJspAttribute
+ * required="true"
+ */
public void setProperty(String property)
{
_property = property;
}
+ /**
+ * A literal value or value-binding that specifies what
+ * will be assigned to the destination specified by the
+ * property attribute.
+ *
+ * @JSFJspAttribute
+ * required="true"
+ */
public void setValue(String value)
{
_value = value;
}
+ /**
+ * The name of a registered Converter object which will be
+ * invoked to convert the value into an appropriate datatype
+ * for assigning to the specified property. If not specified
+ * then an appropriate converter will be selected automatically.
+ *
+ * @JSFJspAttribute
+ */
public void setConverter(String converter)
{
_converter = converter;
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlButtonRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlButtonRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlButtonRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlButtonRenderer.java Sat May 24 13:59:15 2008
@@ -27,6 +27,12 @@
/**
+ *
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.Command"
+ * type = "org.apache.myfaces.Button"
+ *
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
*/
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlCheckboxRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlCheckboxRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlCheckboxRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlCheckboxRenderer.java Sat May 24 13:59:15 2008
@@ -46,6 +46,21 @@
/**
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "org.apache.myfaces.Checkbox"
+ * type = "org.apache.myfaces.Checkbox"
+ *
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.SelectBoolean"
+ * type = "org.apache.myfaces.Checkbox"
+ *
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.SelectMany"
+ * type = "org.apache.myfaces.Checkbox"
+ *
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
*/
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlGridRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlGridRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlGridRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlGridRenderer.java Sat May 24 13:59:15 2008
@@ -29,6 +29,11 @@
/**
* X-CHECKED: tlddoc h:panelGrid 1.0 final
*
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.Panel"
+ * type = "org.apache.myfaces.Grid"
+ *
* @author Martin Marinschek (latest modification by $Author: grantsmith $)
* @version $Revision: 169655 $ $Date: 2005-05-11 18:45:06 +0200 (Wed, 11 May 2005) $
*/
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlGroupRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlGroupRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlGroupRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlGroupRenderer.java Sat May 24 13:59:15 2008
@@ -33,6 +33,11 @@
/**
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.Panel"
+ * type = "org.apache.myfaces.Group"
+ *
* @author Martin Marinschek (latest modification by $Author: mmarinschek $)
* @version $Revision: 167446 $ $Date: 2004-12-23 13:03:09Z $
*/
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlImageRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlImageRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlImageRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlImageRenderer.java Sat May 24 13:59:15 2008
@@ -22,6 +22,11 @@
/**
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.Graphic"
+ * type = "org.apache.myfaces.Image"
+ *
* @author Martin Marinschek (latest modification by $Author: mmarinschek $)
* @author Bruno Aranda
* @version $Revision: 167446 $ $Date: 2004-12-23 13:03:09Z $
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlLinkRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlLinkRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlLinkRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlLinkRenderer.java Sat May 24 13:59:15 2008
@@ -33,6 +33,11 @@
import org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils;
/**
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.Command"
+ * type = "org.apache.myfaces.Link"
+ *
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
*/
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlListboxRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlListboxRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlListboxRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlListboxRenderer.java Sat May 24 13:59:15 2008
@@ -29,6 +29,16 @@
/**
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.SelectOne"
+ * type = "org.apache.myfaces.Listbox"
+ *
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.SelectMany"
+ * type = "org.apache.myfaces.Listbox"
+ *
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
*/
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMenuRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMenuRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMenuRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMenuRenderer.java Sat May 24 13:59:15 2008
@@ -29,6 +29,16 @@
/**
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.SelectOne"
+ * type = "org.apache.myfaces.Menu"
+ *
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.SelectMany"
+ * type = "org.apache.myfaces.Menu"
+ *
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
*/
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessageRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessageRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessageRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessageRenderer.java Sat May 24 13:59:15 2008
@@ -42,6 +42,11 @@
import java.util.Map;
/**
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.Message"
+ * type = "org.apache.myfaces.Message"
+ *
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
*/
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessagesRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessagesRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessagesRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlMessagesRenderer.java Sat May 24 13:59:15 2008
@@ -31,6 +31,11 @@
import java.text.MessageFormat;
/**
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.Messages"
+ * type = "org.apache.myfaces.Messages"
+ *
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
*/
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlRadioRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlRadioRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlRadioRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlRadioRenderer.java Sat May 24 13:59:15 2008
@@ -38,6 +38,17 @@
/**
+ *
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "org.apache.myfaces.Radio"
+ * type = "org.apache.myfaces.Radio"
+ *
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.SelectOne"
+ * type = "org.apache.myfaces.Radio"
+ *
* @author Manfred Geiler (latest modification by $Author$)
* @author Thomas Spiegl
* @version $Revision$ $Date$
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlSecretRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlSecretRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlSecretRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlSecretRenderer.java Sat May 24 13:59:15 2008
@@ -33,6 +33,11 @@
/**
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.Input"
+ * type = "org.apache.myfaces.Secret"
+ *
* @author Manfred Geiler (latest modification by $Author$)
* @author Bruno Aranda
* @version $Revision$ $Date$
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTableRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTableRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTableRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTableRenderer.java Sat May 24 13:59:15 2008
@@ -52,6 +52,11 @@
/**
* Renderer for the Tomahawk extended HtmlDataTable component.
*
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.Data"
+ * type = "org.apache.myfaces.Table"
+ *
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
*/
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTextRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTextRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTextRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTextRenderer.java Sat May 24 13:59:15 2008
@@ -37,6 +37,16 @@
/**
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.Input"
+ * type = "org.apache.myfaces.Text"
+ *
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.Output"
+ * type = "org.apache.myfaces.Text"
+ *
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
*/
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTextareaRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTextareaRenderer.java?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTextareaRenderer.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/renderkit/html/ext/HtmlTextareaRenderer.java Sat May 24 13:59:15 2008
@@ -31,6 +31,11 @@
/**
+ * @JSFRenderer
+ * renderKitId = "HTML_BASIC"
+ * family = "javax.faces.Input"
+ * type = "org.apache.myfaces.Textarea"
+ *
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
*/
Modified: myfaces/tomahawk/trunk/core/src/main/tld/tomahawk.tld
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/tld/tomahawk.tld?rev=659874&r1=659873&r2=659874&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/tld/tomahawk.tld (original)
+++ myfaces/tomahawk/trunk/core/src/main/tld/tomahawk.tld Sat May 24 13:59:15 2008
@@ -235,7 +235,7 @@
In this example, the customerAddress bean is a managed bean, but the address bean isn't defined anywhere.
- After the aliasBean tag, we can use #{address.*} in place of #{custommerAddress.*}, so making it possible to have
+ After the aliasBean tag, we can use #{address.*} in place of #{custommerAddress.*}, so making it possible to have
generic address subforms (ok, this one is a very simple form, but you get the idea).
.tableBack { - background-image: url(#{environmentInfo.requestContextPath}/images/logo.jpg) + background-image: url(#{environmentInfo.requestContextPath}/images/logo.jpg) }Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/panelnavigation_4.jsp URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/panelnavigation_4.jsp?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/panelnavigation_4.jsp (original) +++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/panelnavigation_4.jsp Sat May 24 13:59:15 2008 @@ -34,6 +34,7 @@ var="example_messages"/>
+ * Ensures a named conversation is running + *
+ ** check if a conversation is active. *
*@@ -33,6 +36,12 @@ * check this before ANY rendering - and maybe to invoke a navigation then *
* + * @JSFComponent + * name = "s:ensureConversation" + * tagClass = "org.apache.myfaces.custom.conversation.EnsureConversationTag" + * + * @JSFJspProperty name="action" longDesc = "the action which should be called in case of a not running conversation" + * * @author imario@apache.org */ public class UIEnsureConversation extends AbstractConversationComponent @@ -136,6 +145,12 @@ } } + /** + * redirect to the given view if the conversation is not running + * + * @JSFProperty + * @return + */ public String getRedirectTo() { if (redirectTo != null) @@ -154,4 +169,31 @@ { this.redirectTo = redirectTo; } + + /** + * Delegate the check to the action method at all. The user has to check if + * a conversation is running. A action method is mandatory. + * + * @JSFProperty + * @return + */ + public Boolean getPreCheck() + { + if (preCheck != null) + { + return preCheck; + } + ValueBinding vb = getValueBinding("preCheck"); + if (vb == null) + { + return null; + } + return (Boolean) vb.getValue(getFacesContext()); + } + + public void setPreCheck(Boolean preCheck) + { + this.preCheck = preCheck; + } + } Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UISeparateConversationContext.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UISeparateConversationContext.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UISeparateConversationContext.java (original) +++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UISeparateConversationContext.java Sat May 24 13:59:15 2008 @@ -26,9 +26,16 @@ import org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils; /** + * Separates the current context from the children. e.g. commandLinks will start a + * new conversation context + * * separate the current context from the to be rendered children. * E.g. when you render commandLinks they will start a new conversationContext * + * @JSFComponent + * name = "s:separateConversationContext" + * tagClass = "org.apache.myfaces.custom.conversation.SeparateConversationContextTag" + * * @author imario@apache.org */ public class UISeparateConversationContext extends UIComponentBase Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIStartConversation.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIStartConversation.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIStartConversation.java (original) +++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIStartConversation.java Sat May 24 13:59:15 2008 @@ -30,6 +30,10 @@ /** * start a conversation * + * @JSFComponent + * name = "s:startConversation" + * tagClass = "org.apache.myfaces.custom.conversation.StartConversationTag" + * * @author imario@apache.org */ public class UIStartConversation extends AbstractConversationComponent @@ -182,6 +186,12 @@ }; } + /** + * true|false - if this conversation requires a persistence manager. Default: false + * + * @JSFProperty + * @return + */ public Boolean getPersistence() { if (persistence != null) Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertDateTime/DateTimeConverter.java URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertDateTime/DateTimeConverter.java?rev=659874&r1=659873&r2=659874&view=diff ============================================================================== --- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertDateTime/DateTimeConverter.java (original) +++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertDateTime/DateTimeConverter.java Sat May 24 13:59:15 2008 @@ -25,14 +25,26 @@ * Simple convert that overrides the spec DateTimeConverter and uses TimeZone.getDefault() as the * base timezone, rather than GMT. * + * Convert date time using normal system timezone like it should * + * @JSFConverter + * name = "s:convertDateTime" + * tagClass = "org.apache.myfaces.custom.convertDateTime.ConvertDateTimeTag" + * + * @JSFJspProperty name = "dateStyle" returnType = "java.lang.String" longDesc = "default|short|medium|long|full" + * @JSFJspProperty name = "locale" returnType = "java.util.Locale" longDesc = "locale" + * @JSFJspProperty name = "pattern" returnType = "java.lang.String" longDesc = "Custom formatting pattern" + * @JSFJspProperty name = "timeStyle" returnType = "java.lang.String" longDesc = "default|short|medium|long|full" + * @JSFJspProperty name = "timeZone" returnType = "java.util.TimeZone" longDesc = "timeZone" + * @JSFJspProperty name = "type" returnType = "java.lang.String" longDesc = "date|time|both" + * * User: treeder * Date: Oct 28, 2005 * Time: 7:19:01 PM */ public class DateTimeConverter extends javax.faces.convert.DateTimeConverter { - public static final String CONVERTER_ID = org.apache.myfaces.custom.convertDateTime.DateTimeConverter.class.getName(); + public static final String CONVERTER_ID = "org.apache.myfaces.custom.convertDateTime.DateTimeConverter"; public DateTimeConverter() {