JBoss Rich Faces SVN: r10014 - trunk/test-applications/jsp/src/main/java/validator.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-08-11 04:21:16 -0400 (Mon, 11 Aug 2008)
New Revision: 10014
Modified:
trunk/test-applications/jsp/src/main/java/validator/ValidatorBean.java
Log:
Modified: trunk/test-applications/jsp/src/main/java/validator/ValidatorBean.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/validator/ValidatorBean.java 2008-08-11 08:14:04 UTC (rev 10013)
+++ trunk/test-applications/jsp/src/main/java/validator/ValidatorBean.java 2008-08-11 08:21:16 UTC (rev 10014)
@@ -64,7 +64,7 @@
private double digit;
@Range(min=0,max=15,message="Range validation failed!")
private String rangeValue;
- @NotEmpty(message="rich:beanValidator work")
+ @NotEmpty
private String newValue;
@Pattern(regex="^1234*$") //Searh "1234" as a whole word
private String patternValue;
16 years, 5 months
JBoss Rich Faces SVN: r10013 - trunk/test-applications/jsp/src/main/webapp/Validator.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-08-11 04:14:04 -0400 (Mon, 11 Aug 2008)
New Revision: 10013
Modified:
trunk/test-applications/jsp/src/main/webapp/Validator/Validator.jsp
trunk/test-applications/jsp/src/main/webapp/Validator/ValidatorStraightforward.jsp
Log:
-6 properties for ajaxValidator
dataBean is changed to data on Straightforward page.
Modified: trunk/test-applications/jsp/src/main/webapp/Validator/Validator.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Validator/Validator.jsp 2008-08-10 15:19:06 UTC (rev 10012)
+++ trunk/test-applications/jsp/src/main/webapp/Validator/Validator.jsp 2008-08-11 08:14:04 UTC (rev 10013)
@@ -3,7 +3,7 @@
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview id="validatorSubviewID">
- <a4j:region>
+
<rich:panel>
<f:facet name="header">
<h:outputText>Single input field with label and message. Validated by AJAX on every changing.</h:outputText>
@@ -14,6 +14,7 @@
</h:inputText>
<rich:message for="ltext" showDetail="true" showSummary="true" />
</rich:panel>
+ <a4j:region>
<h2>Input fields with label and message in the JSF dataTable.
Each field validated by AJAX on "onchange" event</h2>
<rich:graphValidator value="#{data}"
@@ -70,19 +71,15 @@
disableDefault="#{validator.disableDefault}" event="onchange"
eventsQueue="#{validator.eventsQueue}" focus="mailValue"
id="ajaxValidatorID"
- ignoreDupResponses="#{validator.ignoreDupResponses}"
- immediate="#{validator.immediate}"
+ ignoreDupResponses="#{validator.ignoreDupResponses}"
limitToList="#{validator.limitToList}"
onbeforedomupdate="#{event.onbeforedomupdate}"
- oncomplete="#{event.oncomplete}" onsubmit="#{event.onsubmit}"
- parentProperties="#{validator.parentProperties}"
- process="mailValue,booleanValue,assertTrue,eanValue,creditValue"
- rendered="#{validator.rendered}"
- renderRegionOnly="#{validator.renderRegionOnly}"
+ oncomplete="#{event.oncomplete}" onsubmit="#{event.onsubmit}"
+ rendered="#{validator.rendered}"
requestDelay="#{validator.requestDelay}"
reRender="mailValue,booleanValue,assertTrue,eanValue,creditValue"
- selfRendered="#{validator.selfRendered}" status="mailValue"
- submitted="#{validator.submitted}" timeout="#{validator.timeout}"></rich:ajaxValidator>
+ status="mailValue"
+ ajaxListener="#{validator.processAjax}"></rich:ajaxValidator>
</h:inputText>
<rich:message for="mailValue" showDetail="true" showSummary="true" />
</h:panelGroup>
@@ -97,7 +94,7 @@
</h:panelGroup>
<h:outputLabel for="assertTrue" value="AssertTrue validation:" />
- <h:panelGroup>
+ <h:panelGroup>
<h:selectBooleanCheckbox value="#{validator.assertTrue}"
id="assertTrue">
<rich:ajaxValidator event="onchange"></rich:ajaxValidator>
Modified: trunk/test-applications/jsp/src/main/webapp/Validator/ValidatorStraightforward.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Validator/ValidatorStraightforward.jsp 2008-08-10 15:19:06 UTC (rev 10012)
+++ trunk/test-applications/jsp/src/main/webapp/Validator/ValidatorStraightforward.jsp 2008-08-11 08:14:04 UTC (rev 10013)
@@ -62,8 +62,8 @@
<a4j:region>
<h:outputText value="Enter quantity of lines [2-8]" />
<h:panelGroup>
- <h:inputText value="#{dataBean.length}"/>
- <a4j:commandButton action="#{dataBean.addNewItem}" value="ok"
+ <h:inputText value="#{data.length}"/>
+ <a4j:commandButton action="#{data.addNewItem}" value="ok"
reRender="SizeValidationID"></a4j:commandButton>
</h:panelGroup>
</a4j:region>
16 years, 5 months
JBoss Rich Faces SVN: r10011 - trunk/samples/extendedDataTable-sample.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-08-10 11:17:54 -0400 (Sun, 10 Aug 2008)
New Revision: 10011
Modified:
trunk/samples/extendedDataTable-sample/
Log:
Service folders svn:ignored
Property changes on: trunk/samples/extendedDataTable-sample
___________________________________________________________________
Name: svn:ignore
- target
+ target
.classpath
.project
bin
.settings
16 years, 5 months
JBoss Rich Faces SVN: r10010 - in trunk: samples/extendedDataTable-sample/.settings and 5 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-08-10 11:14:25 -0400 (Sun, 10 Aug 2008)
New Revision: 10010
Removed:
trunk/samples/extendedDataTable-sample/.classpath
trunk/samples/extendedDataTable-sample/.project
trunk/samples/extendedDataTable-sample/.settings/org.eclipse.wst.common.component
trunk/samples/extendedDataTable-sample/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/ui/extendedDataTable/src/main/javascript/ClientUI/common/
trunk/ui/extendedDataTable/src/main/javascript/ClientUILib.js
trunk/ui/extendedDataTable/src/main/javascript/common/prototype/
trunk/ui/extendedDataTable/src/main/javascript/common/scriptaculous/
Modified:
trunk/samples/extendedDataTable-sample/pom.xml
trunk/ui/extendedDataTable/ant-devtools.xml
trunk/ui/extendedDataTable/generatescript.xml
trunk/ui/extendedDataTable/src/main/templates/org/richfaces/htmlExtendedDataTable.jspx
Log:
Script changes from ext. dt. applied to sdt
Deleted: trunk/samples/extendedDataTable-sample/.classpath
===================================================================
--- trunk/samples/extendedDataTable-sample/.classpath 2008-08-10 14:51:56 UTC (rev 10009)
+++ trunk/samples/extendedDataTable-sample/.classpath 2008-08-10 15:14:25 UTC (rev 10010)
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" output="target/classes" path="src/main/java"/>
- <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER">
- <attributes>
- <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
- <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
- <classpathentry kind="output" path="target/classes"/>
-</classpath>
Deleted: trunk/samples/extendedDataTable-sample/.project
===================================================================
--- trunk/samples/extendedDataTable-sample/.project 2008-08-10 14:51:56 UTC (rev 10009)
+++ trunk/samples/extendedDataTable-sample/.project 2008-08-10 15:14:25 UTC (rev 10010)
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>extendedDataTable-sample</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.wst.common.project.facet.core.builder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.wst.validation.validationbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.maven.ide.eclipse.maven2Builder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.maven.ide.eclipse.maven2Nature</nature>
- <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
- <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
- <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
- <nature>org.jboss.tools.jsf.jsfnature</nature>
- </natures>
-</projectDescription>
Deleted: trunk/samples/extendedDataTable-sample/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/samples/extendedDataTable-sample/.settings/org.eclipse.wst.common.component 2008-08-10 14:51:56 UTC (rev 10009)
+++ trunk/samples/extendedDataTable-sample/.settings/org.eclipse.wst.common.component 2008-08-10 15:14:25 UTC (rev 10010)
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project-modules id="moduleCoreId" project-version="1.5.0">
- <wb-module deploy-name="extendedDataTable-sample">
- <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
- <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
- <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
- <property name="context-root" value="extendedDataTable-sample"/>
- <property name="java-output-path" value="build/classes"/>
- </wb-module>
-</project-modules>
Deleted: trunk/samples/extendedDataTable-sample/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/samples/extendedDataTable-sample/.settings/org.eclipse.wst.common.project.facet.core.xml 2008-08-10 14:51:56 UTC (rev 10009)
+++ trunk/samples/extendedDataTable-sample/.settings/org.eclipse.wst.common.project.facet.core.xml 2008-08-10 15:14:25 UTC (rev 10010)
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<faceted-project>
- <installed facet="jst.java" version="5.0"/>
- <installed facet="jst.web" version="2.3"/>
-</faceted-project>
Modified: trunk/samples/extendedDataTable-sample/pom.xml
===================================================================
--- trunk/samples/extendedDataTable-sample/pom.xml 2008-08-10 14:51:56 UTC (rev 10009)
+++ trunk/samples/extendedDataTable-sample/pom.xml 2008-08-10 15:14:25 UTC (rev 10010)
@@ -18,15 +18,15 @@
<artifactId>skins</artifactId>
<version>${project.version}</version>
</dependency>
- <dependency>
+ <dependency>
<groupId>org.richfaces.ui</groupId>
- <artifactId>richfaces-ui</artifactId>
+ <artifactId>extendedDataTable</artifactId>
<version>${project.version}</version>
<type>jar</type>
</dependency>
- <dependency>
+ <dependency>
<groupId>org.richfaces.ui</groupId>
- <artifactId>extendedDataTable</artifactId>
+ <artifactId>richfaces-ui</artifactId>
<version>${project.version}</version>
<type>jar</type>
</dependency>
Modified: trunk/ui/extendedDataTable/ant-devtools.xml
===================================================================
--- trunk/ui/extendedDataTable/ant-devtools.xml 2008-08-10 14:51:56 UTC (rev 10009)
+++ trunk/ui/extendedDataTable/ant-devtools.xml 2008-08-10 15:14:25 UTC (rev 10010)
@@ -19,11 +19,6 @@
<property name="gen-script-full-name" value="${target-dir}/${script-path}/${gen-script-name}"></property>
<concat append="false" binary="false" destfile="${gen-script-full-name}">
<filelist>
- <file name="${resources-dir}/ClientUILib.js"/>
- <file name="${resources-dir}/ClientUI/common/utils/Utils.js"/>
- <file name="${resources-dir}/ClientUI/common/utils/StringBuilder.js"/>
- <file name="${resources-dir}/ClientUI/common/utils/Validators.js"/>
- <file name="${resources-dir}/ClientUI/common/box/Box.js"/>
<file name="${resources-dir}/ClientUI/controls/dataTable/ExtendedDataTable.js"/>
<file name="${resources-dir}/ClientUI/controls/datatable/ExtendedDataTableHeader.js"/>
<file name="${resources-dir}/ClientUI/controls/datatable/ExtendedDataTableSelection.js"/>
Modified: trunk/ui/extendedDataTable/generatescript.xml
===================================================================
--- trunk/ui/extendedDataTable/generatescript.xml 2008-08-10 14:51:56 UTC (rev 10009)
+++ trunk/ui/extendedDataTable/generatescript.xml 2008-08-10 15:14:25 UTC (rev 10010)
@@ -21,11 +21,6 @@
<property name="gen-script-full-name" value="${target-dir}/${script-path}/${gen-script-name}"></property>
<concat append="false" binary="false" destfile="${gen-script-full-name}">
<filelist dir="${resources-dir}">
- <file name="${resources-dir}/ClientUILib.js"/>
- <file name="${resources-dir}/ClientUI/common/utils/Utils.js"/>
- <file name="${resources-dir}/ClientUI/common/utils/StringBuilder.js"/>
- <file name="${resources-dir}/ClientUI/common/utils/Validators.js"/>
- <file name="${resources-dir}/ClientUI/common/box/Box.js"/>
<file name="${resources-dir}/ClientUI/controls/datatable/ExtendedDataTable.js"/>
<file name="${resources-dir}/ClientUI/controls/datatable/ExtendedDataTableHeader.js"/>
<file name="${resources-dir}/ClientUI/controls/datatable/ExtendedDataTableSelection.js"/>
@@ -40,11 +35,6 @@
<property name="gen-script-full-name" value="${target-dir}/${script-path}/${gen-script-name}"></property>
<concat append="false" binary="false" destfile="${gen-script-full-name}">
<filelist dir="${resources-dir}">
- <file name="ClientUILib.js"/>
- <file name="/ClientUI/common/utils/Utils.js"/>
- <file name="/ClientUI/common/utils/StringBuilder.js"/>
- <file name="/ClientUI/common/utils/Validators.js"/>
- <file name="/ClientUI/common/box/Box.js"/>
<file name="/ClientUI/controls/dataTable/ExtendedDataTable.js"/>
<file name="/ClientUI/controls/datatable/ExtendedDataTableHeader.js"/>
<file name="/ClientUI/controls/datatable/ExtendedDataTableSelection.js"/>
Deleted: trunk/ui/extendedDataTable/src/main/javascript/ClientUILib.js
===================================================================
--- trunk/ui/extendedDataTable/src/main/javascript/ClientUILib.js 2008-08-10 14:51:56 UTC (rev 10009)
+++ trunk/ui/extendedDataTable/src/main/javascript/ClientUILib.js 2008-08-10 15:14:25 UTC (rev 10010)
@@ -1,350 +0,0 @@
-// ClientUILib base.js v1.0.0, Fri Jan 19 19:16:36 CET 2007
-
-// TODO: Copyright (c) 2007, Denis Morozov (dmorozov(a)exadel.com)
-// ...
-
-if(!ClientUILib) {
-
-var ClientUILib = {
- Version: '1.0.0',
- Name: 'ClientUILib',
- LibraryPath: './',
- packages: [],
- load: function(showLog) {
- // Check for Prototype JavaScript framework
-
- if((typeof Prototype=='undefined') ||
- (typeof Element == 'undefined') ||
- (typeof Element.Methods=='undefined') ||
- parseFloat(Prototype.Version.split(".")[0] + "." +
- Prototype.Version.split(".")[1]) < 1.5)
- throw("ClientUILib requires the Prototype JavaScript framework >= 1.5.0");
-
- // Check for Extend JavaScript library
-// if((typeof Extend=='undefined') ||
-// Extend.VERSION < 1.1)
-// throw("ClientUILib requires the Extend JavaScript library >= 1.1");
-
- $A(document.getElementsByTagName("script")).findAll( function(s) {
- return (s.src && s.src.match(/ClientUILib\.js(\?.*)?$/))
- }).each( function(s) {
- LibraryPath = s.src.replace(/ClientUILib\.js(\?.*)?$/,'');
- });
-
- if(showLog) {
- ClientUILogger.create("ClientUILogger");
- this.startTime = (new Date()).getTime();
- }
-
- this.initBrowser();
- },
- include: function(libraryPackageName) {
- if(!this.packages)
- this.packages=[];
- if(!this.packages[libraryPackageName]) {
- this.packages[libraryPackageName] = true;
- var re = /\./g; // Replace all '.' in package name
- var packagePath = LibraryPath + libraryPackageName.replace(re, "/");
- document.write('<script type="text/javascript" src="' + packagePath + '.js"></script>');
- }
- },
- include2: function(libraryPackageName) {
- if(!this.packages)
- this.packages=[];
- if(!this.packages[libraryPackageName]) {
- this.packages[libraryPackageName] = true;
- var re = /\./g; // Replace all '.' in package name
- var packagePath = LibraryPath + libraryPackageName.replace(re, "/");
- var e = document.createElement("script");
- e.src = packagePath+".js";
- e.type="text/javascript";
- document.getElementsByTagName("head")[0].appendChild(e);
- }
- },
- requireClass: function(libName) {
- // required class not included before
- if(!this.packages[libName]) {
- //this.include2(libName);
- ClientUILib.log(ClientUILogger.ERROR, "Library '" + libName + "' required!!!");
- throw("Package '" + libName + "' is required!");
- }
- },
- declarePackage: function(libName) {
- var pckg = null;
- var packages = $A(libName.split("."));
- packages.each( function(s) {
- if(pckg == null)
- pckg = eval(s);
- else {
- if(!pckg[s]) pckg[s] = {};
- pckg = pckg[s];
- }
- });
- this.packages[libName] = true;
- },
- log: function(level, infoText) {
- if(ClientUILogger.isCreated){
- ClientUILogger.log(level, infoText);
- } else {
- switch(level) {
- case ClientUILogger.INFO: LOG.info(infoText); break;
- case ClientUILogger.ERROR: LOG.error(infoText); break;
- case ClientUILogger.WARNING: LOG.warn(infoText); break;
- default: LOG.a4jDebug(infoText);;
- }
- }
- },
-
- initBrowser: function() {
- var ua = navigator.userAgent.toLowerCase();
- /** @type Boolean */
- this.isOpera = (ua.indexOf('opera') > -1);
- /** @type Boolean */
- this.isSafari = (ua.indexOf('webkit') > -1);
- /** @type Boolean */
- this.isIE = (window.ActiveXObject);
- /** @type Boolean */
- this.isIE7 = (ua.indexOf('msie 7') > -1);
- /** @type Boolean */
- this.isGecko = !this.isSafari && (ua.indexOf('gecko') > -1);
-
- if(ua.indexOf("windows") != -1 || ua.indexOf("win32") != -1){
- /** @type Boolean */
- this.isWindows = true;
- }else if(ua.indexOf("macintosh") != -1){
- /** @type Boolean */
- this.isMac = true;
- }
- if(this.isIE && !this.isIE7){
- try{
- document.execCommand("BackgroundImageCache", false, true);
- }catch(e){}
- }
- }
-};
-
-var ClientUILogger = {
- // log level
- INFO: 1,
- WARNING: 2,
- ERROR: 3,
- EVENT: 4, //KAW EVENT level added to trace events
- ALERT: 5, //KAW ALERT level to stop executing script
- hEnabledLevels: {
- 1: true,
- 2: true,
- 3: true,
- 4: true,
- 5: false
- },
- // flag logger is initialized
- isCreated: false,
- width: 460,
- height: 600,
- top: 0,
- left: 750,
- bLoggingEnabled: true,
- create: function() {
- this.mainDiv = $(document.createElement("div"));
- this.mainDiv.setStyle({border: '1px black solid',
- position: 'absolute',padding: '1px'});
- this.logElement = $(document.createElement("div"));
- this.logElement.setStyle({overflow: 'auto', whiteSpace: 'nowrap'});
- this.buttonsContainer = $(document.createElement("div"));
-
- var clearDiv = this.buttonClear = $(document.createElement('div'));
- clearDiv.setStyle({width: 120 + 'px', height: 25 + 'px',
- border: '1px black solid'});
- clearDiv.innerHTML = 'Clear';
-
- var toggleLoggingDiv = this.buttonToggleLogging = $(document.createElement('div'));
- toggleLoggingDiv.setStyle({width: 120 + 'px', height: 25 + 'px',
- border: '1px black solid', position: 'relative',
- top: '-27px', left: '122px'
- });
- toggleLoggingDiv.innerHTML = 'Logging '+this.isLoggingEnabled();
-
- var toggleAlertDiv = this.buttonToggleAlert = $(document.createElement('div'));
- toggleAlertDiv.setStyle({width: 120 + 'px', height: 25 + 'px',
- border: '1px black solid', position: 'relative',
- top: '-54px', left: '244px'
- });
- toggleAlertDiv.innerHTML = 'Alert '+this.isLevelEnabled(ClientUILogger.ALERT);
-
- this.buttonsContainer.appendChild(clearDiv);
- this.buttonsContainer.appendChild(toggleLoggingDiv);
- this.buttonsContainer.appendChild(toggleAlertDiv);
- this.mainDiv.appendChild(this.logElement);
- this.mainDiv.appendChild(this.buttonsContainer);
-
- this.eventClearClicked = this.onClearClick.bindAsEventListener(this);
- this.eventToggleLoggingClicked = this.onToggleLoggingClick.bindAsEventListener(this);
- this.eventToggleAlertClicked = this.onToggleAlertClick.bindAsEventListener(this);
- Event.observe(toggleLoggingDiv, 'click', ClientUILogger.eventToggleLoggingClicked);
- Event.observe(toggleAlertDiv, 'click', ClientUILogger.eventToggleAlertClicked);
- Event.observe(clearDiv, 'click', ClientUILogger.eventClearClicked);
- Event.observe(window, 'load', ClientUILogger.init);
- Event.observe(window, 'resize', ClientUILogger.resizeWindow);
-
- this.isCreated = true;
- },
- onToggleAlertClick: function() {
- this.toggleLevel(ClientUILogger.ALERT);
- this.buttonToggleAlert.innerHTML = 'Alert '+this.isLevelEnabled(ClientUILogger.ALERT);
- },
- onToggleLoggingClick: function(event) {
- this.toggleLogging();
- this.buttonToggleLogging.innerHTML = 'Logging '+this.isLoggingEnabled();
- },
- onClearClick: function(event) {
- Event.stop(event);
- this.logElement.innerHTML = '';
- },
- init: function() {
- if(ClientUILogger.mainDiv)
- document.body.appendChild(ClientUILogger.mainDiv);
- ClientUILogger.show();
- },
- resizeWindow: function() {
- ClientUILogger.show();
- },
- show: function() {
- if(this.logElement) {
- Element.show(this.mainDiv);
- this.mainDiv.setStyle({width: this.width + 'px',
- height: this.height + 'px',
- top: this.top + 'px',
- left: this.left+ 'px',
- zIndex: '1000'});
- this.logElement.setStyle({width: '100%', height: '90%'});
- this.buttonsContainer.setStyle({width: '100%', height: '10%'});
- //this.logElement.setStyle({top: (this.getWindowHeight() - this.height - 10) + 'px'});
- //this.logElement.setStyle({top: 10 + 'px'});
- //this.logElement.setStyle({left: (this.getWindowWidth() - this.width - 10) + 'px'});
- //KAW changed logger display place
- }
- },
- isLevelEnabled: function(level) {
- return this.hEnabledLevels[level];
- },
- isLoggingEnabled: function() {
- return this.bLoggingEnabled;
- },
- toggleLogging: function() {
- this.bLoggingEnabled = !this.bLoggingEnabled;
- },
- toggleLevel: function(level) {
- this.hEnabledLevels[level] = !this.hEnabledLevels[level];
- },
- log: function(level, infoText) {
- var bIgnoreLog = !this.isLoggingEnabled() || !this.isLevelEnabled(level);
- if (bIgnoreLog) {
- //PREMATURE RETURN no logging required
- return;
- }
- var msg = $(document.createElement("div"));
- this.logElement.appendChild(msg);
- msg.setStyle({width: '100%'});
-
- var font = "bold normal bold 10pt Arial";
- var fontColor = "red";
-
- if (level == ClientUILogger.ALERT) {
- alert(infoText);
- }else{
- switch(level) {
- case ClientUILogger.INFO:
- fontColor = "black";
- font = "normal normal normal 10pt Arial";
- break;
- case ClientUILogger.WARNING:
- fontColor = "blue";
- font = "italic normal normal 10pt Arial";
- break;
- case ClientUILogger.ERROR:
- fontColor = "red";
- font = "normal normal bold 10pt Arial";
- break;
- case ClientUILogger.EVENT:
- fontColor = "green";
- font = "normal normal bold 10pt Arial";
- break;
- default:
- infoText = "UNRESOLVED: level=" + level + ", msg=" + infoText;
- }
- msg.setStyle({font: font});
- msg.setStyle({color: fontColor});
- msg.appendChild(document.createTextNode("> " + infoText));
-
- this.logElement.scrollTop = this.logElement.scrollHeight;
- }
- },
- getWindowWidth: function(){
- var innerWidth;
- if (navigator.appVersion.indexOf('MSIE')>0) {
- innerWidth = document.body.clientWidth;
- } else {
- innerWidth = window.innerWidth;
- }
- return innerWidth;
- },
- getWindowHeight: function(){
- var innerHeight;
- if (navigator.appVersion.indexOf('MSIE')>0) {
- innerHeight = document.body.clientHeight;
- } else {
- innerHeight = window.innerHeight;
- }
- return innerHeight;
- }
-};
-
-ClientUILib.load(false); //KAW debugging OFF
-
-// declare predefined packages
-var ClientUI = {
- controls: {},
- layouts: {}
-};
-
-// Some helper functions\
-if(!ClientUILib.isIE){
- HTMLElement.prototype.click = function() {
- var evt = this.ownerDocument.createEvent('MouseEvents');
- evt.initMouseEvent('click', true, true, this.ownerDocument.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null);
- this.dispatchEvent(evt);
- }
-};
-
-// Usage: Event.onReady(callbackFunction);
-Object.extend(Event, {
- _domReady : function() {
- if (arguments.callee.done) return;
- arguments.callee.done = true;
-
- if (Event._timer) clearInterval(Event._timer);
-
- Event._readyCallbacks.each(function(f) { f() });
- Event._readyCallbacks = null;
- },
- onReady : function(f) {
- if (!this._readyCallbacks) {
- var domReady = this._domReady;
-
- if (domReady.done) return f();
-
- if (document.addEventListener)
- document.addEventListener("DOMContentLoaded", domReady, false);
- if (/WebKit/i.test(navigator.userAgent)) {
- this._timer = setInterval(function() {
- if (/loaded|complete/.test(document.readyState)) domReady();
- }, 10);
- }
- Event.observe(window, 'load', domReady);
- Event._readyCallbacks = [];
- }
- Event._readyCallbacks.push(f);
- }
-});
-
-};
Modified: trunk/ui/extendedDataTable/src/main/templates/org/richfaces/htmlExtendedDataTable.jspx
===================================================================
--- trunk/ui/extendedDataTable/src/main/templates/org/richfaces/htmlExtendedDataTable.jspx 2008-08-10 14:51:56 UTC (rev 10009)
+++ trunk/ui/extendedDataTable/src/main/templates/org/richfaces/htmlExtendedDataTable.jspx 2008-08-10 15:14:25 UTC (rev 10010)
@@ -38,6 +38,8 @@
/org/richfaces/renderkit/html/scripts/jquery/jquery.js,
/org/richfaces/renderkit/html/script/controlUtils.js,
+ /org/richfaces/renderkit/html/scripts/scrollable-data-table.js,
+
/org/richfaces/renderkit/html/scripts/extended-data-table.js,
/org/richfaces/renderkit/html/scripts/drag-indicator.js,
/org/richfaces/renderkit/html/scripts/ext-dt-drag-indicator.js,
16 years, 5 months
JBoss Rich Faces SVN: r10009 - trunk/ui/scrollableDataTable/src/main/javascript.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-08-10 10:51:56 -0400 (Sun, 10 Aug 2008)
New Revision: 10009
Modified:
trunk/ui/scrollableDataTable/src/main/javascript/ClientUILib.js
Log:
Log diff from extended data table applied
Modified: trunk/ui/scrollableDataTable/src/main/javascript/ClientUILib.js
===================================================================
--- trunk/ui/scrollableDataTable/src/main/javascript/ClientUILib.js 2008-08-10 13:18:54 UTC (rev 10008)
+++ trunk/ui/scrollableDataTable/src/main/javascript/ClientUILib.js 2008-08-10 14:51:56 UTC (rev 10009)
@@ -128,24 +128,81 @@
INFO: 1,
WARNING: 2,
ERROR: 3,
-
+ EVENT: 4, //KAW EVENT level added to trace events
+ ALERT: 5, //KAW ALERT level to stop executing script
+ hEnabledLevels: {
+ 1: true,
+ 2: true,
+ 3: true,
+ 4: true,
+ 5: false
+ },
// flag logger is initialized
isCreated: false,
width: 460,
- height: 90,
+ height: 600,
+ top: 0,
+ left: 750,
+ bLoggingEnabled: true,
create: function() {
+ this.mainDiv = $(document.createElement("div"));
+ this.mainDiv.setStyle({border: '1px black solid',
+ position: 'absolute',padding: '1px'});
this.logElement = $(document.createElement("div"));
- this.logElement.setStyle({position: 'absolute'});
- this.logElement.setStyle({overflow: 'auto'});
- this.logElement.setStyle({whiteSpace: 'nowrap'});
+ this.logElement.setStyle({overflow: 'auto', whiteSpace: 'nowrap'});
+ this.buttonsContainer = $(document.createElement("div"));
+ var clearDiv = this.buttonClear = $(document.createElement('div'));
+ clearDiv.setStyle({width: 120 + 'px', height: 25 + 'px',
+ border: '1px black solid'});
+ clearDiv.innerHTML = 'Clear';
+
+ var toggleLoggingDiv = this.buttonToggleLogging = $(document.createElement('div'));
+ toggleLoggingDiv.setStyle({width: 120 + 'px', height: 25 + 'px',
+ border: '1px black solid', position: 'relative',
+ top: '-27px', left: '122px'
+ });
+ toggleLoggingDiv.innerHTML = 'Logging '+this.isLoggingEnabled();
+
+ var toggleAlertDiv = this.buttonToggleAlert = $(document.createElement('div'));
+ toggleAlertDiv.setStyle({width: 120 + 'px', height: 25 + 'px',
+ border: '1px black solid', position: 'relative',
+ top: '-54px', left: '244px'
+ });
+ toggleAlertDiv.innerHTML = 'Alert '+this.isLevelEnabled(ClientUILogger.ALERT);
+
+ this.buttonsContainer.appendChild(clearDiv);
+ this.buttonsContainer.appendChild(toggleLoggingDiv);
+ this.buttonsContainer.appendChild(toggleAlertDiv);
+ this.mainDiv.appendChild(this.logElement);
+ this.mainDiv.appendChild(this.buttonsContainer);
+
+ this.eventClearClicked = this.onClearClick.bindAsEventListener(this);
+ this.eventToggleLoggingClicked = this.onToggleLoggingClick.bindAsEventListener(this);
+ this.eventToggleAlertClicked = this.onToggleAlertClick.bindAsEventListener(this);
+ Event.observe(toggleLoggingDiv, 'click', ClientUILogger.eventToggleLoggingClicked);
+ Event.observe(toggleAlertDiv, 'click', ClientUILogger.eventToggleAlertClicked);
+ Event.observe(clearDiv, 'click', ClientUILogger.eventClearClicked);
Event.observe(window, 'load', ClientUILogger.init);
Event.observe(window, 'resize', ClientUILogger.resizeWindow);
+
this.isCreated = true;
},
+ onToggleAlertClick: function() {
+ this.toggleLevel(ClientUILogger.ALERT);
+ this.buttonToggleAlert.innerHTML = 'Alert '+this.isLevelEnabled(ClientUILogger.ALERT);
+ },
+ onToggleLoggingClick: function(event) {
+ this.toggleLogging();
+ this.buttonToggleLogging.innerHTML = 'Logging '+this.isLoggingEnabled();
+ },
+ onClearClick: function(event) {
+ Event.stop(event);
+ this.logElement.innerHTML = '';
+ },
init: function() {
- if(ClientUILogger.logElement)
- document.body.appendChild(ClientUILogger.logElement);
+ if(ClientUILogger.mainDiv)
+ document.body.appendChild(ClientUILogger.mainDiv);
ClientUILogger.show();
},
resizeWindow: function() {
@@ -153,46 +210,75 @@
},
show: function() {
if(this.logElement) {
- Element.show(this.logElement);
- this.logElement.setStyle({width: this.width + 'px'});
- this.logElement.setStyle({height: this.height + 'px'});
+ Element.show(this.mainDiv);
+ this.mainDiv.setStyle({width: this.width + 'px',
+ height: this.height + 'px',
+ top: this.top + 'px',
+ left: this.left+ 'px',
+ zIndex: '1000'});
+ this.logElement.setStyle({width: '100%', height: '90%'});
+ this.buttonsContainer.setStyle({width: '100%', height: '10%'});
//this.logElement.setStyle({top: (this.getWindowHeight() - this.height - 10) + 'px'});
//this.logElement.setStyle({top: 10 + 'px'});
//this.logElement.setStyle({left: (this.getWindowWidth() - this.width - 10) + 'px'});
- this.logElement.setStyle({top: '0px'});
- this.logElement.setStyle({left: '250px'});
- this.logElement.setStyle({zIndex: '1000'});
+ //KAW changed logger display place
}
},
+ isLevelEnabled: function(level) {
+ return this.hEnabledLevels[level];
+ },
+ isLoggingEnabled: function() {
+ return this.bLoggingEnabled;
+ },
+ toggleLogging: function() {
+ this.bLoggingEnabled = !this.bLoggingEnabled;
+ },
+ toggleLevel: function(level) {
+ this.hEnabledLevels[level] = !this.hEnabledLevels[level];
+ },
log: function(level, infoText) {
- var msg = $(document.createElement("div"));
- this.logElement.appendChild(msg);
- msg.setStyle({width: '100%'});
+ var bIgnoreLog = !this.isLoggingEnabled() || !this.isLevelEnabled(level);
+ if (bIgnoreLog) {
+ //PREMATURE RETURN no logging required
+ return;
+ }
- var font = "bold normal bold 10pt Arial";
- var fontColor = "red";
-
- switch(level) {
- case ClientUILogger.INFO:
- fontColor = "black";
- font = "normal normal normal 10pt Arial";
- break;
- case ClientUILogger.WARNING:
- fontColor = "blue";
- font = "italic normal normal 10pt Arial";
- break;
- case ClientUILogger.ERROR:
- fontColor = "red";
- font = "normal normal bold 10pt Arial";
- break;
- default:
- infoText = "UNRESOLVED: level=" + level + ", msg=" + infoText;
+ if (level == ClientUILogger.ALERT) {
+ alert(infoText);
+ }else{
+ var msg = $(document.createElement("div"));
+ this.logElement.appendChild(msg);
+ msg.setStyle({width: '100%'});
+
+ var font = "bold normal bold 10pt Arial";
+ var fontColor = "red";
+
+ switch(level) {
+ case ClientUILogger.INFO:
+ fontColor = "black";
+ font = "normal normal normal 10pt Arial";
+ break;
+ case ClientUILogger.WARNING:
+ fontColor = "blue";
+ font = "italic normal normal 10pt Arial";
+ break;
+ case ClientUILogger.ERROR:
+ fontColor = "red";
+ font = "normal normal bold 10pt Arial";
+ break;
+ case ClientUILogger.EVENT:
+ fontColor = "green";
+ font = "normal normal bold 10pt Arial";
+ break;
+ default:
+ infoText = "UNRESOLVED: level=" + level + ", msg=" + infoText;
+ }
+ msg.setStyle({font: font});
+ msg.setStyle({color: fontColor});
+ msg.appendChild(document.createTextNode("> " + infoText));
+
+ this.logElement.scrollTop = this.logElement.scrollHeight;
}
- msg.setStyle({font: font});
- msg.setStyle({color: fontColor});
- msg.appendChild(document.createTextNode("> " + infoText));
-
- this.logElement.scrollTop = this.logElement.scrollHeight;
},
getWindowWidth: function(){
var innerWidth;
@@ -214,7 +300,7 @@
}
};
-ClientUILib.load();
+ClientUILib.load(false); //KAW debugging OFF
// declare predefined packages
var ClientUI = {
16 years, 5 months
JBoss Rich Faces SVN: r10008 - in trunk/sandbox: api/src/main/java/org/richfaces/event and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-08-10 09:18:54 -0400 (Sun, 10 Aug 2008)
New Revision: 10008
Removed:
trunk/sandbox/api/src/main/java/org/richfaces/event/extdt/
trunk/sandbox/api/src/main/java/org/richfaces/model/
trunk/sandbox/api/src/main/resources/org/richfaces/sandbox/messages/Messages.properties
trunk/sandbox/api/src/main/resources/org/richfaces/sandbox/messages/Messages_de.properties
trunk/sandbox/api/src/main/resources/org/richfaces/sandbox/messages/Messages_en.properties
trunk/sandbox/api/src/main/resources/org/richfaces/sandbox/messages/Messages_pl.properties
trunk/sandbox/samples/extendedDataTable-sample/
trunk/sandbox/ui/extendedDataTable/
Modified:
trunk/sandbox/ui/pom.xml
Log:
Extended data table moved to main build
Deleted: trunk/sandbox/api/src/main/resources/org/richfaces/sandbox/messages/Messages.properties
===================================================================
--- trunk/sandbox/api/src/main/resources/org/richfaces/sandbox/messages/Messages.properties 2008-08-10 13:14:19 UTC (rev 10007)
+++ trunk/sandbox/api/src/main/resources/org/richfaces/sandbox/messages/Messages.properties 2008-08-10 13:18:54 UTC (rev 10008)
@@ -1,10 +0,0 @@
-# components
-org.richfaces.component.UIExtendedDataTable.Menu.Columns=Columns de
-org.richfaces.component.UIExtendedDataTable.Menu.SortAscending=Sort Ascending de
-org.richfaces.component.UIExtendedDataTable.Menu.SortDescending=Sort Descending de
-org.richfaces.component.UIExtendedDataTable.Menu.GroupByColumn=Group by this column de
-org.richfaces.component.UIExtendedDataTable.Menu.DisableGrouping=Disable Grouping de
-
-# converters
-
-# validators
Deleted: trunk/sandbox/api/src/main/resources/org/richfaces/sandbox/messages/Messages_de.properties
===================================================================
--- trunk/sandbox/api/src/main/resources/org/richfaces/sandbox/messages/Messages_de.properties 2008-08-10 13:14:19 UTC (rev 10007)
+++ trunk/sandbox/api/src/main/resources/org/richfaces/sandbox/messages/Messages_de.properties 2008-08-10 13:18:54 UTC (rev 10008)
@@ -1,10 +0,0 @@
-# components
-org.richfaces.component.UIExtendedDataTable.Menu.Columns=Columns de
-org.richfaces.component.UIExtendedDataTable.Menu.SortAscending=Sort Ascending de
-org.richfaces.component.UIExtendedDataTable.Menu.SortDescending=Sort Descending de
-org.richfaces.component.UIExtendedDataTable.Menu.GroupByColumn=Group by this column de
-org.richfaces.component.UIExtendedDataTable.Menu.DisableGrouping=Disable Grouping de
-
-# converters
-
-# validators
Deleted: trunk/sandbox/api/src/main/resources/org/richfaces/sandbox/messages/Messages_en.properties
===================================================================
--- trunk/sandbox/api/src/main/resources/org/richfaces/sandbox/messages/Messages_en.properties 2008-08-10 13:14:19 UTC (rev 10007)
+++ trunk/sandbox/api/src/main/resources/org/richfaces/sandbox/messages/Messages_en.properties 2008-08-10 13:18:54 UTC (rev 10008)
@@ -1,10 +0,0 @@
-# components
-org.richfaces.component.UIExtendedDataTable.Menu.Columns=Columns
-org.richfaces.component.UIExtendedDataTable.Menu.SortAscending=Sort Ascending
-org.richfaces.component.UIExtendedDataTable.Menu.SortDescending=Sort Descending
-org.richfaces.component.UIExtendedDataTable.Menu.GroupByColumn=Group by this column
-org.richfaces.component.UIExtendedDataTable.Menu.DisableGrouping=Disable Grouping
-
-# converters
-
-# validators
Deleted: trunk/sandbox/api/src/main/resources/org/richfaces/sandbox/messages/Messages_pl.properties
===================================================================
--- trunk/sandbox/api/src/main/resources/org/richfaces/sandbox/messages/Messages_pl.properties 2008-08-10 13:14:19 UTC (rev 10007)
+++ trunk/sandbox/api/src/main/resources/org/richfaces/sandbox/messages/Messages_pl.properties 2008-08-10 13:18:54 UTC (rev 10008)
@@ -1,10 +0,0 @@
-# components
-org.richfaces.component.UIExtendedDataTable.Menu.Columns=Kolumny
-org.richfaces.component.UIExtendedDataTable.Menu.SortAscending=Sortuj Rosn\u0105co
-org.richfaces.component.UIExtendedDataTable.Menu.SortDescending=Sortuj malej\u0105co
-org.richfaces.component.UIExtendedDataTable.Menu.GroupByColumn=Grupuj po kolumnie
-org.richfaces.component.UIExtendedDataTable.Menu.DisableGrouping=Wy\u0142\u0105cz grupowanie
-
-# converters
-
-# validators
Modified: trunk/sandbox/ui/pom.xml
===================================================================
--- trunk/sandbox/ui/pom.xml 2008-08-10 13:14:19 UTC (rev 10007)
+++ trunk/sandbox/ui/pom.xml 2008-08-10 13:18:54 UTC (rev 10008)
@@ -18,6 +18,5 @@
<module>rex-messageBox</module>
<!--module>rex-button</module-->
<module>sortableHeader</module>
- <module>extendedDataTable</module>
</modules>
</project>
\ No newline at end of file
16 years, 5 months
JBoss Rich Faces SVN: r10007 - in trunk/docs/userguide: en/src/main/docbook and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-08-10 09:14:19 -0400 (Sun, 10 Aug 2008)
New Revision: 10007
Modified:
trunk/docs/userguide/en/src/main/docbook/included/extendedDataTable.xml
trunk/docs/userguide/en/src/main/docbook/master.xml
trunk/docs/userguide/pom.xml
Log:
Extended data table moved to main build
Modified: trunk/docs/userguide/en/src/main/docbook/included/extendedDataTable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/extendedDataTable.xml 2008-08-10 13:13:08 UTC (rev 10006)
+++ trunk/docs/userguide/en/src/main/docbook/included/extendedDataTable.xml 2008-08-10 13:14:19 UTC (rev 10007)
@@ -318,7 +318,7 @@
</itemizedlist>
</section>
- <section id="SPR">
+ <section id="ExtSPR">
<title>Skin Parameters Redefinition</title>
<table>
@@ -439,7 +439,7 @@
</section>
- <section id="DofCCS">
+ <section id="ExtDofCCS">
<title>Definition of Custom Style Classes</title>
<para>On the screenshot there are classes names that define styles for component elements.</para>
@@ -453,7 +453,7 @@
</mediaobject>
</figure>
- <table id="dTC">
+ <table id="ExtdTC">
<title>Classes names that define a whole component appearance</title>
<tgroup cols="2">
<thead>
Modified: trunk/docs/userguide/en/src/main/docbook/master.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/master.xml 2008-08-10 13:13:08 UTC (rev 10006)
+++ trunk/docs/userguide/en/src/main/docbook/master.xml 2008-08-10 13:14:19 UTC (rev 10007)
@@ -11,6 +11,7 @@
<!ENTITY rfcidesupport SYSTEM "modules/RFCidesupport.xml">
<!ENTITY rfclinks SYSTEM "modules/RFClinks.xml">
<!--ENTITY richfaces_table SYSTEM "../../../target/generated/rich.xml"-->
+ <!ENTITY extendedDataTable_table SYSTEM "../../../target/generated/extendedDataTable.xml">
<!ENTITY dataFilterSlider_table SYSTEM "../../../target/generated/dataFilterSlider.xml">
<!ENTITY dataScroller_table SYSTEM "../../../target/generated/datascroller.xml">
<!ENTITY dataTable_table SYSTEM "../../../target/generated/dataTable.xml">
@@ -107,6 +108,7 @@
&dataTable_table;
&dnd_table;
&dropDownMenu_table;
+&extendedDataTable_table;
&menuComponents_table;
&effect_table;
&fileUpload_table;
Modified: trunk/docs/userguide/pom.xml
===================================================================
--- trunk/docs/userguide/pom.xml 2008-08-10 13:13:08 UTC (rev 10006)
+++ trunk/docs/userguide/pom.xml 2008-08-10 13:14:19 UTC (rev 10007)
@@ -94,6 +94,18 @@
org.richfaces.ui
</groupId>
<artifactId>
+ extendedDataTable
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+
+ <artifactItem>
+ <groupId>
+ org.richfaces.ui
+ </groupId>
+ <artifactId>
fileUpload
</artifactId>
<version>
16 years, 5 months
JBoss Rich Faces SVN: r10006 - in trunk/samples: glassX and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-08-10 09:13:08 -0400 (Sun, 10 Aug 2008)
New Revision: 10006
Modified:
trunk/samples/beanValidatorSample/
trunk/samples/glassX/
Log:
Service folders svn:ignored
Property changes on: trunk/samples/beanValidatorSample
___________________________________________________________________
Name: svn:ignore
+ target
.classpath
.project
.settings
Property changes on: trunk/samples/glassX
___________________________________________________________________
Name: svn:ignore
- target
+ target
.classpath
.project
.settings
16 years, 5 months
JBoss Rich Faces SVN: r10005 - in trunk/samples/extendedDataTable-sample/src/main/resources: i18n and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-08-10 09:11:49 -0400 (Sun, 10 Aug 2008)
New Revision: 10005
Added:
trunk/samples/extendedDataTable-sample/src/main/resources/i18n/
trunk/samples/extendedDataTable-sample/src/main/resources/i18n/messages.properties
trunk/samples/extendedDataTable-sample/src/main/resources/i18n/messages_en.properties
trunk/samples/extendedDataTable-sample/src/main/resources/i18n/messages_pl.properties
Log:
Extended data table moved to main build
Added: trunk/samples/extendedDataTable-sample/src/main/resources/i18n/messages.properties
===================================================================
--- trunk/samples/extendedDataTable-sample/src/main/resources/i18n/messages.properties (rev 0)
+++ trunk/samples/extendedDataTable-sample/src/main/resources/i18n/messages.properties 2008-08-10 13:11:49 UTC (rev 10005)
@@ -0,0 +1,16 @@
+demo.title=Extended data table demonstration
+patient.firstName=First name
+patient.id=Id
+patient.lastName=Last name
+patient.admissionDate=Admission date
+table.width=Width
+table.height=Height
+table.update=Update values
+table.sortMode=Sort mode
+table.selectionMode=Selection mode
+table.patientsNumber=Number of patients
+table.testComponentState=Test component state
+table.back=Back
+demo.testPageTitle=Component state test page
+table.paginated=Enable paginator
+table.rowsNumber=Number of rows
Added: trunk/samples/extendedDataTable-sample/src/main/resources/i18n/messages_en.properties
===================================================================
--- trunk/samples/extendedDataTable-sample/src/main/resources/i18n/messages_en.properties (rev 0)
+++ trunk/samples/extendedDataTable-sample/src/main/resources/i18n/messages_en.properties 2008-08-10 13:11:49 UTC (rev 10005)
@@ -0,0 +1,16 @@
+demo.title=Extended data table demonstration
+patient.firstName=First name
+patient.id=Id
+patient.lastName=Last name
+patient.admissionDate=Admission date
+table.width=Width
+table.height=Height
+table.update=Update values
+table.sortMode=Sort mode
+table.selectionMode=Selection mode
+table.patientsNumber=Number of patients
+table.testComponentState=Test component state
+table.back=Back
+demo.testPageTitle=Component state test page
+table.paginated=Enable paginator
+table.rowsNumber=Number of rows
Added: trunk/samples/extendedDataTable-sample/src/main/resources/i18n/messages_pl.properties
===================================================================
--- trunk/samples/extendedDataTable-sample/src/main/resources/i18n/messages_pl.properties (rev 0)
+++ trunk/samples/extendedDataTable-sample/src/main/resources/i18n/messages_pl.properties 2008-08-10 13:11:49 UTC (rev 10005)
@@ -0,0 +1,16 @@
+demo.title=Extended data table demonstration
+patient.firstName=First name
+patient.id=Id
+patient.lastName=Last name
+patient.admissionDate=Admission date
+table.width=Width
+table.height=Height
+table.update=Update values
+table.sortMode=Sort mode
+table.selectionMode=Selection mode
+table.patientsNumber=Number of patients
+table.testComponentState=Test component state
+table.back=Back
+demo.testPageTitle=Component state test page
+table.paginated=Enable paginator
+table.rowsNumber=Number of rows
16 years, 5 months