JBoss Rich Faces SVN: r149 - in trunk/richfaces: menu-components and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-03-26 08:51:14 -0400 (Mon, 26 Mar 2007)
New Revision: 149
Modified:
trunk/richfaces/dropdown-menu/
trunk/richfaces/menu-components/
Log:
Service & target files added to svn:ignore
Property changes on: trunk/richfaces/dropdown-menu
___________________________________________________________________
Name: svn:ignore
+ .classpath
.project
.settings
target
Property changes on: trunk/richfaces/menu-components
___________________________________________________________________
Name: svn:ignore
+ .classpath
.project
target
.settings
17 years, 1 month
JBoss Rich Faces SVN: r148 - in trunk/richfaces/dropdown-menu: design and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: A.Skokov
Date: 2007-03-26 08:06:48 -0400 (Mon, 26 Mar 2007)
New Revision: 148
Added:
trunk/richfaces/dropdown-menu/design/
trunk/richfaces/dropdown-menu/design/funcspec/
trunk/richfaces/dropdown-menu/design/funcspec/FuncSpec - RF Menu Component.doc
trunk/richfaces/dropdown-menu/design/menu/
trunk/richfaces/dropdown-menu/design/menu/ico1.gif
trunk/richfaces/dropdown-menu/design/menu/ico2.gif
trunk/richfaces/dropdown-menu/design/menu/menu.html
trunk/richfaces/dropdown-menu/design/menu/menu_item_bg.gif
trunk/richfaces/dropdown-menu/design/menu/menu_list_bg.gif
trunk/richfaces/dropdown-menu/design/menu/node.gif
trunk/richfaces/dropdown-menu/design/menu/spacer.gif
Log:
Added: trunk/richfaces/dropdown-menu/design/funcspec/FuncSpec - RF Menu Component.doc
===================================================================
(Binary files differ)
Property changes on: trunk/richfaces/dropdown-menu/design/funcspec/FuncSpec - RF Menu Component.doc
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/richfaces/dropdown-menu/design/menu/ico1.gif
===================================================================
(Binary files differ)
Property changes on: trunk/richfaces/dropdown-menu/design/menu/ico1.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/richfaces/dropdown-menu/design/menu/ico2.gif
===================================================================
(Binary files differ)
Property changes on: trunk/richfaces/dropdown-menu/design/menu/ico2.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/richfaces/dropdown-menu/design/menu/menu.html
===================================================================
--- trunk/richfaces/dropdown-menu/design/menu/menu.html (rev 0)
+++ trunk/richfaces/dropdown-menu/design/menu/menu.html 2007-03-26 12:06:48 UTC (rev 148)
@@ -0,0 +1,154 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+
+<html>
+<head>
+ <title></title>
+<style>
+.menu_list_position {
+ top : 17;
+ left: -1
+}
+.menu_list_border {
+ border : 1px solid #bfbfc0;
+ background-color : #e7f2fb;
+ float : left;
+ position : absolute;
+}
+.menu_sublist {
+ top : -8;
+ left:13;
+}
+.menu_list_bg {
+ border-top : 1px solid #e7f2fb;
+ border-left : 1px solid #e7f2fb;
+ border-right : 1px solid #e7f2fb;
+ background : url(menu_list_bg.gif) repeat-y left;
+}
+.menu_item {
+ padding : 1px 35px 1px 1px;
+ white-space : nowrap;
+ font-family : arial;
+ font-size : 11px;
+ position : relative;
+}
+.menu_item_unselect {
+ border : 1px solid transparent;
+}
+.menu_item_select {
+ border : 1px solid #4a70ab;
+ cursor : pointer;
+ background : url(menu_item_bg.gif) repeat-x top #a9c5e7;
+}
+.menu_item_disabled {
+ border : 1px solid transparent;
+ cursor : default; color : #839eca;
+}
+.menu_ico {
+ vertical-align: middle;
+ margin-right : 10px;
+}
+.menu_item a {
+ color : #000000;
+ text-decoration : none;
+}
+.menu_separator {
+ font-size : 0px;
+ border-top: 1px solid #bfbfc0;
+ margin : 2px 0px 2px 24px;
+}
+.menu_node {
+ position : absolute;
+ background : url(node.gif) no-repeat top;
+ width : 7px;
+ height : 7px;
+ top : 7px;
+ right : 6px;
+ font-size : 1px;
+}
+.menu_item_disabled .menu_node {
+ background-position : bottom;
+}
+.menu_label {
+ padding : 2px 5px 2px 5px;
+ white-space : nowrap;
+ font-family : arial;
+ font-size : 11px;
+ position : relative;
+ width : 75px;
+ height : 18px;
+}
+.menu_label_unselect {
+ border : 1px solid transparent;
+}
+.menu_label_select {
+ border : 1px solid #bfbfc0;
+ cursor : pointer;
+ background : #a9c5e7;
+ color : #FFFFFF;
+}
+.label_text_decor {
+ font-weight : bold;
+}
+.menu_strut {
+ font-size : 0px;
+ border: 0px;
+ margin : 0px;
+ width : 250px;
+ background : #e7f2fb;
+}
+</style>
+
+</head>
+
+<body>
+
+
+<div class="menu_label menu_label_unselect" onmouseover="this.className='menu_label menu_label_select'" onmouseout="this.className='menu_label menu_label_unselect'"><span class="label_text_decor">Label</span>
+
+
+<div class="menu_list_border menu_list_position">
+ <div class="menu_list_bg">
+ <div class="menu_item menu_item_unselect" onmouseover="this.className='menu_item menu_item_select'" onmouseout="this.className='menu_item menu_item_unselect'"><img width="16" height="16" src="spacer.gif" class="menu_ico"><a href="#">test2gfsdgsdfgsfg0</a></div>
+ <div class="menu_item menu_item_unselect" onmouseover="this.className='menu_item menu_item_select'" onmouseout="this.className='menu_item menu_item_unselect'"><img width="16" height="16" src="ico1.gif" class="menu_ico"><a href="#">test2gfsdgsdfgsfg1</a></div>
+ <div class="menu_item menu_item_unselect" onmouseover="this.className='menu_item menu_item_select'" onmouseout="this.className='menu_item menu_item_unselect'"><img width="16" height="16" src="ico2.gif" class="menu_ico"><a href="#">test2gfsdgsdfgsfg2</a><div class="menu_node">
+
+ <div class="menu_list_border menu_sublist">
+ <div class="menu_list_bg">
+ <div class="menu_item menu_item_unselect" onmouseover="this.className='menu_item menu_item_select'" onmouseout="this.className='menu_item menu_item_unselect'"><img width="16" height="16" src="spacer.gif" class="menu_ico"><a href="#">test2gfsdgsdfgsfg3</a></div>
+ <div class="menu_item menu_item_unselect" onmouseover="this.className='menu_item menu_item_select'" onmouseout="this.className='menu_item menu_item_unselect'"><img width="16" height="16" src="ico1.gif" class="menu_ico"><a href="#">test2gfsdgsdfgsfg4</a></div>
+ <div class="menu_item menu_item_unselect" onmouseover="this.className='menu_item menu_item_select'" onmouseout="this.className='menu_item menu_item_unselect'"><img width="16" height="16" src="ico2.gif" class="menu_ico"><a href="#">test2gfsdgsdfgsfg5</a><div class="menu_node">
+
+ <div class="menu_list_border menu_sublist">
+ <div class="menu_list_bg">
+ <div class="menu_item menu_item_unselect" onmouseover="this.className='menu_item menu_item_select'" onmouseout="this.className='menu_item menu_item_unselect'"><img width="16" height="16" src="spacer.gif" class="menu_ico"><a href="#">test2gfsdgsdfgsfg</a></div>
+ <div class="menu_item menu_item_unselect" onmouseover="this.className='menu_item menu_item_select'" onmouseout="this.className='menu_item menu_item_unselect'"><img width="16" height="16" src="ico1.gif" class="menu_ico"><a href="#">test2gfsdgsdfgsfg</a></div>
+ <div class="menu_item menu_item_unselect" onmouseover="this.className='menu_item menu_item_select'" onmouseout="this.className='menu_item menu_item_unselect'"><img width="16" height="16" src="ico2.gif" class="menu_ico"><a href="#">test2gfsdgsdfgsfg</a><div class="menu_node"></div></div>
+ <div class="menu_separator"></div>
+ <div class="menu_item menu_item_disabled"><img width="16" height="16" src="spacer.gif" class="menu_ico">test2gfsdgsdfgsfg<div class="menu_node"></div></div>
+ <div class="menu_item menu_item_unselect" onmouseover="this.className='menu_item menu_item_select'" onmouseout="this.className='menu_item menu_item_unselect'"><img width="16" height="16" src="spacer.gif" class="menu_ico"><a href="#">test2gfsdgsdfgsfg</a></div>
+ <div class="menu_strut"><img src="spacer.gif" width="1" height="1" alt="" border="0"></div>
+ </div>
+ </div>
+
+ </div></div>
+ <div class="menu_separator"></div>
+ <div class="menu_item menu_item_disabled"><img width="16" height="16" src="spacer.gif" class="menu_ico">test2gfsdgsdfgsfg<div class="menu_node"></div></div>
+ <div class="menu_item menu_item_unselect" onmouseover="this.className='menu_item menu_item_select'" onmouseout="this.className='menu_item menu_item_unselect'"><img width="16" height="16" src="spacer.gif" class="menu_ico"><a href="#">test2gfsdgsdfgsfg</a></div>
+ <div class="menu_strut"><img src="spacer.gif" width="1" height="1" alt="" border="0"></div>
+ </div>
+ </div>
+
+
+ </div></div>
+ <div class="menu_separator"></div>
+ <div class="menu_item menu_item_disabled"><img width="16" height="16" src="spacer.gif" class="menu_ico">test2gfsdgsdfgsfg<div class="menu_node"></div></div>
+ <div class="menu_item menu_item_unselect" onmouseover="this.className='menu_item menu_item_select'" onmouseout="this.className='menu_item menu_item_unselect'"><img width="16" height="16" src="spacer.gif" class="menu_ico"><a href="#">test2gfsdgsdfgsfg</a></div>
+ <div class="menu_strut"><img src="spacer.gif" width="1" height="1" alt="" border="0"></div>
+ </div>
+</div>
+
+</div>
+
+
+</body>
+</html>
Added: trunk/richfaces/dropdown-menu/design/menu/menu_item_bg.gif
===================================================================
(Binary files differ)
Property changes on: trunk/richfaces/dropdown-menu/design/menu/menu_item_bg.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/richfaces/dropdown-menu/design/menu/menu_list_bg.gif
===================================================================
(Binary files differ)
Property changes on: trunk/richfaces/dropdown-menu/design/menu/menu_list_bg.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/richfaces/dropdown-menu/design/menu/node.gif
===================================================================
(Binary files differ)
Property changes on: trunk/richfaces/dropdown-menu/design/menu/node.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/richfaces/dropdown-menu/design/menu/spacer.gif
===================================================================
(Binary files differ)
Property changes on: trunk/richfaces/dropdown-menu/design/menu/spacer.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 1 month
JBoss Rich Faces SVN: r147 - trunk/richfaces/menu-components/src/main/java/org/richfaces/renderkit/html.
by richfaces-svn-commits@lists.jboss.org
Author: F.antonov
Date: 2007-03-26 07:53:56 -0400 (Mon, 26 Mar 2007)
New Revision: 147
Modified:
trunk/richfaces/menu-components/src/main/java/org/richfaces/renderkit/html/MenuItemRendererBase.java
Log:
Modified: trunk/richfaces/menu-components/src/main/java/org/richfaces/renderkit/html/MenuItemRendererBase.java
===================================================================
--- trunk/richfaces/menu-components/src/main/java/org/richfaces/renderkit/html/MenuItemRendererBase.java 2007-03-26 11:53:34 UTC (rev 146)
+++ trunk/richfaces/menu-components/src/main/java/org/richfaces/renderkit/html/MenuItemRendererBase.java 2007-03-26 11:53:56 UTC (rev 147)
@@ -26,12 +26,15 @@
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
-import org.ajax4jsf.framework.renderer.HeaderResourcesRendererBase;
+import org.ajax4jsf.framework.renderer.ComponentVariables;
+import org.ajax4jsf.framework.renderer.ComponentsVariableResolver;
import org.richfaces.component.UIMenuItem;
+import org.richfaces.component.util.ViewUtil;
+import org.richfaces.renderkit.CompositeRenderer;
-public class MenuItemRendererBase extends HeaderResourcesRendererBase {
+public class MenuItemRendererBase extends CompositeRenderer {
protected Class getComponentClass() {
return UIMenuItem.class;
@@ -40,5 +43,15 @@
public boolean getRendersChildren() {
return true;
}
+
+ public void initializeResources(FacesContext context, UIMenuItem menuItem)
+ throws IOException {
+ ComponentVariables variables = ComponentsVariableResolver.getVariables(this, menuItem);
+ String resource = menuItem.isDisabled() ? ViewUtil.getResourceURL(menuItem.getIconDisabled()) : ViewUtil.getResourceURL(menuItem.getIcon());
+ if (resource != null) {
+ variables.setVariable("icon", resource);
+ }
+ }
+
}
17 years, 1 month
JBoss Rich Faces SVN: r146 - trunk/richfaces/menu-components/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: F.antonov
Date: 2007-03-26 07:53:34 -0400 (Mon, 26 Mar 2007)
New Revision: 146
Modified:
trunk/richfaces/menu-components/src/main/java/org/richfaces/component/UIMenuItem.java
Log:
Modified: trunk/richfaces/menu-components/src/main/java/org/richfaces/component/UIMenuItem.java
===================================================================
--- trunk/richfaces/menu-components/src/main/java/org/richfaces/component/UIMenuItem.java 2007-03-26 11:53:15 UTC (rev 145)
+++ trunk/richfaces/menu-components/src/main/java/org/richfaces/component/UIMenuItem.java 2007-03-26 11:53:34 UTC (rev 146)
@@ -29,5 +29,16 @@
*
*/
public abstract class UIMenuItem extends UIOutput {
-
+
+ public abstract String getMode();
+ public abstract void setMode(String mode);
+
+ public abstract String getIcon();
+ public abstract void setIcon(String icon);
+
+ public abstract String getIconDisabled();
+ public abstract void setIconDisabled(String iconDisabled);
+
+ public abstract boolean isDisabled();
+ public abstract void setDisabled(boolean disabled);
}
17 years, 1 month
JBoss Rich Faces SVN: r145 - trunk/richfaces/menu-components/src/main/templates/org/richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: F.antonov
Date: 2007-03-26 07:53:15 -0400 (Mon, 26 Mar 2007)
New Revision: 145
Modified:
trunk/richfaces/menu-components/src/main/templates/org/richfaces/htmlMenuItem.jspx
Log:
Modified: trunk/richfaces/menu-components/src/main/templates/org/richfaces/htmlMenuItem.jspx
===================================================================
--- trunk/richfaces/menu-components/src/main/templates/org/richfaces/htmlMenuItem.jspx 2007-03-26 11:52:53 UTC (rev 144)
+++ trunk/richfaces/menu-components/src/main/templates/org/richfaces/htmlMenuItem.jspx 2007-03-26 11:53:15 UTC (rev 145)
@@ -16,7 +16,38 @@
new org.ajax4jsf.framework.ajax.AjaxScript(),
</h:scripts>
+ <f:call name="initializeResources" />
+
<f:clientid var="clientId"/>
- <div id="#{clientId}" name="#{clientId}">
+ <div id="#{clientId}"
+ class="menu_item menu_item_unselect #{component.attributes['styleClass']}"
+ onmouseout="this.className='menu_item menu_item_unselect'; component.attributes['onmouseout']}"
+ onmouseover="this.className='menu_item menu_item_select'; component.attributes['onmouseover']}"
+ style="cursor: pointer; #{component.attributes['style']}"
+ >
+
+ <!-- f:call name="encodeAttributeParameters" / -->
+ <jsp:scriptlet>
+ <![CDATA[
+ if (null != variables.getVariable("icon")) {
+ ]]>
+ </jsp:scriptlet>
+ <img class="menu_ico #{component.attributes['iconClass']}"
+ width="16"
+ height="16"
+ style="#{component.attributes['iconStyle']}"
+ src="#{icon}"/>
+ <jsp:scriptlet>
+ <![CDATA[
+ }
+ ]]>
+ </jsp:scriptlet>
+
+ <a href="">
+ <f:verbatim>
+ #{component.attributes['value']}
+ </f:verbatim>
+ <vcp:body />
+ </a>
</div>
</f:root>
\ No newline at end of file
17 years, 1 month
JBoss Rich Faces SVN: r144 - trunk/richfaces/menu-components/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: F.antonov
Date: 2007-03-26 07:52:53 -0400 (Mon, 26 Mar 2007)
New Revision: 144
Modified:
trunk/richfaces/menu-components/src/main/config/component/menucomponents.xml
Log:
Modified: trunk/richfaces/menu-components/src/main/config/component/menucomponents.xml
===================================================================
--- trunk/richfaces/menu-components/src/main/config/component/menucomponents.xml 2007-03-26 11:50:51 UTC (rev 143)
+++ trunk/richfaces/menu-components/src/main/config/component/menucomponents.xml 2007-03-26 11:52:53 UTC (rev 144)
@@ -136,7 +136,7 @@
<tag>
- <name>MenuItem</name>
+ <name>menuItem</name>
<classname>org.richfaces.taglib.MenuItemTag</classname>
<superclass>
org.ajax4jsf.framework.taglib.HtmlComponentTagBase
@@ -191,16 +191,20 @@
<description>HTML: script expression; The onselect event occurs when a user selects some menu item.</description>
</property>
<property hidden="true">
- <name>ondblclick</name>
+ <name>ondblclick</name>
+ <classname>java.lang.String</classname>
</property>
<property hidden="true">
- <name>onkeydown</name>
+ <name>onkeydown</name>
+ <classname>java.lang.String</classname>
</property>
<property hidden="true">
- <name>onkeypress</name>
+ <name>onkeypress</name>
+ <classname>java.lang.String</classname>
</property>
<property hidden="true">
- <name>onkeyup</name>
+ <name>onkeyup</name>
+ <classname>java.lang.String</classname>
</property>
<!-- Style Attributes -->
17 years, 1 month
JBoss Rich Faces SVN: r143 - trunk/richfaces/dropdown-menu/src/main/templates/org/richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: d.bulahov
Date: 2007-03-26 07:50:51 -0400 (Mon, 26 Mar 2007)
New Revision: 143
Modified:
trunk/richfaces/dropdown-menu/src/main/templates/org/richfaces/htmlDropDownMenu.jspx
Log:
Modified: trunk/richfaces/dropdown-menu/src/main/templates/org/richfaces/htmlDropDownMenu.jspx
===================================================================
--- trunk/richfaces/dropdown-menu/src/main/templates/org/richfaces/htmlDropDownMenu.jspx 2007-03-26 11:50:30 UTC (rev 142)
+++ trunk/richfaces/dropdown-menu/src/main/templates/org/richfaces/htmlDropDownMenu.jspx 2007-03-26 11:50:51 UTC (rev 143)
@@ -20,6 +20,15 @@
<jsp:scriptlet>
<![CDATA[org.richfaces.component.util.FormUtil.throwEnclFormReqExceptionIfNeed(context,component);]]>
</jsp:scriptlet>
- <div id="#{clientId}" name="#{clientId}">
- </div>
+ <div class="dr-menu-label dr-menu-label-unselect rich-menu-label rich-menu-label-unselect #{component.attributes['styleClass']}"
+ style="width: #{component.attributes['popupWidth']}; #{component.attributes['style']};"
+ onmouseover="this.className='dr-menu-label dr-menu-label-select rich-menu-label rich-menu-label-select'"
+ onmouseout="this.className='dr-menu-label dr-menu-label-unselect rich-menu-label rich-menu-label-unselect'">
+ <span class="dr-label-text-decor rich-label-text-decor">#{component.attributes['Value']}</span>
+ <div id="#{clientId}" name="#{clientId}"
+ class="dr-menu-list-border dr-menu-list-position rich-menu-list-border rich-menu-list-position">
+ <div class="dr-menu-list-bg rich-menu-list-bg">
+ </div>
+ </div>
+ </div>
</f:root>
\ No newline at end of file
17 years, 1 month
JBoss Rich Faces SVN: r142 - trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/css.
by richfaces-svn-commits@lists.jboss.org
Author: d.bulahov
Date: 2007-03-26 07:50:30 -0400 (Mon, 26 Mar 2007)
New Revision: 142
Modified:
trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/css/dropdownmenu.xcss
Log:
Modified: trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/css/dropdownmenu.xcss
===================================================================
--- trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/css/dropdownmenu.xcss 2007-03-26 11:49:47 UTC (rev 141)
+++ trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/css/dropdownmenu.xcss 2007-03-26 11:50:30 UTC (rev 142)
@@ -5,6 +5,44 @@
<f:verbatim><![CDATA[
+
+.dr-menu_list_position {
+ top : 17;
+ left: -1
+}
+.dr-menu_list_border {
+ border : 1px solid #bfbfc0;
+ background-color : #e7f2fb;
+ float : left;
+ position : absolute;
+}
+.dr-menu_list_bg {
+ border-top : 1px solid #e7f2fb;
+ border-left : 1px solid #e7f2fb;
+ border-right : 1px solid #e7f2fb;
+ background : url(menu_list_bg.gif) repeat-y left;
+}
+.dr-menu-label {
+ padding : 2px 5px 2px 5px;
+ white-space : nowrap;
+ font-family : arial;
+ font-size : 11px;
+ position : relative;
+ width : 75px;
+ height : 18px;
+}
+.dr-menu-label-unselect {
+ border : 1px solid transparent;
+}
+.dr-menu-label-select {
+ border : 1px solid #bfbfc0;
+ cursor : pointer;
+ background : #a9c5e7;
+ color : #FFFFFF;
+}
+.dr-label-text-decor {
+ font-weight : bold;
+}
]]>
</f:verbatim>
17 years, 1 month
JBoss Rich Faces SVN: r141 - trunk/richfaces/dropdown-menu/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: d.bulahov
Date: 2007-03-26 07:49:47 -0400 (Mon, 26 Mar 2007)
New Revision: 141
Modified:
trunk/richfaces/dropdown-menu/src/main/java/org/richfaces/component/UIDropDownMenu.java
Log:
Modified: trunk/richfaces/dropdown-menu/src/main/java/org/richfaces/component/UIDropDownMenu.java
===================================================================
--- trunk/richfaces/dropdown-menu/src/main/java/org/richfaces/component/UIDropDownMenu.java 2007-03-26 11:49:21 UTC (rev 140)
+++ trunk/richfaces/dropdown-menu/src/main/java/org/richfaces/component/UIDropDownMenu.java 2007-03-26 11:49:47 UTC (rev 141)
@@ -29,6 +29,12 @@
*
*/
public abstract class UIDropDownMenu extends UIComponentBase {
+
+ public static final String COMPONENT_TYPE = "org.richfaces.dropDownMenu";
+ public static final String SERVER_TYPE = "server";
+ public static final String CLIENT_TYPE = "client";
+ public static final String AJAX_TYPE = "ajax";
+
}
17 years, 1 month
JBoss Rich Faces SVN: r140 - trunk/richfaces/dropdown-menu/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: d.bulahov
Date: 2007-03-26 07:49:21 -0400 (Mon, 26 Mar 2007)
New Revision: 140
Modified:
trunk/richfaces/dropdown-menu/src/main/config/component/dropdownmenu.xml
Log:
Modified: trunk/richfaces/dropdown-menu/src/main/config/component/dropdownmenu.xml
===================================================================
--- trunk/richfaces/dropdown-menu/src/main/config/component/dropdownmenu.xml 2007-03-26 11:38:48 UTC (rev 139)
+++ trunk/richfaces/dropdown-menu/src/main/config/component/dropdownmenu.xml 2007-03-26 11:49:21 UTC (rev 140)
@@ -16,7 +16,7 @@
</renderer>
<tag>
- <name>dropdownmenu</name>
+ <name>dropDownMenu</name>
<classname>org.richfaces.taglib.DropDownMenuTag</classname>
<superclass>
org.ajax4jsf.framework.taglib.HtmlComponentTagBase
@@ -28,13 +28,198 @@
<superclass>com.sun.facelets.tag.jsf.ComponentHandler</superclass>
</taghandler>
+ &ui_component_attributes;
<property>
- <name>id</name>
+ <name>event</name>
<classname>java.lang.String</classname>
<description>
+ Defines the event on the representation element that triggers the menu's appearance.
</description>
</property>
+
+ <property>
+ <name>mode</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Set the submission mode for all menu items of the menu except ones where this attribute redefined. (ajax,server(Default),none)
+ </description>
+ </property>
+
+ <property>
+ <name>showDelay</name>
+ <classname>java.lang.Integer</classname>
+ <description>
+ Delay between event and menu showing.
+ </description>
+ </property>
+
+ <property>
+ <name>hideDelay</name>
+ <classname>java.lang.Integer</classname>
+ <description>
+ Delay between losing focus and menu closing.
+ </description>
+ </property>
+
+ <property>
+ <name>Value</name>
+ <classname>java.lang.Object</classname>
+ <description>
+ Defines representation text for Label used for menu calls.
+ </description>
+ </property>
+
+ <property>
+ <name>direction</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Defines direction of the popup list to appear (top-right, top-left bottom-right, bottom-left, auto(default))
+ </description>
+ </property>
+
+
+ <property>
+ <name>popupWidth</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Set minimal width for the all of the lists that will appear.
+ </description>
+ </property>
+
+ <property>
+ <name>jointPoint</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Set the corner of the label for the popup to be connected with. (aouto(default), tr, tl, bl, br, where tr – top-right)
+ </description>
+ </property>
+
+ <property>
+ <name>horizontalOffset</name>
+ <classname>int</classname>
+ <description>
+ Sets the horizontal offset between popup list and label element conjunction point
+ </description>
+ </property>
+
+ <property>
+ <name>verticalOffset</name>
+ <classname>int</classname>
+ <description>
+ Sets the vertical offset between popup list and label element conjunction point
+ </description>
+ </property>
+
+ <property>
+ <name>verticalOffset</name>
+ <classname>int</classname>
+ <description>
+ Sets the vertical offset between popup list and label element conjunction point
+ </description>
+ </property>
+ &html_style_attributes;
+
+ <property>
+ <name>selectItemStyle</name>
+ <classname>java.lang. String</classname>
+ <description>
+ </description>
+ </property>
+
+ <property>
+ <name>selectItemClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ </description>
+ </property>
+
+ <property>
+ <name>disabledItemStyle</name>
+ <classname>java.lang.String</classname>
+ <description>
+ </description>
+ </property>
+
+ <property>
+ <name>disabledItemClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ </description>
+ </property>
+
+ <property>
+ <name>itemStyle</name>
+ <classname>java.lang.String</classname>
+ <description>
+ </description>
+ </property>
+
+ <property>
+ <name>itemClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ </description>
+ </property>
+
+ <property>
+ <name>oncollapse</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Event must occurs on menu closure
+ </description>
+ </property>
+
+ <property>
+ <name>onexpand</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Event must occurs on menu opening
+ </description>
+ </property>
+
+
+ <property>
+ <name>onmouseout</name>
+ <classname>java.lang.String</classname>
+ <description>
+ HTML: script expression; a pointer was moved away.
+ </description>
+ </property>
+
+ <property>
+ <name>onmousemove</name>
+ <classname>java.lang.String</classname>
+ <description>
+ HTML: script expression; a pointer was moved within.
+ </description>
+ </property>
+
+ <property>
+ <name>onmouseover</name>
+ <classname>java.lang.String</classname>
+ <description>
+ HTML: script expression; a pointer was moved onto.
+ </description>
+ </property>
+
+ <property>
+ <name>onitemselect</name>
+ <classname>java.lang.String</classname>
+ <description>
+ HTML: script expression; some item was selected.
+ </description>
+ </property>
+
+ <property>
+ <name>ongroupactivate</name>
+ <classname>java.lang.String</classname>
+ <description>
+ HTML: script expression; some group was activated.
+ </description>
+ </property>
+
+
</component>
</components>
17 years, 1 month