JBoss Rich Faces SVN: r9313 - trunk/test-applications/jsp/src/main/webapp/DataTable.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-07-01 07:45:13 -0400 (Tue, 01 Jul 2008)
New Revision: 9313
Modified:
trunk/test-applications/jsp/src/main/webapp/DataTable/DataTable.jsp
Log:
Modified: trunk/test-applications/jsp/src/main/webapp/DataTable/DataTable.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DataTable/DataTable.jsp 2008-07-01 10:48:58 UTC (rev 9312)
+++ trunk/test-applications/jsp/src/main/webapp/DataTable/DataTable.jsp 2008-07-01 11:45:13 UTC (rev 9313)
@@ -2,8 +2,41 @@
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
+<style type="text/css">
+.LeftTreePane {
+
+}
+.RightTreePane {
+
+}
+
+.TreeContainer {
+ overflow: auto;
+ height: 400px;
+ border: 3px inset gray;
+}
+</style>
+<script type="text/javascript">
+ // <![CDATA[
+ function blinkElement(elt) {
+ while (elt.tagName.toLowerCase() != 'table') {
+ elt = elt.parentNode;
+ }
+
+ elt.style.borderColor= '#5555FF';
+ elt.style.borderStyle= 'dotted';
+ elt.style.borderWidth = '3px';
+ setTimeout( function() { this.style.borderStyle = 'none'; }.bind(elt), 300);
+ }
+ // ]]>
+ </script>
<f:subview id="DataTableSubviewID">
+ <rich:dragIndicator id="treeIndicator">
+ <f:facet name="single">
+ <f:verbatim>{marker} {nodeParam}({treeParam})</f:verbatim>
+ </f:facet>
+ </rich:dragIndicator>
<rich:dataTable id="dataTableID" var="dataTableID" value="#{dataTable.mounths}" rowKeyVar="key"
captionClass="#{style.captionClass}" rowClasses="#{style.rowClasses}" headerClass="#{style.headerClass}" footerClass="#{style.footerClass}" styleClass="#{style.styleClass}" captionStyle="#{style.captionStyle}" columnClasses="#{style.columnClasses}"
onRowClick="#{event.onRowClick};alert('row #{key}');" rendered="#{dataTable.rendered}"
@@ -55,7 +88,20 @@
</rich:column>
</rich:columnGroup>
<rich:column styleClass="#{style.styleClassA}" headerClass="#{style.headerClassA}" footerClass="#{style.footerClassA}" style="#{style.styleA}" rendered="#{dataTable.r2rendered}">
- <h:outputText value="#{dataTableID.day}" />
+ <rich:tree id="rightTree" style="width:300px"
+ nodeSelectListener="#{treeDndBean.processRSelection}"
+ reRender="selectedNodeR,rightContainer" ajaxSubmitSelection="true"
+ switchType="client" value="#{treeDndBean.treeNodeRight}"
+ changeExpandListener="#{treeDndBean.onExpand}"
+ binding="#{treeDndBean.rightTree}"
+ onselected="window.status='selectedNode: '+event.selectedNode;"
+ onexpand="window.status='expandedNode: '+event.expandedNode"
+ oncollapse="window.status='collapsedNode: '+event.collapsedNode"
+ rowKeyVar="key" dropListener="#{treeDndBean.onDrop}"
+ dragListener="#{treeDndBean.onDrag}" dragIndicator="treeIndicator"
+ acceptedTypes="treeNode" dragType="treeNode" var="item">
+ <rich:dndParam name="treeParam" value="rightTree" />
+ </rich:tree>
</rich:column>
<rich:subTable id="detail" var="detail" value="#{dataTableID.detail}"
columnClasses="#{style.columnClassesA}" footerClass="#{style.footerClassA}" headerClass="#{style.headerClassA}" rowClasses="#{style.rowClassesA}" onclick="#{event.onclick}"
@@ -65,7 +111,7 @@
onRowDblClick="#{event.onRowDblClick}" onRowMouseDown="#{event.onRowMouseDown}" onRowMouseMove="#{event.onRowMouseMove}"
onRowMouseOut="#{event.onRowMouseOut}" onRowMouseOver="#{event.onRowMouseOver}" onRowMouseUp="#{event.onRowMouseUp}">
<rich:column id="name">
- <h:outputText value="#{detail.name}" />
+ <h:outputText value="123"></h:outputText>
</rich:column>
<rich:column id="qty" rendered="#{dataTable.r2rendered}">
<h:outputText value="#{detail.qty}" />
@@ -108,7 +154,7 @@
</f:facet>
<h:outputLabel value="Value:" for="field" />
- <h:inputText id="field" value="#{cell.value}" required="true"/>
+ <h:inputText id="field" value="#{cell.value}" />
<h:outputText value="rowKeyVar:"></h:outputText>
<h:outputText value="#{myVar}"></h:outputText>
@@ -122,5 +168,7 @@
</a4j:outputPanel>
<h:commandButton action="#{testBean.submit}" value="Submit" />
<a4j:commandButton action="#{testBean.submitAjax}" value="Submit Ajax" reRender="panel"/>
-
+ <br/>
+ <rich:spacer width="300" height="10"></rich:spacer>
+
</f:subview>
16 years, 6 months
JBoss Rich Faces SVN: r9312 - trunk/ui/hotKey/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-07-01 06:48:58 -0400 (Tue, 01 Jul 2008)
New Revision: 9312
Modified:
trunk/ui/hotKey/src/main/resources/org/richfaces/renderkit/html/scripts/jquery.hotkeys.js
Log:
http://jira.jboss.com/jira/browse/RF-3810
Modified: trunk/ui/hotKey/src/main/resources/org/richfaces/renderkit/html/scripts/jquery.hotkeys.js
===================================================================
--- trunk/ui/hotKey/src/main/resources/org/richfaces/renderkit/html/scripts/jquery.hotkeys.js 2008-07-01 07:14:44 UTC (rev 9311)
+++ trunk/ui/hotKey/src/main/resources/org/richfaces/renderkit/html/scripts/jquery.hotkeys.js 2008-07-01 10:48:58 UTC (rev 9312)
@@ -93,7 +93,7 @@
// in opera + safari, the event.target is unpredictable.
// for example: 'keydown' might be associated with HtmlBodyElement
// or the element where you last clicked with your mouse.
- if (jQuery.browser.opera || jQuery.browser.safari || opt.checkParent){
+ /*if (jQuery.browser.opera || jQuery.browser.safari || opt.checkParent){
while (!that.all[that._checkUniqueID(element)] && element.parentNode){
element = element.parentNode;
}
@@ -119,7 +119,48 @@
event.preventDefault();
return false;
}
+ }*/
+ var validateMapPoint = function(element, type, special, character,cbMap) {
+ if(!shift && !ctrl && !alt) { // No Modifiers
+ var mapPoint = cbMap[special] || cbMap[character]
+ } else {
+ // deals with combinaitons (alt|ctrl|shift+anything)
+ var modif = '';
+ if(alt) modif +='alt+';
+ if(ctrl) modif+= 'ctrl+';
+ if(shift) modif += 'shift+';
+ // modifiers + special keys or modifiers + characters or modifiers + shift characters
+ var mapPoint = cbMap[modif+special] || cbMap[modif+character] || cbMap[modif+that.shift_nums[character]]
+ }
+ return mapPoint;
+ };
+ // in opera + safari, the event.target is unpredictable.
+ // for example: 'keydown' might be associated with HtmlBodyElement
+ // or the element where you last clicked with your mouse.
+
+ if (that.all[that._checkUniqueID(element)]) {
+ var cbMap = that.all[that._checkUniqueID(element)].events[type].callbackMap;
+ mapPoint = validateMapPoint(element, type, special, character,cbMap);
}
+
+ if (jQuery.browser.opera || jQuery.browser.safari || opt.checkParent){
+ while ((element && element.parentNode && !that.all[that._checkUniqueID(element)]) || (!mapPoint && element.parentNode)){
+ element = element.parentNode;
+ if (that.all[that._checkUniqueID(element)]) {
+ var cbMap = that.all[that._checkUniqueID(element)].events[type].callbackMap;
+ mapPoint = validateMapPoint(element, type, special, character,cbMap);
+ }
+ }
+ }
+
+ if (mapPoint){
+ mapPoint.cb(event);
+ if(!mapPoint.propagate) {
+ event.stopPropagation();
+ event.preventDefault();
+ return false;
+ }
+ }
};
var targetData = this._uniqueID(opt.target);
16 years, 6 months
JBoss Rich Faces SVN: r9311 - in trunk/test-applications/jsp/src/main: webapp/WEB-INF and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2008-07-01 03:14:44 -0400 (Tue, 01 Jul 2008)
New Revision: 9311
Added:
trunk/test-applications/jsp/src/main/java/util/componentInfo/ComponentAttribute.java
trunk/test-applications/jsp/src/main/java/util/componentInfo/Info.java
trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-ComponentInfo.xml
trunk/test-applications/jsp/src/main/webapp/pages/Info/
trunk/test-applications/jsp/src/main/webapp/pages/Info/Info.jsp
Removed:
trunk/test-applications/jsp/src/main/webapp/pages/Info/EventInfo.jsp
Modified:
trunk/test-applications/jsp/src/main/java/util/componentInfo/ComponentInfo.java
Log:
Added: trunk/test-applications/jsp/src/main/java/util/componentInfo/ComponentAttribute.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/util/componentInfo/ComponentAttribute.java (rev 0)
+++ trunk/test-applications/jsp/src/main/java/util/componentInfo/ComponentAttribute.java 2008-07-01 07:14:44 UTC (rev 9311)
@@ -0,0 +1,60 @@
+/**
+ *
+ */
+package util.componentInfo;
+
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Set;
+
+/**
+ * @author user
+ *
+ */
+public class ComponentAttribute {
+ private Map<String, String> attribute = new HashMap<String, String>();
+ private Map<String, String> event = new HashMap<String, String>();
+ private Map<String, String> style = new HashMap<String, String>();
+
+ public String putAttribute(String attribute, String value) {
+ return this.attribute.put(attribute, value);
+ }
+
+ public String putEvent(String event, String value){
+ return this.event.put(event, value);
+ }
+
+ public String putStyle(String style, String value) {
+ return this.style.put(style, value);
+ }
+
+ public String removeAttribute(String attribute) {
+ return this.attribute.remove(attribute);
+ }
+
+ public String removeEvent(String event) {
+ return this.attribute.remove(event);
+ }
+
+ public String removeStyle(String style) {
+ return this.attribute.remove(style);
+ }
+
+ public void cleanAll() {
+ this.attribute.clear();
+ this.event.clear();
+ this.style.clear();
+ }
+
+ public Set<Map.Entry<String, String>> getAttributeEntry() {
+ return attribute.entrySet();
+ }
+
+ public Set<Map.Entry<String, String>> getEventEntry(){
+ return event.entrySet();
+ }
+
+ public Set<Map.Entry<String, String>> getStyleEntry(){
+ return style.entrySet();
+ }
+}
Modified: trunk/test-applications/jsp/src/main/java/util/componentInfo/ComponentInfo.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/util/componentInfo/ComponentInfo.java 2008-06-30 18:36:08 UTC (rev 9310)
+++ trunk/test-applications/jsp/src/main/java/util/componentInfo/ComponentInfo.java 2008-07-01 07:14:44 UTC (rev 9311)
@@ -2,94 +2,111 @@
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Field;
+import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
+import java.lang.reflect.Modifier;
import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+import java.util.Map.Entry;
+import javax.faces.component.UIComponent;
+
public class ComponentInfo {
- private final String beanName;
- private String description;
- private String attribute;
- private String property;
- private boolean print;
+ private static volatile ComponentInfo INSTANCE;
+ private ComponentAttribute componentAttribute = new ComponentAttribute();
+ private Object component = null;
- public ComponentInfo(String beanName) {
- this.beanName = beanName;
- this.attribute = "";
- this.property = "";
- print = true;
+ protected ComponentInfo() {
}
- public void setComponentInfo(String attribute, String property) {
- this.attribute = attribute;
- this.property = property;
- this.description = "";
- if(print) printInfo();
- }
-
- public void setComponentInfo(String attribute, String property, String description) {
- this.attribute = attribute;
- this.property = property;
- this.description = description;
- if(print) printInfo();
- }
-
- public static String toString(Object obj) {
- Class cl = obj.getClass();
- String r = cl.getName() + "[";
- Class sc = cl.getSuperclass();
- if (!sc.equals(Object.class))
- r += sc + ",";
- Field[] fields = cl.getDeclaredFields();
- try {
- AccessibleObject.setAccessible(fields, true);
- } catch (SecurityException e) {
- }
- for (int i = 0; i < fields.length; i++) {
- Field f = fields[i];
- r += f.getName() + "=";
- try {
- Object val = f.get(obj);
- r += val.toString();
- } catch (IllegalAccessException e) {
- r += "???";
+ public static ComponentInfo getInstance() {
+ if (INSTANCE == null)
+ synchronized (ComponentInfo.class) {
+ if (INSTANCE == null)
+ INSTANCE = new ComponentInfo();
}
- if (i < fields.length - 1)
- r += ",";
- else
- r += "]";
- }
- return r;
+ return INSTANCE;
}
- public boolean isPrint() {
- return print;
+ public String getName() {
+ if (component == null)
+ return null;
+ return component.getClass().getName();
}
- public void setPrint(boolean print) {
- this.print = print;
- }
+ public void addField(Object component) {
+ if (component == null)
+ return;
+ this.component = component;
+ componentAttribute.cleanAll();
+ String str = null;
+ Field[] fields = component.getClass().getDeclaredFields();
+ AccessibleObject.setAccessible(fields, true);
+ for (Field field : fields) {
+ if (!Modifier.isStatic(field.getModifiers())) {
+ str = field.getName().substring(1);
+ if (str.startsWith("on")) {
+ componentAttribute.putEvent(str,
+ "");
+ } else if (str.indexOf("style") != -1 || str.indexOf("lass") != -1) {
+ try {
+ Object obj = field.get(component);
+ componentAttribute.putStyle(str, obj == null ? "null" : obj.toString());
+ } catch (IllegalArgumentException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ } catch (IllegalAccessException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+
+ } else {
+
+ try {
+ Class cl = field.getType();
+ if(cl.isPrimitive() || cl.getName().equals("java.lang.String")){
+ Object obj = field.get(component);
+ componentAttribute.putAttribute(str, obj == null ? "null" : obj.toString());
+ } else componentAttribute.putAttribute(str, "---");
+ } catch (IllegalArgumentException e) {
+ e.printStackTrace();
+ } catch (IllegalAccessException e) {
+ e.printStackTrace();
+ }
+ }
+ }
+ }
- public String [] getComponentInfo() {
- String [] str = {attribute, property};
- return str;
}
-
- public String getAttribute() {
- return attribute;
- }
- public String getProperty() {
- return property;
+ public Object invoke(String aMethod, Class[] params, Object[] args) {
+ Method m;
+ System.out.println("ComponentInfo.invoke()");
+ if (component == null) return null;
+ try {
+ m = component.getClass().getDeclaredMethod(aMethod, params);
+ Object obj = m.invoke(component, args);
+ return obj;
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ } catch (IllegalArgumentException e) {
+ e.printStackTrace();
+ } catch (IllegalAccessException e) {
+ e.printStackTrace();
+ } catch (InvocationTargetException e) {
+ e.printStackTrace();
+ }
+ finally {
+ return "";
+ }
}
-
- private void printInfo() {
- System.out.println("beanName: " + beanName + "[attribute: " + attribute + "; property: " + property + "; description: " + description + "];");
- }
- public String getDescription() {
- return description;
+ public ComponentAttribute getComponentAttribute() {
+ return componentAttribute;
}
-
- public void setDescription(String description) {
- this.description = description;
- }
}
Added: trunk/test-applications/jsp/src/main/java/util/componentInfo/Info.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/util/componentInfo/Info.java (rev 0)
+++ trunk/test-applications/jsp/src/main/java/util/componentInfo/Info.java 2008-07-01 07:14:44 UTC (rev 9311)
@@ -0,0 +1,119 @@
+/**
+ *
+ */
+package util.componentInfo;
+
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+import java.util.Map.Entry;
+
+import javax.faces.component.html.HtmlInputText;
+import javax.faces.component.html.HtmlOutputText;
+import javax.faces.component.html.HtmlPanelGrid;
+import javax.faces.context.FacesContext;
+
+/**
+ * @author user
+ *
+ */
+public class Info {
+ private ComponentInfo info = ComponentInfo.getInstance();
+ private ComponentAttribute componentAttribute = info.getComponentAttribute();;
+ private HtmlPanelGrid panelEvent = null;
+
+ public HtmlPanelGrid getPanelEvent() {
+ return panelEvent;
+ }
+
+ public void setPanelEvent(HtmlPanelGrid panelEvent) {
+ this.panelEvent = panelEvent;
+ }
+
+ public Info() {
+ }
+
+ public String getName() {
+ return info.getName();
+ }
+
+ public List<Pair> getAttribute(){
+ List<Pair> list = new ArrayList<Pair>();
+ Set<Entry<String, String>> set = componentAttribute.getAttributeEntry();
+ Iterator<Map.Entry<String, String>> iterator = set.iterator();
+ while (iterator.hasNext()) {
+ Map.Entry<String, String> entry = iterator.next();
+ String str = Character.toUpperCase(entry.getKey().charAt(0)) + entry.getKey().substring(1);
+// Object obj = null;
+// if(entry.getValue().equals("boolean"))
+// obj = info.invoke("is" + str, new Class[]{}, new Object[]{});
+// else obj = info.invoke("get" + str, new Class[]{}, new Object[]{});
+ list.add(new Pair(entry.getKey(), entry.getValue()));
+ }
+ return list;
+ }
+
+ public List<Pair> getEvent(){
+ FacesContext context = FacesContext.getCurrentInstance();
+ List<Pair> list = new ArrayList<Pair>();
+ Set<Entry<String, String>> set = componentAttribute.getEventEntry();
+ Iterator<Map.Entry<String, String>> iterator = set.iterator();
+ panelEvent.getChildren().clear();
+ while (iterator.hasNext()) {
+ Map.Entry<String, String> entry = iterator.next();
+ String key = entry.getKey();
+
+ HtmlOutputText out = new HtmlOutputText();
+ out.setValue(key);
+ panelEvent.getChildren().add(out);
+
+ HtmlInputText input = new HtmlInputText();
+ input.setValue("don't work");
+ input.setStyle("color:red");
+ input.setId(key + "InputID");
+ panelEvent.getChildren().add(input);
+
+ list.add(new Pair(key,"showEvent('" + input.getClientId(context) + "', '" + key + "work!')"));
+ }
+ return list;
+ }
+
+ public List<Pair> getStyle(){
+ List<Pair> list = new ArrayList<Pair>();
+ Set<Entry<String, String>> set = componentAttribute.getStyleEntry();
+ Iterator<Map.Entry<String, String>> iterator = set.iterator();
+ while (iterator.hasNext()) {
+ Map.Entry<String, String> entry = iterator.next();
+ list.add(new Pair(entry.getKey(), entry.getValue()));
+ }
+ return list;
+ }
+
+ public class Pair {
+ private String key;
+ private String value;
+
+ public Pair(String key, String value) {
+ this.key = key;
+ this.value = value;
+ }
+
+ public String getKey() {
+ return key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+ }
+}
Added: trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-ComponentInfo.xml
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-ComponentInfo.xml (rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-ComponentInfo.xml 2008-07-01 07:14:44 UTC (rev 9311)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
+<faces-config>
+ <managed-bean>
+ <managed-bean-name>info</managed-bean-name>
+ <managed-bean-class>util.componentInfo.Info</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+</faces-config>
\ No newline at end of file
Copied: trunk/test-applications/jsp/src/main/webapp/pages/Info (from rev 8931, trunk/test-applications/jsp/src/main/webapp/pages/Action)
Deleted: trunk/test-applications/jsp/src/main/webapp/pages/Info/EventInfo.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/pages/Action/EventInfo.jsp 2008-06-06 12:18:09 UTC (rev 8931)
+++ trunk/test-applications/jsp/src/main/webapp/pages/Info/EventInfo.jsp 2008-07-01 07:14:44 UTC (rev 9311)
@@ -1,111 +0,0 @@
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
-<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
-
-<f:subview id="EventInfoSubview">
- <f:verbatim><div style="position: relative"><input id="oneditactivatedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oneditactivationInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oninputdblclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oninputmousedownInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oninputmousemoveInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oninputmouseoutInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oninputmouseoverInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oninputmouseupInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onviewactivatedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onviewactivationInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onmouseupInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ontabenterInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ontableaveInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onLoadMapInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onselectionchangeInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ondownclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onupclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oninitInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ongroupactivateInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onitemselectInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onsubmitInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onRowClickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onRowDblClickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onRowMouseDownInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onRowMouseMoveInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onRowMouseOutInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onRowMouseOverInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onRowMouseUpInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onselectInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onchangeInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onfocusInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onblurInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oncollapseInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oncompleteInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ondblclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ondragendInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ondragenterInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ondragexitInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ondragstartInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ondropInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ondropendInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onexpandInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onkeydownInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onkeypressInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onkeyupInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onmousedownInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onmousemoveInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onmouseoutInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onmouseoverInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onselectedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onhideInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onshowInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onlistcallInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onitemselectedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oninputblurInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oninputchangeInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oninputclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oninputfocusInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oninputkeydownInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oninputkeypressInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oninputkeyupInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oninputselectInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ondateselectedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ondateselectInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ontimeselectInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ontimeselectedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onchangedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ondatemouseoverInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ondatemouseoutInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oncurrentdateselectInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onbeforedomupdateInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onslideInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ondropoverInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ondropoutInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onerrorInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ontopclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onbottomclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onorderchangedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onmoveInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onheaderclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onmaskclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onresizeInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onmaskmouseoverInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onmaskmouseoutInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onmaskmousemoveInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onmaskmouseupInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onmaskmousedownInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onmaskdblclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onmaskcontextmenuInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onitemchangeInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onitemhoverInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ongroupexpandInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="oncontextmenuInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ongroupcollapseInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onclearInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onuploadInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onuploadcanceledInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onuploadcompleteInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onsizerejectedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ontyperejectedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onbeforehideInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="onbeforeshowInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="openedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
-</f:subview>
Copied: trunk/test-applications/jsp/src/main/webapp/pages/Info/Info.jsp (from rev 8931, trunk/test-applications/jsp/src/main/webapp/pages/Action/EventInfo.jsp)
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/pages/Info/Info.jsp (rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/pages/Info/Info.jsp 2008-07-01 07:14:44 UTC (rev 9311)
@@ -0,0 +1,32 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
+<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
+
+<f:subview id="infoSubview">
+ <h:panelGrid binding="#{info.panelEvent}" columns="2">
+ </h:panelGrid>
+ <h:commandButton action="#{info.getEvent}" value="style"></h:commandButton>
+
+ <a4j:commandButton reRender="styleTableID" value="rerender"></a4j:commandButton>
+ <h:dataTable id="styleTableID" value="#{info.style}" var="info">
+ <h:column>
+ <h:outputText value="#{info.key}"></h:outputText>
+ </h:column>
+ <h:column>
+ <h:outputText value="#{info.value}"></h:outputText>
+ </h:column>
+ </h:dataTable>
+
+ <a4j:commandButton reRender="attributeTableID" value="rerender"></a4j:commandButton>
+ <h:dataTable id="attributeTableID" value="#{info.attribute}" var="info">
+ <h:column>
+ <h:outputText value="#{info.key}"></h:outputText>
+ </h:column>
+ <h:column>
+ <h:outputText value="#{info.value}"></h:outputText>
+ </h:column>
+ </h:dataTable>
+
+ <h:commandButton value="test" action="#{calendarBean.bindingTest}"></h:commandButton>
+</f:subview>
16 years, 6 months