[jboss-cvs] jboss-seam/examples/wiki/resources ...
Christian Bauer
christian.bauer at jboss.com
Thu Feb 1 02:08:28 EST 2007
User: cbauer
Date: 07/02/01 02:08:28
Added: examples/wiki/resources messages_en.properties
components.properties import-prod.sql
wiki-dev-ds.xml seam.properties import.sql
import-dev.sql wiki-prod-ds.xml
Log:
Committed first (broken) wiki implementation
Revision Changes Path
1.1 date: 2007/02/01 07:08:28; author: cbauer; state: Exp;jboss-seam/examples/wiki/resources/messages_en.properties
Index: messages_en.properties
===================================================================
up=\u2191
down=\u2193
left=\u2039
right=\u203A
validator.assertFalse=validation failed
validator.assertTrue=validation failed
validator.future=must be a future date
validator.length=length must be between {min} and {max}
validator.max=must be less than or equal to {value}
validator.min=must be greater than or equal to {value}
validator.notNull=may not be null
validator.past=must be a past date
validator.pattern=must match "{regex}"
validator.range=must be between {min} and {max}
validator.size=size must be between {min} and {max}
validator.email=must be a well-formed email address
org.jboss.seam.TransactionFailed=Transaction failed
org.jboss.seam.NoConversation=The conversation ended, timed out or was processing another request
org.jboss.seam.IllegalNavigation=Illegal navigation
org.jboss.seam.ProcessEnded=Process #0 already ended
org.jboss.seam.ProcessNotFound=Process #0 not found
org.jboss.seam.TaskEnded=Task #0 already ended
org.jboss.seam.TaskNotFound=Task #0 not found
javax.faces.component.UIInput.CONVERSION=value could not be converted to the expected type
javax.faces.component.UIInput.REQUIRED=value is required
javax.faces.component.UIInput.UPDATE=an error occurred when processing your submitted information
javax.faces.component.UISelectOne.INVALID=value is not valid
javax.faces.component.UISelectMany.INVALID=value is not valid
javax.faces.converter.BigDecimalConverter.DECIMAL=value must be a number
javax.faces.converter.BigDecimalConverter.DECIMAL_detail=value must be a signed decimal number consisting of zero or more digits, optionally followed by a decimal point and fraction, eg. {1}
javax.faces.converter.BigIntegerConverter.BIGINTEGER=value must be a number
javax.faces.converter.BigIntegerConverter.BIGINTEGER_detail=value must be a signed integer number consisting of zero or more digits
javax.faces.converter.BooleanConverter.BOOLEAN=value must be true or false
javax.faces.converter.BooleanConverter.BOOLEAN_detail=value must be true or false (any value other than true will evaluate to false)
javax.faces.converter.ByteConverter.BYTE=value must be a number between 0 and 255
javax.faces.converter.ByteConverter.BYTE_detail=value must be a number between 0 and 255
javax.faces.converter.CharacterConverter.CHARACTER=value must be a character
javax.faces.converter.CharacterConverter.CHARACTER_detail=value must be a valid ASCII character
javax.faces.converter.DateTimeConverter.DATE=value must be a date
javax.faces.converter.DateTimeConverter.DATE_detail=value must be a date, eg. {1}
javax.faces.converter.DateTimeConverter.TIME=value must be a time
javax.faces.converter.DateTimeConverter.TIME_detail=value must be a time, eg. {1}
javax.faces.converter.DateTimeConverter.DATETIME=value must be a date and time
javax.faces.converter.DateTimeConverter.DATETIME_detail=value must be a date and time, eg. {1}
javax.faces.converter.DateTimeConverter.PATTERN_TYPE=a pattern or type attribute must be specified to convert the value
javax.faces.converter.DoubleConverter.DOUBLE=value must be a number
javax.faces.converter.DoubleConverter.DOUBLE_detail=value must be a number between 4.9E-324 and 1.7976931348623157E308
javax.faces.converter.EnumConverter.ENUM=value must be convertible to an enum
javax.faces.converter.EnumConverter.ENUM_detail=value must be convertible to an enum or from the enum that contains the constant {1}
javax.faces.converter.EnumConverter.ENUM_NO_CLASS=value must be convertible to an enum or from the enum, but no enum class provided
javax.faces.converter.EnumConverter.ENUM_NO_CLASS_detail=value must be convertible to an enum or from the enum, but no enum class provided
javax.faces.converter.FloatConverter.FLOAT=value must be a number
javax.faces.converter.FloatConverter.FLOAT_detail=value must be a number between 1.4E-45 and 3.4028235E38
javax.faces.converter.IntegerConverter.INTEGER=value must be a number
javax.faces.converter.IntegerConverter.INTEGER_detail=value must be a number between -2147483648 and 2147483647
javax.faces.converter.LongConverter.LONG=value must be a number
javax.faces.converter.LongConverter.LONG_detail=must be a number between -9223372036854775808 and 9223372036854775807
javax.faces.converter.NumberConverter.CURRENCY=value must be a currency amount
javax.faces.converter.NumberConverter.CURRENCY_detail=value must be a currency amount, eg. {1}
javax.faces.converter.NumberConverter.PERCENT=value must be a percentage amount
javax.faces.converter.NumberConverter.PERCENT_detail=value must be a percentage amount, eg. {1}
javax.faces.converter.NumberConverter.NUMBER=value must be a number
javax.faces.converter.NumberConverter.NUMBER_detail=value must be a number
javax.faces.converter.NumberConverter.PATTERN=value must be a number
javax.faces.converter.NumberConverter.PATTERN_detail=value must be a number
javax.faces.converter.ShortConverter.SHORT=value must be a number
javax.faces.converter.ShortConverter.SHORT_detail=value must be a number between -32768 and 32767
javax.faces.validator.DoubleRangeValidator.MAXIMUM=value must be less than or equal to {0}
javax.faces.validator.DoubleRangeValidator.MINIMUM=value must be greater than or equal to {0}
javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE=value must be between {0} and {1}
javax.faces.validator.DoubleRangeValidator.TYPE=value is not of the correct type
javax.faces.validator.LengthValidator.MAXIMUM=value is must be shorter than or equal to {0} characters
javax.faces.validator.LengthValidator.MINIMUM=value is must be longer than or equal to {0} characters
javax.faces.validator.LongRangeValidator.MAXIMUM=value must be less than or equal to {0}
javax.faces.validator.LongRangeValidator.MINIMUM=value must be greater than or equal to {0}
javax.faces.validator.LongRangeValidator.NOT_IN_RANGE=value must be between {0} and {1}
javax.faces.validator.LongRangeValidator.TYPE=value is not of the correct type
javax.faces.validator.NOT_IN_RANGE=value must be between {0} and {1}
javax.faces.converter.STRING=value could not be converted to a string
1.1 date: 2007/02/01 07:08:28; author: cbauer; state: Exp;jboss-seam/examples/wiki/resources/components.properties
Index: components.properties
===================================================================
embeddedEjb true
jndiPattern #{ejbName}/local
1.1 date: 2007/02/01 07:08:28; author: cbauer; state: Exp;jboss-seam/examples/wiki/resources/import-prod.sql
<<Binary file>>
1.1 date: 2007/02/01 07:08:28; author: cbauer; state: Exp;jboss-seam/examples/wiki/resources/wiki-dev-ds.xml
Index: wiki-dev-ds.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>wikiDatasource</jndi-name>
<connection-url>jdbc:hsqldb:hsql://localhost</connection-url>
<driver-class>org.hsqldb.jdbcDriver</driver-class>
<user-name>sa</user-name>
<password></password>
<!--
<exception-sorter-class-name>
org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
</exception-sorter-class-name>
<metadata>
<type-mapping>mySQL</type-mapping>
</metadata>
-->
</local-tx-datasource>
</datasources>
1.1 date: 2007/02/01 07:08:28; author: cbauer; state: Exp;jboss-seam/examples/wiki/resources/seam.properties
<<Binary file>>
1.1 date: 2007/02/01 07:08:28; author: cbauer; state: Exp;jboss-seam/examples/wiki/resources/import.sql
<<Binary file>>
1.1 date: 2007/02/01 07:08:28; author: cbauer; state: Exp;jboss-seam/examples/wiki/resources/import-dev.sql
Index: import-dev.sql
===================================================================
//insert into DIRECTORY (DIR_ID, OBJ_VERSION, NAME, WIKINAME, PARENT_DIR_ID, DIR_POSITION, DEFAULT_DOCUMENT_ID) values (1, 1, 'This Is FooA', 'ThisIsFooA', null, null, null);
//insert into DIRECTORY (DIR_ID, OBJ_VERSION, NAME, WIKINAME, PARENT_DIR_ID, DIR_POSITION, DEFAULT_DOCUMENT_ID) values (2, 1, 'This Is FooB', 'ThisIsFooB', null, null, null);
//insert into DIRECTORY (DIR_ID, OBJ_VERSION, NAME, WIKINAME, PARENT_DIR_ID, DIR_POSITION, DEFAULT_DOCUMENT_ID) values (3, 1, 'This Is FooC', 'ThisIsFooC', null, null, null);
//insert into DOCUMENT (DOC_ID, OBJ_VERSION, NAME, WIKINAME, DIRECTORY_ID, DOC_POSITION, CONTENT) values (1, 1, 'This Is Document FooA1', 'ThisIsDocumentFooA1', 1, 0, 'This is /some/ *text*.');
//insert into FOO (ID, NAME, VERSION) values (1, 'Test', 0)
insert into NODE (NODE_ID, NODE_TYPE, AREA_NR, NODE_POSITION, DEFAULT_DOCUMENT_ID, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CREATED_ON) values (1, 'DIRECTORY', 1, 0, null, 0, 'ROOT', 'ROOT', false, '1976-06-26 11:11:11')
insert into NODE (NODE_ID, NODE_TYPE, AREA_NR, PARENT_NODE_ID, NODE_POSITION, DEFAULT_DOCUMENT_ID, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CREATED_ON, LAST_MODIFIED_ON) values (2, 'DIRECTORY', 2, 1, 0, null, 0, 'News', 'News', true, '2009-06-27 13:45:00', '2009-06-27 13:45:00' )
insert into NODE (NODE_ID, NODE_TYPE, AREA_NR, PARENT_NODE_ID, NODE_POSITION, DEFAULT_DOCUMENT_ID, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CREATED_ON, LAST_MODIFIED_ON) values (3, 'DIRECTORY', 3, 1, 1, null, 0, 'Documentation Area', 'DocumentationArea', true, '2009-06-27 13:45:00', '2009-06-27 13:45:00')
insert into NODE (NODE_ID, NODE_TYPE, AREA_NR, PARENT_NODE_ID, NODE_POSITION, DEFAULT_DOCUMENT_ID, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CREATED_ON, LAST_MODIFIED_ON) values (4, 'DIRECTORY', 4, 1, 2, null, 0, 'Download Overview', 'DownloadOverview', false, '2009-06-27 13:45:00', '2009-06-27 13:45:00')
insert into NODE (NODE_ID, NODE_TYPE, AREA_NR, PARENT_NODE_ID, NODE_POSITION, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CONTENT, CREATED_ON, LAST_MODIFIED_ON) values (5, 'DOCUMENT', 2, 2, 0, 0, 'Welcome!', 'Welcome', false, '[A link=>wiki://6] to some page, a [broken=>wiki://123], a normal link [=>wiki://7] and finally [=>Some page that does not exist].', '2009-06-27 13:45:00', '2009-06-27 13:45:00')
insert into NODE (NODE_ID, NODE_TYPE, AREA_NR, PARENT_NODE_ID, NODE_POSITION, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CONTENT, CREATED_ON, LAST_MODIFIED_ON) values (6, 'DOCUMENT', 2, 2, 1, 0, 'Foo', 'Foo', true, 'Welcome *to the* /Wiki/!', '2009-06-27 13:45:00', '2009-06-27 13:45:00')
insert into NODE (NODE_ID, NODE_TYPE, AREA_NR, PARENT_NODE_ID, NODE_POSITION, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CONTENT, CREATED_ON, LAST_MODIFIED_ON) values (7, 'DOCUMENT', 2, 2, 2, 0, 'Bar', 'Bar', true, 'Welcome *to the* /Wiki/!', '2009-06-27 13:45:00', '2009-06-27 13:45:00')
insert into NODE (NODE_ID, NODE_TYPE, AREA_NR, PARENT_NODE_ID, NODE_POSITION, DEFAULT_DOCUMENT_ID, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CREATED_ON, LAST_MODIFIED_ON) values (8, 'DIRECTORY', 3, 3, 0, null, 0, 'FAQ', 'FAQ', true, '2009-06-27 13:45:00', '2009-06-27 13:45:00')
insert into NODE (NODE_ID, NODE_TYPE, AREA_NR, PARENT_NODE_ID, NODE_POSITION, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CONTENT, CREATED_ON, LAST_MODIFIED_ON) values (9, 'DOCUMENT', 3, 3, 1, 0, 'FooBar', 'FooBar', true, 'Another one', '2009-06-27 13:45:00', '2009-06-27 13:45:00')
insert into NODE (NODE_ID, NODE_TYPE, AREA_NR, PARENT_NODE_ID, NODE_POSITION, OBJ_VERSION, NAME, WIKINAME, MENU_ITEM, CONTENT, CREATED_ON, LAST_MODIFIED_ON) values (10, 'DOCUMENT', 3, 8, 0, 0, 'An FAQ Page', 'AnFAQPage', true, 'FAQ!', '2009-06-27 13:45:00', '2009-06-27 13:45:00')
1.1 date: 2007/02/01 07:08:28; author: cbauer; state: Exp;jboss-seam/examples/wiki/resources/wiki-prod-ds.xml
Index: wiki-prod-ds.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>wikiDatasource</jndi-name>
<connection-url>jdbc:hsqldb:hsql://localhost</connection-url>
<driver-class>org.hsqldb.jdbcDriver</driver-class>
<user-name>sa</user-name>
<password></password>
<!--
<exception-sorter-class-name>
org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
</exception-sorter-class-name>
<metadata>
<type-mapping>mySQL</type-mapping>
</metadata>
-->
</local-tx-datasource>
</datasources>
More information about the jboss-cvs-commits
mailing list