[jboss-cvs] jboss-seam/trinidad/examples/seamdiscs/resources ...
Peter Muir
peter at bleepbleep.org.uk
Sun Apr 15 13:45:42 EDT 2007
User: pmuir
Date: 07/04/15 13:45:42
Added: trinidad/examples/seamdiscs/resources
import-dev.sql import-prod.sql import-test.sql
seamdiscs-prod-ds.xml security.drl
messages_en.properties seam-gen.reveng.xml
seam.properties components.properties
seamdiscs-dev-ds.xml
Log:
JBSEAM-757, move Trinidad example to trinidad directory
Revision Changes Path
1.1 date: 2007/04/15 17:45:42; author: pmuir; state: Exp;jboss-seam/trinidad/examples/seamdiscs/resources/import-dev.sql
Index: import-dev.sql
===================================================================
insert into artist (dtype,name, description) values ('Band', 'Pink Floyd', 'A leading prog rock band hailing from England, Pink Floyd had a varied line up, perhaps most affected by the sad loss of Sid Barret to drugs')
insert into artist (dtype,name, description) values ('Band', 'Fairport Convention', 'The first band to do folk-rock in the UK, Fairport Convention shaped British music for a decade')
insert into artist (dtype,name, description) values ('Artist', 'Bob Dylan', 'Bob Dylan grew out of the US folk scene and was considered *Woodie Guthries* successor by many. Famously he was involved in the civil rights movement, writing and singing protest songs. At the /1965 Newport Folk Festival/ Dylan /went electric/, heralding a new (and, in many critics eyes, lesser) period. Famously, folk luminary, /Pete Seeger/ stormed out.')
insert into artist (dtype,name, description) values ('Band', 'Led Zepplin', 'A British rock band of the 1970s')
insert into artist (dtype, name, description) values ('Artist', 'Ry Cooder', '/Ry Cooder/ has had a very varied career. He came to mainstream attention with the *Buena Vista Social Club* album, which lead to greater interest in Cuban music. His latest album follows /Buddy/, a cat, travelling around the US')
insert into artist (dtype,name,description) values ('Artist', 'Richard Thompson', 'Voted one of the top 50 guitarists ever, /Richard Thompson/ is one of the unsung stars of the last 30 years. First playing with /Fairport Convention/, he then dueted with his wife /Linda/, splitting in the mid 80s. Since then he has been recording and playing as a solo artist, sometimes with a backing band, and, more often than not, with the incomprable /Danny Thompson/ on bass.')
insert into artist (dtype,name,description) values ('Band', 'Capercaillie', '/Capercaillie/ were the first to take traditional and Celtic music and give it a *groove*. Highly successful, the members are now pursuing side projects - both /Karen Mathieson/ and /Mike McGoldrick/ have solo albums out.')
insert into disc (name, artist_id, description) values ('Dark Side of the Moon', 1, 'The definitive Pink Floyd album')
insert into disc (name, artist_id, description) values ('Liege and Lief', 2, 'The *first* folk-rock album ever made in the UK, this was the only studio recording of the classic line up of /Sandy Denny/, /Richard Thompson/, /Dave Swarbick/, /Ashley Hutchings/ and /Simon Nicol/')
insert into disc (name, artist_id) values ('The Wall', 1)
insert into disc (name, artist_id) values ('The Freewheelin Bob Dylan', 3)
insert into disc (name, artist_id, release) values ('Blood on the Tracks', 3, '1975-01-01')
insert into disc (name, artist_id) values ('Desire', 3)
insert into disc (name, artist_id) values ('Led Zepplin 1', 4)
insert into disc (name, artist_id, description) values ('Buena Vista Social Club', 5, 'This album brough Cuban music to the attention of the world')
insert into disc (name, artist_id, description) values ('Chavez Ravine', 5, 'Written about /Ry Cooder/ birthplace')
insert into disc (name, artist_id, release, description) values ('My Name is Buddy', 5, '2007-01-01', 'Follows Buddy the Cat as he explores the USA')
insert into disc (name, artist_id) values ('Mock Tudor', 6)
insert into disc (name, artist_id) values ('Front Parlour Ballads', 6)
insert into bandmember (name, band_id) values ('Syd Barett', 1)
insert into bandmember (name, band_id) values ('David Gilmor', 1)
insert into bandmember (name, band_id) values ('Roger Waters', 1)
insert into bandmember (name, band_id) values ('Richard Thompson', 2)
insert into bandmember (name, band_id) values ('Sandy Denny', 2)
insert into bandmember (name, band_id) values ('Dave Pegg', 2)
insert into bandmember (name, band_id) values ('Ashley Hutchings', 2)
insert into bandmember (name, band_id) values ('Simon Nicol', 2)
insert into bandmember (name, band_id) values ('Dave Swarbick', 2)
insert into bandmember (name, band_id) values ('Rick Sanders', 2)
insert into bandmember (name, band_id) values ('Chris Leslie', 2)
insert into bandmember (name, band_id) values ('Maart Alcock', 2)
insert into bandmember (name, band_id) values ('Karen Mathieson', 7)
insert into bandmember (name, band_id) values ('Mike McGoldrick', 7)
insert into bandmember (name, band_id) values ('Charlie', 7)
insert into user (username, password) values ('administrator', 'administrator')
1.1 date: 2007/04/15 17:45:42; author: pmuir; state: Exp;jboss-seam/trinidad/examples/seamdiscs/resources/import-prod.sql
<<Binary file>>
1.1 date: 2007/04/15 17:45:42; author: pmuir; state: Exp;jboss-seam/trinidad/examples/seamdiscs/resources/import-test.sql
<<Binary file>>
1.1 date: 2007/04/15 17:45:42; author: pmuir; state: Exp;jboss-seam/trinidad/examples/seamdiscs/resources/seamdiscs-prod-ds.xml
Index: seamdiscs-prod-ds.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>seamdiscsDatasource</jndi-name>
<connection-url>jdbc:hsqldb:.</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/04/15 17:45:42; author: pmuir; state: Exp;jboss-seam/trinidad/examples/seamdiscs/resources/security.drl
Index: security.drl
===================================================================
package Permissions;
import java.security.Principal;
import org.jboss.seam.security.PermissionCheck;
import org.jboss.seam.security.Role;
1.1 date: 2007/04/15 17:45:42; author: pmuir; state: Exp;jboss-seam/trinidad/examples/seamdiscs/resources/messages_en.properties
Index: messages_en.properties
===================================================================
org.jboss.seam.example.seamdiscs.model.Artist=Solo Artist
org.jboss.seam.example.seamdiscs.model.Band=Band
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.loginFailed=Login failed
org.jboss.seam.loginSuccessful=Welcome, #0
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
org.jboss.seam.NotLoggedIn=Please log in first
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 an integer
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 an integer
javax.faces.converter.IntegerConverter.INTEGER_detail=value must be an integer number between -2147483648 and 2147483647
javax.faces.converter.LongConverter.LONG=value must be an integer
javax.faces.converter.LongConverter.LONG_detail=must be an integer 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 an integer
javax.faces.converter.ShortConverter.SHORT_detail=value must be an integer 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
#JSF 1.1:
javax.faces.convert.BigDecimalConverter.CONVERSION value must be a number
javax.faces.convert.BigDecimalConverter.CONVERSION_detail value must be a number
javax.faces.convert.BigIntegerConverter.CONVERSION value must be an integre
javax.faces.convert.BigIntegerConverter.CONVERSION_detail value must be a number
javax.faces.convert.BooleanConverter.CONVERSION value must be true or false
javax.faces.convert.BooleanConverter.CONVERSION_detail value must be true or false
javax.faces.convert.ByteConverter.CONVERSION value must be a byte
javax.faces.convert.ByteConverter.CONVERSION_detail value must be a byte
javax.faces.convert.CharacterConverter.CONVERSION value must be a character
javax.faces.convert.CharacterConverter.CONVERSION_detail value must be a character
javax.faces.convert.DateTimeConverter.CONVERSION value must be a datetime
javax.faces.convert.DateTimeConverter.CONVERSION_detail value must be a datetime
javax.faces.convert.DoubleConverter.CONVERSION value must be a number
javax.faces.convert.DoubleConverter.CONVERSION_detail value must be a number
javax.faces.convert.FloatConverter.CONVERSION value must be a number
javax.faces.convert.FloatConverter.CONVERSION_detail value must be a number
javax.faces.convert.IntegerConverter.CONVERSION value must be an integer
javax.faces.convert.IntegerConverter.CONVERSION_detail value must be an integer
javax.faces.convert.LongConverter.CONVERSION value must be an integer
javax.faces.convert.LongConverter.CONVERSION_detail value must be a long integer
javax.faces.convert.NumberConverter.CONVERSION value must be a number
javax.faces.convert.NumberConverter.CONVERSION_detail value must be a number
javax.faces.convert.ShortConverter.CONVERSION value must be an integer
javax.faces.convert.ShortConverter.CONVERSION_detail value must be a short integer
descriptionError=Less than #{disc.name}
1.1 date: 2007/04/15 17:45:42; author: pmuir; state: Exp;jboss-seam/trinidad/examples/seamdiscs/resources/seam-gen.reveng.xml
Index: seam-gen.reveng.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-reverse-engineering SYSTEM "http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd" >
<hibernate-reverse-engineering>
<!-- This file is intentionally generated empty by seam-gen -->
<!-- You can add any filtering/setup you want for your app -->
</hibernate-reverse-engineering>
1.1 date: 2007/04/15 17:45:42; author: pmuir; state: Exp;jboss-seam/trinidad/examples/seamdiscs/resources/seam.properties
<<Binary file>>
1.1 date: 2007/04/15 17:45:42; author: pmuir; state: Exp;jboss-seam/trinidad/examples/seamdiscs/resources/components.properties
Index: components.properties
===================================================================
embeddedEjb true
jndiPattern \#{ejbName}/local
debug true
1.1 date: 2007/04/15 17:45:42; author: pmuir; state: Exp;jboss-seam/trinidad/examples/seamdiscs/resources/seamdiscs-dev-ds.xml
Index: seamdiscs-dev-ds.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>seamdiscsDatasource</jndi-name>
<connection-url>jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}seamdiscs-dev</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>
<mbean code="org.jboss.jdbc.HypersonicDatabase"
name="jboss:service=Hypersonic,database=seamdiscs-dev">
<attribute name="Database">seamdiscs-dev</attribute>
<attribute name="InProcessMode">true</attribute>
</mbean>
</datasources>
More information about the jboss-cvs-commits
mailing list